[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ns-2 compilation with "gcc"



On Wed, 04 Nov 1998 10:27:02 EST, Yu-Kung Ke wrote: 
>  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.

All of these messages seem to be releated to files that have nothing
to do with ns---it looks like the problem is on your system.

   -John Heidemann


>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'
>