[Mesa-dev] non-DRI build break

Axel Davy axel.davy at ens.fr
Tue Jul 1 08:19:37 PDT 2014


Hi,

This path should resolve the problem.

Axel

On 01/07/2014 10:53, Axel Davy wrote :
> In src/loader/Makefile.am,
>
> the test 'if NEED_OPENGL_COMMON' should probably be more restrictive,
> I'm looking at it.
>
> Axel
>
> On 01/07/2014 10:22, Brian Paul wrote :
>> I configured with:
>>
>> ./autogen.sh CFLAGS="-g -O0" CXXFLAGS="-g -O0" --enable-debug 
>> --enable-xlib-glx --disable-driglx-direct --disable-dri 
>> --enable-gallium-osmesa --with-gallium-drivers=swrast 
>> --enable-gallium-tests
>>
>> So no DRI code should be used.  When I compile:
>>
>> gmake[2]: Entering directory 
>> `/home/brianp/projects/Mesa/mesa/src/loader'
>>   CC     libloader_la-loader.lo
>> loader.c:333:5: error: expected ',' or ';' before 
>> 'DRI_CONF_SECTION_INITIALIZATION'
>> gmake[2]: *** [libloader_la-loader.lo] Error 1
>>
>> Reverting commit 3ecd9e1a93817180fa fixes the build for me.
>>
>> -Brian
>>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-condition-in-src-loader-Makefile.am.patch
Type: text/x-diff
Size: 991 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140701/acb2d532/attachment.patch>


More information about the mesa-dev mailing list