* g++ version 3.0.4
@ 2002-07-03 12:11 Yogesh Bhanu
0 siblings, 0 replies; only message in thread
From: Yogesh Bhanu @ 2002-07-03 12:11 UTC (permalink / raw)
Hi admins,
One of our programmers is following error at linking when he
tries to compile his program using g++ 3.0.4.
The system is Tru64 5.1a patch kit 2. Note that program does compile
with cxx 6.3008
The output is something like this .
#########################################################
g++ -I. -I. -g -O2 -g0 -O3 -c jwstring.cpp
g++ -g -O2 -g0 -O3 -o f3si f3si_prog.o jwstring.o
/usr/bin/ld:
jwstring.o: std::__default_alloc_template<true, 0>::_S_free_list :
weak symbol multiply defined
jwstring.o: std::__default_alloc_template<true,
0>::_S_node_allocator_lock : weak symbol multiply defined
jwstring.o: std::allocator<char>::~allocator(): weak symbol multiply defined
jwstring.o: std::string::_Alloc_hider::~_Alloc_hider(): weak symbol
multiply defined
jwstring.o: std::__default_alloc_template<true, 0>::deallocate(void*,
unsigned long): weak symbol multiply defined
jwstring.o: typeinfo for std::out_of_range: weak symbol multiply defined
jwstring.o: std::__default_alloc_template<true, 0>::_Lock::~_Lock():
weak symbol multiply defined
########################################
Any pointers to fix the linking problem.
Thanks in advance
yogesh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-03 12:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-03 12:11 g++ version 3.0.4 Yogesh Bhanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox