Problem while linking with g++ On HPUX 11

Rajesh Mhapankar ugtech@bom3.vsnl.net.in
Wed Aug 23 22:52:00 GMT 2000


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



More information about the Gcc-bugs mailing list