[Mono-list] multiple definitions of symbol ___freedtoa

Andreas Färber andreas.faerber at web.de
Thu Sep 27 11:08:35 EDT 2007


Hi,

Am 27.09.2007 um 16:40 schrieb Martin Trejo:

> I'm compiling from svn on a macintel and getting this errror:  
> multiple definitions of symbol ___freedtoa
>
> the output of compiling is this:
>
> /bin/sh ../../libtool --mode=link gcc  -g -O2 -fno-strict-aliasing - 
> g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations - 
> Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer- 
> arith -Wno-cast-qual -Wcast-align -Wwrite-strings  -pthread -o  
> pedump  pedump.o libmonoruntime.la ../io-layer/libwapi.la ../utils/ 
> libmonoutils.la ../../libgc/libmonogc.la -L/opt/local/lib -  
> lgthread-2.0 -lglib-2.0 -lintl -liconv   -lm -lpthread -lm
> gcc -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing- 
> prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing- 
> prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast- 
> align -Wwrite-strings -pthread -o pedump pedump.o  ./.libs/ 
> libmonoruntime.a ../io-layer/.libs/libwapi.a ../utils/.libs/ 
> libmonoutils.a ../../libgc/.libs/libmonogc.a -L/opt/local/lib /opt/ 
> local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib / 
> opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib - 
> lpthread -lm
> i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
> /usr/bin/ld: warning multiple definitions of symbol ___freedtoa
> ../utils/.libs/libmonoutils.a(strtod.o) definition of ___freedtoa  
> in section (__TEXT,__text)
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libc.dylib(gdtoa- 
> dmisc.So) definition of ___freedtoa

I've been getting this warning for a long time on both ppc and Intel.  
The error is below:

> /usr/bin/ld: Undefined symbols:
> ___mono_io_portability_helpers
> _mono_portability_find_file
> _mono_portability_helpers_init
> collect2: ld returned 1 exit status
> make[3]: *** [pedump] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

This I didn't notice a couple of days ago.

Andreas

> I've compiled before without any problem. I'm pretty sure didn't  
> change any setup.
>
> Any ideas?
>
>
>
>
> -- 
> Saludos,
>
> Martín Trejo Chávez
> http://chilli-coder.blogspot.com
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list