[Mesa-dev] Talloc
Kevin H. Hobbs
hobbsk at ohiou.edu
Wed Aug 18 10:36:36 PDT 2010
Mesa git started failing to configure early this week.
I ran
./autogen.sh \
--with-driver=xlib \
--disable-gallium
and configure complained about missing talloc.
I looked and saw that my fedora 12 machine has libtalloc installed but
libtalloc-devel was not installed, so I installed it.
That got rid of the configure warning, and mesa built without issue, but
when I try to link an application to GL I get :
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `talloc_strdup'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `_talloc_array'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `_talloc_free'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to
`talloc_strdup_append'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `talloc_asprintf'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `talloc_init'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `talloc_unlink'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `_talloc_zero'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to
`talloc_strndup_append'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to
`_talloc_set_destructor'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to
`talloc_asprintf_append'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to
`talloc_vasprintf_append'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to
`_talloc_reference_loc'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `_talloc_steal_loc'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `talloc_parent'
/home/kevin/mesa/lib/libGL.so.1: undefined reference to `talloc_named_const'
$ ldd lib/libGL.so
linux-vdso.so.1 => (0x00007fffae0bb000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f1628641000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f162842e000)
libm.so.6 => /lib64/libm.so.6 (0x00007f16281aa000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1627f8e000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1627d77000)
libc.so.6 => /lib64/libc.so.6 (0x00007f16279fe000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f16277e3000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f16275de000)
/lib64/ld-linux-x86-64.so.2 (0x0000003184e00000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f16273db000)
$ nm lib/libGL.so | grep talloc
00000000001ac020 T _ZN9glsl_type20init_talloc_type_ctxEv
00000000002eb820 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_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_append
U talloc_unlink
U talloc_vasprintf_append
My system talloc has no symbols
$ nm /usr/lib64/libtalloc.so
nm: /usr/lib64/libtalloc.so: no symbols
Mesa has a src/talloc with talloc.c and talloc.h
-------------- 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/20100818/3f008da0/attachment-0001.pgp>
More information about the mesa-dev
mailing list