LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-24-2006, 09:32 PM   #1
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Problem Building Mesa-6.5 with glproto>1.4.6 (Solved)


I'm starting with a multilib CLFS from the rc4 book on an AMD64 platform. I was trying to build a strictly 64-bit Mesa-6.5 with linux-dri (also tried linux-dri-x86 and linux-dri-x86-64). Started using glproto 1.4.7 and got this error.
Code:
glxcmds.c: In function `glXBindTexImageEXT':
glxcmds.c:2670: error: `X_GLXvop_BindTexImageEXT' undeclared (first use
in this function)
glxcmds.c:2670: error: (Each undeclared identifier is reported only once
glxcmds.c:2670: error: for each function it appears in.)
glxcmds.c: In function `glXReleaseTexImageEXT':
glxcmds.c:2711: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first
use in this function)
The great Google told me to use the latest version of glproto, so I tried 1.4.8. Same results. I could build Mesa without dri though. Finally, I tried glproto-1.4.6 since that was the "latest" version available at the time of the posts I found recommending upgrading glproto. Lo and behold, it worked.

I had also tried using Mesa-6.5.1 with glproto1.4.7 and 1.4.8 with the same results. Here's something interesting as well
Code:
grep X_GLXvop_BindTexImageEXT glproto-1.4.* -Hrn
glproto-1.4.6/glxproto.h:2390:#define X_GLXvop_BindTexImageEXT 5152
glproto-1.4.7/glxproto.h:2390:#define X_GLXvop_BindTexImageEXT 5152
Anyway, X seems to be working with a beautiful turquoise and white tabbed wm. Just wondering if anyone else had seen this and could tell me what I'm doing wrong.

Last edited by weibullguy; 09-26-2006 at 05:02 AM.
 
Old 09-26-2006, 05:02 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815

Original Poster
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
As I figured, it was something I had done. When I installed glproto-1.4.7 and 1.4.8, the headers installed in /usr/local/include/GL. When I installed glproto-1.4.6, the headers went to /usr/X11R7/include/GL. Mesa was looking in /usr/X11R7/include/GL for glproto and finding nothing until I installed 1.4.6. Just installed 1.4.7, rebuilt Mesa-6.5 successfully, and then rebuilt the xserver sucessfully.

I love installing from source!!!
 
Old 10-01-2006, 10:50 AM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
You should be specifying ./configure --prefix=/blah on EVERY single package. Preferably /usr. You won't have any such problems if you start doing that.
 
Old 10-05-2006, 04:50 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815

Original Poster
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Actually I do via an environment variable XORG_CONFIG. I figured it out when I caught myself typing ./configure #XORG_CONFIG rather than ./configure $XORG_CONFIG. Sometimes at 1am after several glasses of Scotch, I make mistakes.
 
  


Reply



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
Mesa-Glut compilation problem tethysgods Linux - Software 1 09-16-2004 12:33 PM
weird Mesa 3D / SDL problem... fatherg Programming 3 08-08-2004 01:35 AM
mesa problem jag2000 Linux - Hardware 0 07-02-2004 12:14 AM
mesa problem, screwed up hardware acceleration? shadow.blue Linux - Hardware 6 08-26-2003 06:49 AM
Installing Mesa & Mesa-demos... bozotix Linux - Software 2 05-09-2002 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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