From: Yogesh Bhanu <yogesh@gsf.de>
Subject: g++ version 3.0.4
Date: Wed, 03 Jul 2002 14:11:13 +0200 [thread overview]
Message-ID: <3D22E9E1.6010104@gsf.de> (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
reply other threads:[~2002-07-03 12:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox