[Mesa-dev] RC3 build problem

Marty Jack martyj19 at comcast.net
Tue Jul 26 19:36:52 PDT 2011



On 07/26/2011 09:52 PM, Zhao, Jian J wrote:
>> -----Original Message-----
>> From: mesa-dev-bounces+jian.j.zhao=intel.com at lists.freedesktop.org
>> [mailto:mesa-dev-bounces+jian.j.zhao=intel.com at lists.freedesktop.org] On
>> Behalf Of Ian Romanick
>> Sent: Wednesday, July 27, 2011 12:59 AM
>> To: Marty Jack
>> Cc: =?windows-1252?Q?Kristian_H=F8gsber?=@freedesktop.org;
>> mesa-dev at lists.freedesktop.org
>> Subject: Re: [Mesa-dev] RC3 build problem
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 07/26/2011 05:52 AM, Marty Jack wrote:
>>> Line 1243 of configure.ac says
>>>     if test "x$enable_dri" = xyes; then
>>> and enable_dri is nowhere defined.  In RC2 the equivalent line said
>>>     if test "$mesa_driver" = dri; then
>>> I do not know what the appropriate test is.
>>>
>>> This results in gbm_dri not being compiled, results in gbm_dri_backend not
>> being defined, results in applications not starting because the .so won't load
>> successfully.
>>
>> Does building Mesa master work?  It sounds like some configure.ac
>> patches still need to be picked over.
> 
> 
> We can build mesa on both master branch(b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb) and 7.11 branch(13d12b35e90e4c2e7ba3beb6b2cf7fff3c4429d5) with the arguments in the command autogen.sh --with-driver=dri --with-dri-drivers="i915 i965 swrast" --with-dri-driverdir=$INSTALL_ROOT/lib/dri --enable-gles1 --enable-gles2 --with-gallium-drivers= --enable-texture-float. Thanks. 
> 
> Best regards
> zhaojian
> 
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAk4u8jgACgkQX1gOwKyEAw/vMACfe4B0ArHZ01Fhuj7D1MQO
>> NdOO
>> CmkAniirISFoaU3xM+c3+bz5M1LPF06E
>> =GSzE
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 

Once again, the problem does not occur at build time.

libgbm.so built with the problematic if disabled:
martyj:~/Build/Mesa-7.11-rc3/lib$ nm /usr/lib/libgbm.so | grep dri
000017a0 t dri_bind_extensions
00003ca8 d dri_core_extensions
00001730 t dri_destroy
00001b30 t dri_device_create
00001ca0 t dri_fd_get_driver_name
00001870 t dri_load_driver
00001480 t dri_lookup_egl_image
00003a60 d driver_map
00003ca0 d gbm_dri_backend
000015d0 t gbm_dri_bo_create
000014e0 t gbm_dri_bo_create_from_egl_image
000016f0 t gbm_dri_bo_destroy
00003cc0 d gbm_dri_device_extensions
000014b0 t gbm_dri_is_format_supported

libgbm.so built from the RC3 tarball:
martyj:~/Build/Mesa-7.11-rc3/lib$ nm libgbm.so | grep dri
         U gbm_dri_backend

Result when running application with the faulty .so
martyj:/usr/lib/gbm$ firefox
/usr/lib/firefox-5.0.1/firefox-bin: symbol lookup error: /usr/lib/libgbm.so.1: undefined symbol: gbm_dri_backend



More information about the mesa-dev mailing list