public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] Problems compiling SDL-Apps and funny qpkg thing?
@ 2003-03-10 10:37 99% Benjamin Podszun
  0 siblings, 0 replies; 1+ results
From: Benjamin Podszun @ 2003-03-10 10:37 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

Hi there.

When I try to compile apps that need SDL I get something like this:

$ make
gcc -c xgrav.c -o xgrav.o -c `sdl-config --cflags`
In file included from xgrav.c:2:
/usr/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from xgrav.c:2:
/usr/include/GL/glu.h:259: parse error before '*' token
/usr/include/GL/glu.h:259: `GLvoid' declared as function returning a
function
/usr/include/GL/glu.h:265: parse error before "gluBuild1DMipmapLevels"
/usr/include/GL/glu.h:265: parse error before "target"
/usr/include/GL/glu.h:266: parse error before "gluBuild1DMipmaps"
/usr/include/GL/glu.h:266: parse error before "target"
/usr/include/GL/glu.h:267: parse error before "gluBuild2DMipmapLevels"
/usr/include/GL/glu.h:267: parse error before "target"
<snip>
... hundreds of parse errors
</snip>
make: *** [xgrav.o] Error 1

Actually I don't have this "gl.h" anywhere but at
/usr/include/fltk-1.1/FL/gl.h .

I had some crashes recently (This is a Laptop with lots of flaws.. =( ),
so I thought I could remerge the package that owns this glu.h..

$ qpkg -f /usr/include/GL/glu.h
$ (Empty prompt)

Uhm..? qpkg doesn't know which package glu.h belongs to?
I remerged media-libs/glut and finally have a gl.h - broken symlink to a
non-existent file in /usr/lib/opengl/xfree/... In fact the whole
opengl/xfree directory is empty.
Seems as if opengl-update won't help me. Any ideas?

Ben

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-03-10 10:37 99% [gentoo-dev] Problems compiling SDL-Apps and funny qpkg thing? Benjamin Podszun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox