[Mesa-dev] Recent mesa changes are causing tinderbox to fail

Ian Romanick idr at freedesktop.org
Mon Jan 2 19:03:43 PST 2012


On 01/02/2012 06:18 PM, Jeremy Huddleston wrote:
> xdriinfo is failing to build in tinderbox (through no change of its own).  The relevant changes in mesa were bce506f..7705833.  My guess is that this was caused by one of:
>
> glx: Add __glX_send_client_info super function
> glx: Initial implementation of glXCreateContextAttribsARB
>
> Here's the tinderbox failure:
> http://tinderbox.x.org/builds/2012-01-02-0028/logs/xdriinfo/#configure
>
> Here's the relevant section from config.log:
> configure:9243: gcc -std=gnu99 -o conftest -O0 -pipe -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2  -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE -I/var/tmp/jhbuild/include -I/home/jeremy/src/freedesktop/jhbuild/external/build/include -L/var/tmp/jhbuild/lib  conftest.c -lGL -L/var/tmp/jhbuild/lib -lX11>&5
> /var/tmp/jhbuild/lib/libGL.so: undefined reference to `xcb_glx_create_context_attribs_arb_checked'
> /var/tmp/jhbuild/lib/libGL.so: undefined reference to `xcb_glx_set_client_info_2arb'
> /var/tmp/jhbuild/lib/libGL.so: undefined reference to `XGetXCBConnection'
> /var/tmp/jhbuild/lib/libGL.so: undefined reference to `xcb_glx_set_client_info_arb'
> /var/tmp/jhbuild/lib/libGL.so: undefined reference to `xcb_glx_client_info'
> collect2: ld returned 1 exit status
>
> So it looks like libGL.so isn't linked against libxcb-glx.so and libX11-xcb.so:

I think this is because Mesa wasn't built with --enable-xcb.  This used 
to be optional, but it is not now.  There's a patch on the mesa-dev list 
that should fix.

> $ ldd /var/tmp/jhbuild/lib/libGL.so
> 	linux-vdso32.so.1 =>   (0x00100000)
> 	libX11.so.6 =>  /usr/lib/powerpc-linux-gnu/libX11.so.6 (0x6fdc5000)
> 	libXext.so.6 =>  /usr/lib/powerpc-linux-gnu/libXext.so.6 (0x6fd91000)
> 	libXdamage.so.1 =>  /usr/lib/powerpc-linux-gnu/libXdamage.so.1 (0x6fd6e000)
> 	libXfixes.so.3 =>  /usr/lib/powerpc-linux-gnu/libXfixes.so.3 (0x6fd48000)
> 	libXxf86vm.so.1 =>  /usr/lib/powerpc-linux-gnu/libXxf86vm.so.1 (0x6fd22000)
> 	libdrm.so.2 =>  /usr/lib/powerpc-linux-gnu/libdrm.so.2 (0x6fcf7000)
> 	libpthread.so.0 =>  /lib/powerpc-linux-gnu/libpthread.so.0 (0x6fcbd000)
> 	libdl.so.2 =>  /lib/powerpc-linux-gnu/libdl.so.2 (0x6fc99000)
> 	libc.so.6 =>  /lib/powerpc-linux-gnu/libc.so.6 (0x6fb14000)
> 	libxcb.so.1 =>  /usr/lib/powerpc-linux-gnu/libxcb.so.1 (0x6fada000)
> 	librt.so.1 =>  /lib/powerpc-linux-gnu/librt.so.1 (0x6fab1000)
> 	/lib/ld.so.1 (0x2020f000)
> 	libXau.so.6 =>  /usr/lib/powerpc-linux-gnu/libXau.so.6 (0x6fa8e000)
> 	libXdmcp.so.6 =>  /usr/lib/powerpc-linux-gnu/libXdmcp.so.6 (0x6fa68000)
>
>
> It looks like you need to add x11-xcb and xcb-glx to libGL's pkg-config dependencies.
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>



More information about the mesa-dev mailing list