[Mesa-dev] Error compiling mesa 9.1.1

Matt Turner mattst88 at gmail.com
Thu May 23 22:08:16 PDT 2013


On Thu, May 23, 2013 at 8:04 PM, Divick Kishore
<divick.kishore at gmail.com> wrote:
> Hi Matt,
>
> On Thu, May 23, 2013 at 8:38 PM, Matt Turner <mattst88 at gmail.com> wrote:
>> On Thu, May 23, 2013 at 3:39 AM, Divick Kishore
>>>>
>>>> Could someone please help me build mesa 9.1.1?
>>
>> I think this is a build system bug caused by not building any classic
>> hardware DRI drivers. Try --with-dri-drivers=i965,swrast.
>
> I tried building with this option but still it does not build. It now
> fails with the following error message.
>
> make[7]: Entering directory
> `/home/divick/work/work/mesa-9.1.1/build/dri/src/mesa/drivers/dri/common'
>   CC     utils.lo
>   CC     dri_util.lo
>   CC     libdri_test_stubs_la-dri_test.lo
>   CC     xmlconfig.lo
>   CCLD   libdri_test_stubs.la
>   CCLD   libdricommon.la
> make[7]: Leaving directory
> `/home/divick/work/work/mesa-9.1.1/build/dri/src/mesa/drivers/dri/common'
> make[6]: Leaving directory
> `/home/divick/work/work/mesa-9.1.1/build/dri/src/mesa/drivers/dri/common'
> Making all in i965
> make[6]: Entering directory
> `/home/divick/work/work/mesa-9.1.1/build/dri/src/mesa/drivers/dri/i965'
> make[6]: *** No rule to make target `intel_batchbuffer.lo', needed by
> `libi965_dri.la'.  Stop.
>
>
> Anything else that I could try?
>
> Thanks for your help,
> Regards,
> Divick

>From the "build" in your path, it looks like you might be trying to do
an out-of-tree build. I don't remember if that completely worked with
9.1.

I just untarred 9.1.3 and did

libtoolize --force
./autogen.sh --with-dri-drivers=i965,swrast
--with-gallium-drivers=swrast --enable-glx-tls
--with-egl-platforms="x11" --enable-gles1 --enable-gles2
--enable-gallium-egl --disable-glu
make -jX

and it built.


More information about the mesa-dev mailing list