egcs-1.1.2 and ld problem on alpha-osf1-4.0
Herve Lehoux
hlehoux@ADWAYS.com
Thu Apr 1 04:19:00 GMT 1999
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
More information about the Gcc-bugs
mailing list