[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 13:56:52 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 07 March 2004 13:00, Richard Torkar wrote:
> 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
> > 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!
>
> ** SNIP**
>
> > -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
>
> 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=no
>
> /Richard
Hi Richard,
I forgot to write about my system. It's realy gentoo! With the configure-flag
the compilation exists without errors!
Thanks.
Oliver
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFASxwYnTMhd1k3y6cRAq4mAJ4g+UipRn7CmQ/LvYYzv6BdcJgC6wCdE5Lz
FtHUkOKbqy1+5QFXxOWwcDo=
=4aOv
-----END PGP SIGNATURE-----