[Mono-list] ./.libs/libmono.so: undefined reference to
`___tls_get_addr' [Compiling mono from cvs]
Richard Torkar
richard.torkar@htu.se
Sun, 07 Mar 2004 13:00:22 +0100
--=-9A7SZVR7OXXYd8XmpgpX
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Sun, 2004-03-07 at 12:20 +0100, Oliver Leischner wrote:
> Hello!
> I copied the latest mono-sources from cvs, but complation break with erro=
rs.=20
> I linked libgc (from cvs too) in the mono-src-dir and configured the=20
> mono-sources (./configure --prefix=3D/usr/local/mono --with-gc=3Dincluded=
).=20
> Configure exists without any error.=20
>=20
> While running "make" the following error occures.=20
> Can anybody help me? Thanks!
** SNIP**
> -ldl /usr/lib/libglib-2.0.so -licui18n -licuuc -licudata -lnsl -lpthread =
-lm=20
> -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
This is a known problem, and usually(?) happens on Gentoo.
Run autogen.sh again in the mono dir but this time using the following
flag:
--with-nptl=3Dno
/Richard
--=-9A7SZVR7OXXYd8XmpgpX
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)
iD8DBQBASw7VR3750cHPKWMRAmeGAJ9vZ7RZqBxhEQopLmbXSHFBQJt59gCfWzQq
Ej6n6+HYWZQBC0Wc6ETyNU0=
=Ugae
-----END PGP SIGNATURE-----
--=-9A7SZVR7OXXYd8XmpgpX--