LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mesa 6.5.2 Build Failure s3v_state.c (http://www.linuxquestions.org/questions/linux-software-2/mesa-6-5-2-build-failure-s3v_state-c-695466/)

EmrldDrgn 01-06-2009 09: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 03:27 AM

1.5.1
http://www.linuxfromscratch.org/lfs/...skforhelp.html
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 ...
http://www.linuxfromscratch.org/blfs...n/askhelp.html
....

http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

Good Luck.


All times are GMT -5. The time now is 02:29 AM.