Xavier Chantry <chantry.xav...@gmail.com> writes: > On Mon, Mar 15, 2010 at 12:41 AM, tom fogal <tfo...@alumni.unh.edu> wrote: > > > > You can emulate the [undefined link errors] by building with > > -Wl,--no-undefined (or maybe -no-undefined, something like that, > > see ld(1)). > > With -Wl,--no-undefined, I get so many errors that it did not fit in > my terminal buffer :P > > With -Wl,--no-allow-shlib-undefined it's a bit better but it is still scary :
Oops, sorry; I was thinking of that flag, but I forgot about the shlib variant && expected --no-undefined to do --no-allow-shlib-undefined. Anyway, mea culpa, glad you figured out what I meant && not what I said ;) > /bin/sh ../../../../../bin/mklib -o swrast_dri.so -noprefix -linker > 'gcc' -ldflags '-Wl,--no-allow-shlib-undefined' \ > ../../common/driverfuncs.o ../common/utils.o swrast.o swrast_sp > an.o > ../../../../../src/mesa/libmesa.a -ldrm -lexpat -lm -lpthread > -ldl > mklib: Making Linux shared library: swrast_dri.so > LDFLAGS : -Wl,--no-allow-shlib-undefined > /lib/libpthread.so.0: undefined reference to `_dl_allocate_...@glibc_private' > /lib/libpthread.so.0: undefined reference to > `_dl_get_tls_static_i...@glibc_private' These look like TLS issues. Did you provide --enable-glx-tls to configure? Looks like you probably want to, for your platform. -tom ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev