[Mesa-dev] Xlib GL needs -ltalloc
Kevin H. Hobbs
hobbsk at ohiou.edu
Fri Aug 20 07:34:13 PDT 2010
When Mesa is built with :
./autogen.sh \
--prefix=/home/kevin/mesa_xlib/ \
--with-driver=xlib \
--disable-gallium \
--disable-gl-osmesa
The libGL.so that is produced has undefined symbols from talloc but
talloc is not linked.
$ nm mesa_xlib/lib/libGL.so | grep talloc
00000000001ac4a0 T _ZN9glsl_type20init_talloc_type_ctxEv
00000000002db680 r
_ZZN9glsl_type20init_talloc_type_ctxEvE19__PRETTY_FUNCTION__
U _talloc_array
U _talloc_free
U _talloc_reference_loc
U _talloc_set_destructor
U _talloc_steal_loc
U _talloc_zero
U _talloc_zero_array
U talloc_asprintf
U talloc_asprintf_append
U talloc_init
U talloc_named_const
U talloc_parent
U talloc_strdup
U talloc_strdup_append
U talloc_strndup
U talloc_strndup_append
U talloc_unlink
U talloc_vasprintf_append
$ ldd mesa_xlib/lib/libGL.so
linux-vdso.so.1 => (0x00007fffbc5ff000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f2c94fb1000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f2c94d9e000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2c94b1a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2c948fe000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2c946e7000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2c9436e000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2c94153000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2c93f4e000)
/lib64/ld-linux-x86-64.so.2 (0x0000003184e00000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f2c93d4b000)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100820/f7441d06/attachment.pgp>
More information about the mesa-dev
mailing list