[Mono-list] multiple definitions of symbol ___freedtoa

Martin Trejo chilli.coder at gmail.com
Thu Sep 27 10:40:01 EDT 2007


Hi,

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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070927/fe49ec9a/attachment.html 


More information about the Mono-list mailing list