This is a FYI,

I'm trying to compile mono on my gentoo laptop but unfortunately it
bails with:

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 -Wl,--export-dynamic
-Wl,--export-dynamic  ./.libs/libmono.so -L/usr/lib -pthread
/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,/home/torkar/mono/lib
./.libs/libmono.so: undefined reference to `___tls_get_addr'

I've made a "make clean" and re-run autogen.sh

I use:
Gentoo Linux
glibc-2.3.3_pre20040207
gcc (GCC) 3.3.2 20040119

The autogen.sh script says:
> checking for main in -lpthread... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for pthread_mutex_timedlock... yes
> checking for PTHREAD_MUTEX_RECURSIVE... ok
> checking for pthread_attr_setstacksize... yes
> checking for working __thread... yes


Any ideas?  

/Richard

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to