This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-1.1.2 and ld problem on alpha-osf1-4.0


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]