This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-1.1.2 and ld problem on alpha-osf1-4.0
- To: "'egcs-bugs at egcs dot cygnus dot com'" <egcs-bugs at egcs dot cygnus dot com>
- Subject: egcs-1.1.2 and ld problem on alpha-osf1-4.0
- From: Herve Lehoux <hlehoux at ADWAYS dot com>
- Date: Thu, 1 Apr 1999 13:23:18 +0100
Hello,
with egcs-1.1.2, i can't link with libstdc++.a on osf1-4.0b : ld
complains
about multiply defines in libstdc++.a
anyone have solved this problem ?
thanks in advance.
here is what ld says :
ld -o Build/lib/alpha_osf1_4.0_egcs/libtools.so~ \
-shared \
xxx.o ... \
-LBuild/lib/alpha_osf1_4.0_egcs \
-l<the libraries>
ld:
/usr/local/lib/libstdc++.a(iostream.o): __ls__7ostreami: multiply
defined
/usr/local/lib/libstdc++.a(iostream.o): __ls__7ostreamUi: multiply
defined
/usr/local/lib/libstdc++.a(iostream.o): __ls__7ostreamPCc: multiply
defined
/usr/local/lib/libstdc++.a(iostream.o): endl__FR7ostream: multiply
defined
/usr/local/lib/libstdc++.a(iostream.o):
__ls__7ostreamPFR7ostream_R7ostream: multiply defined
/usr/local/lib/libstdc++.a(stdstreams.o): cout: multiply defined
/usr/local/lib/libstdc++.a(stdstreams.o): cerr: multiply defined