This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem while linking with g++ On HPUX 11


Hi,
 
I am facing some problem with g++ 2.9.5.2 on HP-UX 11.
Here is a small code
 
#include <vector>
int main()
{
   std::vector<int> iVec;
}
When I link this program I am getting following Link time errors.
 
bash-2.04$ g++ -D_PTHREADS -o hpbug test.c -lpthread -L
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/libstdc++.a
/usr/bin/ld: Unsatisfied symbols:
   __default_alloc_template<true, 0>::_S_free_list(data)
   __default_alloc_template<true, 0>::_S_node_allocator_lock(data)
collect2: ld returned 1 exit status

I could not locate "_S_node_allocator_lock" in any of the gcc libraries.
Is this a bug on gcc on HP-UX ?
 
Please help This is very urgent

Rajesh



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]