[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ns-2 compilation with "gcc"
Hi, everyone
I have been trying to compile ns-2 module with gcc compiler.
I got some error message. Can anyone tell me how I can overcome these
problems.
Thx.
error messages--->
ld: fatal: symbol `__default_unexpected__Fv' is multiply defined:
(file /usr/local/lib/libstdc++.a(exceptioni.o) and file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
ld: fatal: symbol `terminate__Fv' is multiply defined:
(file /usr/local/lib/libstdc++.a(exceptioni.o) and file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
ld: fatal: symbol `set_terminate__FPFv_v' is multiply defined:
(file /usr/local/lib/libstdc++.a(exceptioni.o) and file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
ld: fatal: symbol `set_unexpected__FPFv_v' is multiply defined:
(file /usr/local/lib/libstdc++.a(exceptioni.o) and file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
ld: fatal: symbol `unexpected__Fv' is multiply defined:
(file /usr/local/lib/libstdc++.a(exceptioni.o) and file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
ld: fatal: File processing errors. No output written to ns
*** Error code 1
make: Fatal error: Command failed for target `ns'