[Mono-list] ./.libs/libmono.so: undefined reference to `___tls_get_addr' [Compiling mono from cvs]

Oliver Leischner oliver.leischner@gmx.de
Sun, 7 Mar 2004 12:20:35 +0100


Hello!
I copied the latest mono-sources from cvs, but complation break with errors. 
I linked libgc (from cvs too) in the mono-src-dir and configured the 
mono-sources (./configure --prefix=/usr/local/mono --with-gc=included). 
Configure exists without any error. 

While running "make" the following error occures. 
Can anybody help me? Thanks!

Oliver


Making all in mini
make[3]: Entering directory `/home/oliver/MONO/CVS/mono/mono/mini'
/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  -o mono -export-dynamic main.o libmono.la                  
-pthread -lgthread-2.0 -lglib-2.0                       -Wl,--export-dynamic 
-lgmodule-2.0 -ldl -lglib-2.0   -lm          -lpthread -lm -L/usr/lib 
-licui18n -licuuc -licudata -lpthread -lm -lnsl -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 
-o .libs/mono main.o -pthread -Wl,--export-dynamic 
-Wl,--export-dynamic  ./.libs/libmono.so 
-L/usr/lib /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so 
-ldl /usr/lib/libglib-2.0.so -licui18n -licuuc -licudata -lnsl -lpthread -lm 
-Wl,--rpath -Wl,/usr/local/mono/lib
./.libs/libmono.so: undefined reference to `___tls_get_addr'
collect2: ld returned 1 exit status
make[3]: *** [mono] Error 1
make[3]: Leaving directory `/home/oliver/MONO/CVS/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/oliver/MONO/CVS/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oliver/MONO/CVS/mono'
make: *** [all-recursive-am] Error 2