make[3]: Entering directory `/var/tmp/portage/libquicktime-0.9.2/work/libquicktime-0.9.2/utils' source='lqtplay.c' object='lqtplay.o' libtool=no \ depfile='.deps/lqtplay.Po' tmpdepfile='.deps/lqtplay.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/quicktime -I../include -I/usr/X11R6/include -O3 -funroll-all-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -finline-functions -Wall -Wno-unused -Winline -c `test -f 'lqtplay.c' || echo './'`lqtplay.c lqtplay.c:31:19: GL/gl.h: No such file or directory In file included from lqtplay.c:32: /usr/X11R6/include/GL/glu.h:35:19: GL/gl.h: No such file or directory In file included from lqtplay.c:32: /usr/X11R6/include/GL/glu.h:262: error: syntax error before '*' token /usr/X11R6/include/GL/glu.h:262: warning: type defaults to `int' in declaration of `GLvoid' /usr/X11R6/include/GL/glu.h:262: warning: parameter names (without types) in function declaration /usr/X11R6/include/GL/glu.h:262: error: `GLvoid' declared as function returning a function /usr/X11R6/include/GL/glu.h:269: error: syntax error before "gluBuild1DMipmapLevels" /usr/X11R6/include/GL/glu.h:269: error: syntax error before "target" /usr/X11R6/include/GL/glu.h:269: warning: type defaults to `int' in declaration of `gluBuild1DMipmapLevels' /usr/X11R6/include/GL/glu.h:269: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:270: error: syntax error before "gluBuild1DMipmaps" /usr/X11R6/include/GL/glu.h:270: error: syntax error before "target" /usr/X11R6/include/GL/glu.h:270: warning: type defaults to `int' in declaration of `gluBuild1DMipmaps' /usr/X11R6/include/GL/glu.h:270: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:271: error: syntax error before "gluBuild2DMipmapLevels" /usr/X11R6/include/GL/glu.h:271: error: syntax error before "target" /usr/X11R6/include/GL/glu.h:271: warning: type defaults to `int' in declaration of `gluBuild2DMipmapLevels' /usr/X11R6/include/GL/glu.h:271: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:272: error: syntax error before "gluBuild2DMipmaps" /usr/X11R6/include/GL/glu.h:272: error: syntax error before "target" /usr/X11R6/include/GL/glu.h:272: warning: type defaults to `int' in declaration of `gluBuild2DMipmaps' /usr/X11R6/include/GL/glu.h:272: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:273: error: syntax error before "gluBuild3DMipmapLevels" /usr/X11R6/include/GL/glu.h:273: error: syntax error before "target" /usr/X11R6/include/GL/glu.h:273: warning: type defaults to `int' in declaration of `gluBuild3DMipmapLevels' /usr/X11R6/include/GL/glu.h:273: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:274: error: syntax error before "gluBuild3DMipmaps" /usr/X11R6/include/GL/glu.h:274: error: syntax error before "target" /usr/X11R6/include/GL/glu.h:274: warning: type defaults to `int' in declaration of `gluBuild3DMipmaps' /usr/X11R6/include/GL/glu.h:274: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:275: error: syntax error before "gluCheckExtension" /usr/X11R6/include/GL/glu.h:275: warning: type defaults to `int' in declaration of `GLubyte' /usr/X11R6/include/GL/glu.h:275: error: syntax error before '*' token /usr/X11R6/include/GL/glu.h:275: warning: type defaults to `int' in declaration of `gluCheckExtension' /usr/X11R6/include/GL/glu.h:275: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:276: error: syntax error before "GLdouble" /usr/X11R6/include/GL/glu.h:280: error: syntax error before "GLdouble" /usr/X11R6/include/GL/glu.h:285: error: syntax error before '*' token /usr/X11R6/include/GL/glu.h:285: error: syntax error before "error" /usr/X11R6/include/GL/glu.h:285: warning: type defaults to `int' in declaration of `gluErrorString' /usr/X11R6/include/GL/glu.h:285: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:286: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:287: error: syntax error before '*' token /usr/X11R6/include/GL/glu.h:287: error: syntax error before "name" /usr/X11R6/include/GL/glu.h:287: warning: type defaults to `int' in declaration of `gluGetString' /usr/X11R6/include/GL/glu.h:287: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:288: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:289: warning: type defaults to `int' in declaration of `GLfloat' /usr/X11R6/include/GL/glu.h:289: error: syntax error before '*' token /usr/X11R6/include/GL/glu.h:290: error: syntax error before "eyeX" /usr/X11R6/include/GL/glu.h:294: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:295: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:298: error: syntax error before "GLint" /usr/X11R6/include/GL/glu.h:299: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:300: error: syntax error before "GLint" /usr/X11R6/include/GL/glu.h:301: error: syntax error before "left" /usr/X11R6/include/GL/glu.h:302: error: syntax error before "GLdouble" /usr/X11R6/include/GL/glu.h:303: error: syntax error before "fovy" /usr/X11R6/include/GL/glu.h:304: error: syntax error before "x" /usr/X11R6/include/GL/glu.h:305: error: syntax error before "gluProject" /usr/X11R6/include/GL/glu.h:305: error: syntax error before "objX" /usr/X11R6/include/GL/glu.h:305: warning: type defaults to `int' in declaration of `gluProject' /usr/X11R6/include/GL/glu.h:305: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:306: error: syntax error before "GLint" /usr/X11R6/include/GL/glu.h:307: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:308: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:309: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:310: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:311: error: syntax error before "GLboolean" /usr/X11R6/include/GL/glu.h:312: error: syntax error before "gluScaleImage" /usr/X11R6/include/GL/glu.h:312: error: syntax error before "format" /usr/X11R6/include/GL/glu.h:312: warning: type defaults to `int' in declaration of `gluScaleImage' /usr/X11R6/include/GL/glu.h:312: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:313: error: syntax error before "GLdouble" /usr/X11R6/include/GL/glu.h:316: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:319: error: syntax error before "GLdouble" /usr/X11R6/include/GL/glu.h:320: error: syntax error before "GLenum" /usr/X11R6/include/GL/glu.h:321: error: syntax error before "GLdouble" /usr/X11R6/include/GL/glu.h:322: error: syntax error before "gluUnProject" /usr/X11R6/include/GL/glu.h:322: error: syntax error before "winX" /usr/X11R6/include/GL/glu.h:322: warning: type defaults to `int' in declaration of `gluUnProject' /usr/X11R6/include/GL/glu.h:322: warning: data definition has no type or storage class /usr/X11R6/include/GL/glu.h:323: error: syntax error before "gluUnProject4" /usr/X11R6/include/GL/glu.h:323: error: syntax error before "winX" /usr/X11R6/include/GL/glu.h:323: warning: type defaults to `int' in declaration of `gluUnProject4' /usr/X11R6/include/GL/glu.h:323: warning: data definition has no type or storage class lqtplay.c:33:20: GL/glx.h: No such file or directory lqtplay.c:398: error: syntax error before "tex" lqtplay.c:398: warning: type defaults to `int' in declaration of `tex' lqtplay.c:398: warning: data definition has no type or storage class lqtplay.c:399: error: `GLX_RGBA' undeclared here (not in a function) lqtplay.c:399: error: initializer element is not constant lqtplay.c:399: error: (near initialization for `gl_attrib[0]') lqtplay.c:400: error: `GLX_RED_SIZE' undeclared here (not in a function) lqtplay.c:400: error: initializer element is not constant lqtplay.c:400: error: (near initialization for `gl_attrib[1]') lqtplay.c:401: error: `GLX_GREEN_SIZE' undeclared here (not in a function) lqtplay.c:401: error: initializer element is not constant lqtplay.c:401: error: (near initialization for `gl_attrib[3]') lqtplay.c:402: error: `GLX_BLUE_SIZE' undeclared here (not in a function) lqtplay.c:402: error: initializer element is not constant lqtplay.c:402: error: (near initialization for `gl_attrib[5]') lqtplay.c:403: error: `GLX_DOUBLEBUFFER' undeclared here (not in a function) lqtplay.c:403: error: initializer element is not constant lqtplay.c:403: error: (near initialization for `gl_attrib[7]') lqtplay.c: In function `gl_resize': lqtplay.c:408: warning: implicit declaration of function `glViewport' lqtplay.c:409: warning: implicit declaration of function `glMatrixMode' lqtplay.c:409: error: `GL_PROJECTION' undeclared (first use in this function) lqtplay.c:409: error: (Each undeclared identifier is reported only once lqtplay.c:409: error: for each function it appears in.) lqtplay.c:410: warning: implicit declaration of function `glLoadIdentity' lqtplay.c:412: error: `GL_MODELVIEW' undeclared (first use in this function) lqtplay.c: In function `gl_blit': lqtplay.c:424: warning: implicit declaration of function `glGenTextures' lqtplay.c:425: warning: implicit declaration of function `glBindTexture' lqtplay.c:425: error: `GL_TEXTURE_2D' undeclared (first use in this function) lqtplay.c:426: warning: implicit declaration of function `glTexParameteri' lqtplay.c:426: error: `GL_TEXTURE_MAG_FILTER' undeclared (first use in this function) lqtplay.c:426: error: `GL_LINEAR' undeclared (first use in this function) lqtplay.c:427: error: `GL_TEXTURE_MIN_FILTER' undeclared (first use in this function) lqtplay.c:430: warning: implicit declaration of function `glTexImage2D' lqtplay.c:430: error: `GL_RGB' undeclared (first use in this function) lqtplay.c:431: error: `GL_UNSIGNED_BYTE' undeclared (first use in this function) lqtplay.c:434: warning: implicit declaration of function `glTexSubImage2D' lqtplay.c:439: warning: implicit declaration of function `glEnable' lqtplay.c:440: warning: implicit declaration of function `glTexEnvf' lqtplay.c:440: error: `GL_TEXTURE_ENV' undeclared (first use in this function) lqtplay.c:440: error: `GL_TEXTURE_ENV_MODE' undeclared (first use in this function) lqtplay.c:440: error: `GL_DECAL' undeclared (first use in this function) lqtplay.c:441: warning: implicit declaration of function `glBegin' lqtplay.c:441: error: `GL_QUADS' undeclared (first use in this function) lqtplay.c:442: warning: implicit declaration of function `glTexCoord2f' lqtplay.c:442: warning: implicit declaration of function `glVertex3f' lqtplay.c:446: warning: implicit declaration of function `glEnd' lqtplay.c:447: warning: implicit declaration of function `glXSwapBuffers' lqtplay.c:448: warning: implicit declaration of function `glDisable' lqtplay.c: In function `gl_init': lqtplay.c:454: error: `GLXContext' undeclared (first use in this function) lqtplay.c:454: error: syntax error before "ctx" lqtplay.c:457: warning: implicit declaration of function `glXChooseVisual' lqtplay.c:459: warning: assignment makes pointer from integer without a cast lqtplay.c:464: error: `ctx' undeclared (first use in this function) lqtplay.c:464: warning: implicit declaration of function `glXCreateContext' lqtplay.c:465: warning: implicit declaration of function `glXMakeCurrent' lqtplay.c:467: warning: implicit declaration of function `glXIsDirect' lqtplay.c:472: warning: implicit declaration of function `glGetIntegerv' lqtplay.c:472: error: `GL_MAX_TEXTURE_SIZE' undeclared (first use in this function) lqtplay.c:488: warning: implicit declaration of function `glClearColor' lqtplay.c:489: warning: implicit declaration of function `glShadeModel' lqtplay.c:489: error: `GL_FLAT' undeclared (first use in this function) lqtplay.c:490: warning: implicit declaration of function `glPixelStorei' lqtplay.c:490: error: `GL_UNPACK_ALIGNMENT' undeclared (first use in this function) make[3]: *** [lqtplay.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/libquicktime-0.9.2/work/libquicktime-0.9.2/utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libquicktime-0.9.2/work/libquicktime-0.9.2/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libquicktime-0.9.2/work/libquicktime-0.9.2' make: *** [all] Error 2 !!! ERROR: media-libs/libquicktime-0.9.2 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message) this happens with xorg-x11. i did not test this with xfree86 Reproducible: Always Steps to Reproduce: 1. 2. 3. tux root # emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts artswrappersuid audiofile avi berkdb cdr crypt cups dv dvd dvdr encode esd faad flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib java jpeg kde libcaca libg++ libwww linguas_de lzw-tiff mad matroska mikmod mmx monkey motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl pic png python qt quicktime readline samba scanner sdl slang slp speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype usb wmf x86 xinerama xml xml2 xmms xv zlib"
this file is inclued in x11-base/xfree xfree-team any ideas ?
this installation has xorg-x11 instead of xfree
Theres some light: tux root # ls -l /usr/X11R6/include/GL/gl.h lrwxr-xr-x 1 root root 32 Apr 27 15:26 /usr/X11R6/include/GL/gl.h -> /usr/lib/opengl/ati/include/gl.h tux root # ls -l /usr/lib/opengl/ati/include lrwxrwxrwx 1 root root 16 Apr 10 17:15 /usr/lib/opengl/ati/include -> ../xfree/include tux root # ls /usr/lib/opengl/ ati xorg-x11 tux root # etcat -b /usr/lib/opengl/ati/include Searching for /usr/lib/opengl/ati/include in * ... media-video/ati-drivers-3.7.6 media-video/ati-drivers-3.7.6-r1 so this is a bad symlink from ati-drivers.
emerge again ati-drivers, the problem was fixed long ago, feel free to reopen the bug if I'm wrong.
On my powerbook with ati9600 I can't emerge ati-driver, and I'm having the same problem.
I solved as explained in bug 51142.