-   Linux - Software (
-   -   Mesa 6.5.2 Build Failure s3v_state.c (

EmrldDrgn 01-06-2009 08:22 PM

Mesa 6.5.2 Build Failure s3v_state.c
I'm attempting to compile Mesa 6.5.2 from source, but I hit multiple errors on the file s3v_state.c, relating to undeclared identifiers "CARD32" and "cmd" mostly as far as I can tell. I'm on kernel 2.6.27. Can anyone help? Anything else you might need to know, just ask.

knudfl 01-09-2009 02:27 AM

I'd guess you are building BLFS 6.3 on top of LFS 6.4 ??
It is a good idea to tell what you are using, every time
a question is asked.

Mesa 6.5.2 is old ( year 2006 ) and will probably compile
with gcc 4.1.x . No reason it should be fixed to be compiled
with anything much newer.
Solution : install (build) an older gcc or uncomment all
"s3" stuff. Or use a newer Mesa, if possible.

You can have as many different compilers, as you want.
example command: 'CC=/usr/local/bin/gcc-4.1.2 ./configure'
( Be careful if installing extra gcc in /usr/, libgcc**
can be overwritten, /usr/local/ or /home/ is better )

How is this issue handled by others, building BLFS ??
Suggest : try asking BLFS ...

Good Luck.

All times are GMT -5. The time now is 06:03 PM.