From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,570ee4e08482d883 X-Google-Attributes: gid111c93,public From: Adrian Gartland Subject: Re: Mesa/Opengl Date: 1998/05/02 Message-ID: <354B808A.84811196@oregan.net>#1/1 X-Deja-AN: 349670273 Content-Transfer-Encoding: 7bit References: <6ie5kt$h8i$1@nnrp1.dejanews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Oregan Networks Newsgroups: comp.os.linux.alpha cekim@ix.netcom.com wrote: > Has anyone been able to compile Mesa 2.6 on on an alpha? > > I got it compile and seemingly work but only through a very ugly trick, I am > hoping someone out ther has a way to do it "right": > > While compiling it dies at various points complaining of undefined references > such as: > > glut_event.c: In function `interruptibleXNextEvent': > glut_event.c:256: `fd_set' undeclared (first use this function) > glut_event.c:256: (Each undeclared identifier is reported only once > glut_event.c:256: for each function it appears in.) > glut_event.c:256: parse error before `fds' > glut_event.c:267: `fds' undeclared (first use this function) > glut_event.c: In function `waitForSomething': > glut_event.c:764: `fd_set' undeclared (first use this function) > glut_event.c:764: parse error before `fds' > glut_event.c:814: `fds' undeclared (first use this function) > > As usual with alpha porting (althought I was under the impression from the > makefile that this is already alpha ready) the above is completely unrealted > to the actual problem. It compiles through this file just fine on a PPRO. > > On a whim I compiled the rest using the a.out option on the compile > (linux-alpha rather than linux-alpha-elf) and it got a little further through > the glut section then dies again. So I compiled the rest as elf and it seemed > to work. > > The GL libs themselvesare all compiled by the time the first error comes up so > it is only the glut libs that are now a.out (shudder). Everything seems to > function at least, but this is ugly to say the least! > > Thanks for any help anyone out there can provide, Hmm... I thought I would try it out to see if I got the same problem that had. Its compiled all the way through for me, with no intervention... plenty of warnings and such, and I haven't actually tested it cuz its sitting at a machine at work, and I'm at home, but I no reason to beleave it wouldn't. I have had problems with fdsets in the past, with our own code, which is why your post interested me. I fixed it for our code by NOT using the hacked kernel headers provided by redhat. IE: Get the linux source code and cd /usr/include ln -sf ../