[Mesa-dev] Mesa (git 20130828) fails to build on MIPS

Matt Turner mattst88 at gmail.com
Wed Sep 4 10:20:09 PDT 2013


On Tue, Sep 3, 2013 at 10:41 PM, Christophe Jarry
<christophe.jarry at ouvaton.org> wrote:
> Hello,
>
> I encounter an error when I build mesa from git. I am on a MIPS
> computer with ATI RS780E.
>
> Here are the instructions I use for the build:
>
> ./autogen.sh \
>     --prefix=/usr \
>     --enable-gles2 \
>     --disable-gallium-egl \
>     --with-egl-platforms=x11,wayland,drm \
>     --enable-gbm \
>     --enable-shared-glapi \
>     --with-gallium-drivers=r300,r600,swrast \
>     --with-dri-drivers=radeon,swrast

I unfortunately cannot make any sense out of your build error, but if
you're building Mesa to run on an RS780E then you should just use

  --with-gallium-drivers=r600

and maybe swrast, but the radeon driver specified in
--with-dri-drivers is for old R100 cards, and R300 is not what you
want either.

>
> make
>
> Then, I get this error message:
>
> make[2]: Entering directory `/usr/src/mesa/mesa-20130828/src/glsl'
>   YACC     glsl_parser.cpp
> make[2]: *** [glsl_parser.cpp] Error 141
>
> How do I know what the error #141 corresponds to?
>
> Do you have an idea on how to fix this?
>
> Thanks,
>
> Christophe


More information about the mesa-dev mailing list