[Mesa-dev] Error compiling mesa 9.1.1

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


On Thu, May 23, 2013 at 3:39 AM, Divick Kishore
<divick.kishore at gmail.com> wrote:
> Bump .. could someone please help me with this? Possibly I am missing
> something small but can't seem to figure out.
>
> Any help is appreciated.
> Divick
>
> On Thu, May 16, 2013 at 12:58 PM, Divick Kishore
> <divick.kishore at gmail.com> wrote:
>> Hi,
>>     I am trying to compile mesa 9.1.1 on my debian wheezy machine but
>> I get compilation error during the build.
>>
>> The configure options that I have used are:
>>
>> ../../configure --prefix=~/lib/mesa/dri_llvm --build=x86_64-linux-gnu
>> --with-dri-drivers="swrast" --with-dri-driverdir=~/lib/mesa/dri_llvm/
>> --with-dri-searchpath='~/lib/mesa/dri_llvm/' --enable-glx-tls
>> --enable-xa --enable-driglx-direct --with-egl-platforms="x11"
>> --enable-gallium-llvm=yes --with-gallium-drivers="swrast"
>> --enable-gles1 --enable-gles2 --enable-gallium-egl --disable-glu
>> CFLAGS="-Wall -O2" CXXFLAGS="-Wall -O2"
>>
>> And the compilation error that I see is:
>>
>> make[5]: Entering directory
>> `/home/divick/work/work/mesa-9.1.1/build/dri/src/gallium/state_trackers/dri/drm'
>> make[5]: *** No rule to make target `dri_context.lo', needed by
>> `libdridrm.la'.  Stop
>>
>>
>> Using the same set of configure options I am able to build mesa 8.0.5.
>> My objective is to build llvm based software only renderer.
>>
>> 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.


More information about the mesa-dev mailing list