* Mesa/Opengl
@ 1998-05-01 4:00 cekim
1998-05-02 4:00 ` Mesa/Opengl Adrian Gartland
0 siblings, 1 reply; 2+ messages in thread
From: cekim @ 1998-05-01 4:00 UTC (permalink / raw)
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,
/Mike
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Mesa/Opengl
1998-05-01 4:00 Mesa/Opengl cekim
@ 1998-05-02 4:00 ` Adrian Gartland
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Gartland @ 1998-05-02 4:00 UTC (permalink / raw)
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 ../<pristine kernel headers path/include/linux
ln -sf ../<pristine kernel headers path/include/asm
hope this helps some.
oh....can't get it to compile with egcs....internal compiler errors..ick...
but gcc works
if any of the egcs pplz wants to look into this...then here's what I get:
gcc -c -I../include -ansi -pedantic -fPIC drawpix.c
drawpix.c: In function `draw_color_pixels':
drawpix.c:873: internal error--unrecognizable insn:
(insn 4206 4203 4207 (set (reg:DI 22 $22)
(plus:DI (reg:DI 15 $15)
(const_int 37072))) -1 (nil)
(nil))
gcc: Internal compiler error: program cc1 got fatal signal 6
--
Adrian Gartland [Email: ade@oregan.net]
Software Engineer [WWW: http://www.oregan.net/]
Oregan Networks [Phone: +44 (0)1530 563311]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-05-02 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-01 4:00 Mesa/Opengl cekim
1998-05-02 4:00 ` Mesa/Opengl Adrian Gartland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox