[Mesa-dev] OSMesa needs -ltalloc
Kevin H. Hobbs
hobbsk at ohiou.edu
Thu Aug 19 10:57:25 PDT 2010
When I do :
./autogen.sh --with-driver=osmesa
make -j8
nm lib/libOSMesa.so | grep talloc
I get :
0000000000160a30 T _ZN9glsl_type20init_talloc_type_ctxEv
0000000000298220 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
That is there are undefined talloc symbols in libGL. which wouldn't be a
problem if :
ldd lib/libOSMesa.so | grep talloc
had any reference to talloc.
However when I do :
./autogen.sh --with-driver=dri
make -j8
for sofile in `find ./ -name "*.so"`
do
talloclines=`ldd $sofile | grep -c talloc`
if [ $talloclines -ge 1 ]
then
echo $sofile
fi
done
I get :
./src/gallium/targets/dri-swrast/swrastg_dri.so
./src/mesa/drivers/dri/mach64/mach64_dri.so
./src/mesa/drivers/dri/unichrome/unichrome_dri.so
./src/mesa/drivers/dri/r200/r200_dri.so
./src/mesa/drivers/dri/r128/r128_dri.so
./src/mesa/drivers/dri/swrast/swrast_dri.so
./src/mesa/drivers/dri/tdfx/tdfx_dri.so
./src/mesa/drivers/dri/i915/i915_dri.so
./src/mesa/drivers/dri/r600/r600_dri.so
./src/mesa/drivers/dri/i965/i965_dri.so
./src/mesa/drivers/dri/radeon/radeon_dri.so
./src/mesa/drivers/dri/mga/mga_dri.so
./src/mesa/drivers/dri/r300/r300_dri.so
./src/mesa/drivers/dri/savage/savage_dri.so
./lib/tdfx_dri.so
./lib/gallium/swrastg_dri.so
./lib/radeon_dri.so
./lib/r200_dri.so
./lib/r600_dri.so
./lib/r300_dri.so
./lib/mach64_dri.so
./lib/r128_dri.so
./lib/swrast_dri.so
./lib/i965_dri.so
./lib/egl/st_GL.so
./lib/mga_dri.so
./lib/unichrome_dri.so
./lib/i915_dri.so
./lib/savage_dri.so
It looks like OSMesa is getting left out in the cold since the GLSL2 merge.
-------------- 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/20100819/b470ce76/attachment.pgp>
More information about the mesa-dev
mailing list