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