LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2009, 08:22 PM   #1
EmrldDrgn
Member
 
Registered: Oct 2008
Posts: 40

Rep: Reputation: 16
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.
 
Old 01-09-2009, 02:27 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
§ 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.

Last edited by knudfl; 01-09-2009 at 06:49 AM.
 
  


Reply

Tags
build, failure, kernel, mesa



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC Build error Bootstrap comparison failure! R03L Linux From Scratch 4 07-22-2009 12:55 PM
failure trying to build bioapi hedpe Linux - Software 2 09-10-2006 06:24 PM
Where can I post glibc build failure questions ? rekhakp Linux - Software 0 04-27-2005 04:37 PM
Build failure for mkfontscale.c kira Linux - Software 1 04-06-2005 06:26 AM
Installing Mesa & Mesa-demos... bozotix Linux - Software 2 05-09-2002 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration