xdriinfo tinderbox build failure
Donnie Berkholz
spyderous at gentoo.org
Fri Dec 2 20:06:03 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here's the problem with xdriinfo on some of the tinderboxes. It's
looking for libdrm.so.2 via libGL and failing to find it.
configure:3190: ccache gcc -o conftest -g -O2 conftest.c -lGL
- -L/var/tinderbox/tinderclient/xorg/prefix/lib -lX11 >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libdrm.so.2, needed by
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so, not found (try
using -rpath or -rpath-link)
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmGetVersion'
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmOpen'
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmGetMagic'
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmUnmap'
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmMap'
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmFreeVersion'
/var/tinderbox/tinderclient/xorg/prefix/lib/libGL.so: undefined
reference to `drmClose'
collect2: ld returned 1 exit status
But mesa manages to build and link against libdrm just fine:
../../../bin/mklib -o GL -linker 'gcc' \
- -major 1 -minor 2 \
- -install ../../../lib -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm
- -lpthread -ldl `pkg-config --libs libdrm` -ldrm
../../../src/mesa/glapi/glapi.o ../../../src/mesa/glapi/glthread.o
../../../src/mesa/main/dispatch.o glcontextmodes.o clientattrib.o
compsize.o eval.o glxcmds.o glxext.o glxextensions.o indirect.o
indirect_init.o indirect_size.o indirect_window_pos.o
indirect_transpose_matrix.o indirect_vertex_array.o
indirect_vertex_program.o pixel.o pixelstore.o render2.o renderpix.o
single2.o singlepix.o vertarr.o xfont.o glx_pbuffer.o glx_query.o
glx_texture_compression.o dri_glx.o XF86dri.o
mklib: Making Linux shared library: libGL.so.1.2
mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../../lib
And libdrm is definitely producing libdrm.so.2 ...
gcc -shared .libs/xf86drm.o .libs/xf86drmHash.o .libs/xf86drmRandom.o
.libs/xf86drmSL.o -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.0.0
... and installing it:
/usr/bin/install -c .libs/libdrm.so.2.0.0
/var/tinderbox/tinderclient/xorg/drm/build/libdrm-2.0/_inst/lib/libdrm.so.2.0.0
(cd /var/tinderbox/tinderclient/xorg/drm/build/libdrm-2.0/_inst/lib &&
rm -f libdrm.so.2 && ln -s libdrm.so.2.0.0 libdrm.so.2)
(cd /var/tinderbox/tinderclient/xorg/drm/build/libdrm-2.0/_inst/lib &&
rm -f libdrm.so && ln -s libdrm.so.2.0.0 libdrm.so)
So I'm not sure what's really going on, but there's all the info I can find.
Ideas?
Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDkRmqXVaO67S1rtsRAjvcAJ0ddBbqA1Es3ZmdZq6wlfMgby62/ACgiS7n
KiklZ3PblT65/WpekEy/eaE=
=EmFr
-----END PGP SIGNATURE-----
More information about the xorg-modular
mailing list