[Mono-list] Error compiling current cvs mono

Richard Torkar richard.torkar@htu.se
Fri, 20 Feb 2004 20:38:01 +0100


--=-ah80SxywQc0PN/eEWIVR
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


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? =20

/Richard

--=-ah80SxywQc0PN/eEWIVR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBANmIYR3750cHPKWMRAtbdAJwLzfw6q65dLkTSlGaUx7hNZ1xW0ACeLrPe
wUOftjbP/ValnONyuKQrwX8=
=Vp8A
-----END PGP SIGNATURE-----

--=-ah80SxywQc0PN/eEWIVR--