Gentoo Archives: gentoo-dev

From: Benjamin Podszun <ben@××××××××××××××.de>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Problems compiling SDL-Apps and funny qpkg thing?
Date: Mon, 10 Mar 2003 10:39:57
Message-Id: 1047292620.10716.20.camel@localhost
1 Hi there.
2
3 When I try to compile apps that need SDL I get something like this:
4
5 $ make
6 gcc -c xgrav.c -o xgrav.o -c `sdl-config --cflags`
7 In file included from xgrav.c:2:
8 /usr/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
9 In file included from xgrav.c:2:
10 /usr/include/GL/glu.h:259: parse error before '*' token
11 /usr/include/GL/glu.h:259: `GLvoid' declared as function returning a
12 function
13 /usr/include/GL/glu.h:265: parse error before "gluBuild1DMipmapLevels"
14 /usr/include/GL/glu.h:265: parse error before "target"
15 /usr/include/GL/glu.h:266: parse error before "gluBuild1DMipmaps"
16 /usr/include/GL/glu.h:266: parse error before "target"
17 /usr/include/GL/glu.h:267: parse error before "gluBuild2DMipmapLevels"
18 /usr/include/GL/glu.h:267: parse error before "target"
19 <snip>
20 ... hundreds of parse errors
21 </snip>
22 make: *** [xgrav.o] Error 1
23
24 Actually I don't have this "gl.h" anywhere but at
25 /usr/include/fltk-1.1/FL/gl.h .
26
27 I had some crashes recently (This is a Laptop with lots of flaws.. =( ),
28 so I thought I could remerge the package that owns this glu.h..
29
30 $ qpkg -f /usr/include/GL/glu.h
31 $ (Empty prompt)
32
33 Uhm..? qpkg doesn't know which package glu.h belongs to?
34 I remerged media-libs/glut and finally have a gl.h - broken symlink to a
35 non-existent file in /usr/lib/opengl/xfree/... In fact the whole
36 opengl/xfree directory is empty.
37 Seems as if opengl-update won't help me. Any ideas?
38
39 Ben

Attachments

File name MIME type
signature.asc application/pgp-signature