While emerging libquicktime, I get this:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/quicktime 
-I../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/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from lqtplay.c:32:
/usr/include/GL/glu.h:262: error: syntax error before '*' token
/usr/include/GL/glu.h:262: error: `GLvoid' declared as function returning a 
function
/usr/include/GL/glu.h:269: error: syntax error before "gluBuild1DMipmapLevels"
/usr/include/GL/glu.h:269: error: syntax error before "target"
/usr/include/GL/glu.h:270: error: syntax error before "gluBuild1DMipmaps"
/usr/include/GL/glu.h:270: error: syntax error before "target"
/usr/include/GL/glu.h:271: error: syntax error before "gluBuild2DMipmapLevels"
/usr/include/GL/glu.h:271: error: syntax error before "target"
/usr/include/GL/glu.h:272: error: syntax error before "gluBuild2DMipmaps"
/usr/include/GL/glu.h:272: error: syntax error before "target"
/usr/include/GL/glu.h:273: error: syntax error before "gluBuild3DMipmapLevels"
/usr/include/GL/glu.h:273: error: syntax error before "target"
/usr/include/GL/glu.h:274: error: syntax error before "gluBuild3DMipmaps"
/usr/include/GL/glu.h:274: error: syntax error before "target"
/usr/include/GL/glu.h:275: error: syntax error before "gluCheckExtension"
/usr/include/GL/glu.h:275: error: syntax error before '*' token
/usr/include/GL/glu.h:276: error: syntax error before "GLdouble"
/usr/include/GL/glu.h:280: error: syntax error before "GLdouble"
/usr/include/GL/glu.h:285: error: syntax error before '*' token
/usr/include/GL/glu.h:285: error: syntax error before "error"
/usr/include/GL/glu.h:286: error: syntax error before "GLenum"
/usr/include/GL/glu.h:287: error: syntax error before '*' token
/usr/include/GL/glu.h:287: error: syntax error before "name"
/usr/include/GL/glu.h:288: error: syntax error before "GLenum"
/usr/include/GL/glu.h:289: error: syntax error before '*' token
/usr/include/GL/glu.h:290: error: syntax error before "eyeX"
/usr/include/GL/glu.h:294: error: syntax error before "GLenum"
/usr/include/GL/glu.h:295: error: syntax error before "GLenum"
/usr/include/GL/glu.h:298: error: syntax error before "GLint"
/usr/include/GL/glu.h:299: error: syntax error before "GLenum"
/usr/include/GL/glu.h:300: error: syntax error before "GLint"
/usr/include/GL/glu.h:301: error: syntax error before "left"
/usr/include/GL/glu.h:302: error: syntax error before "GLdouble"
/usr/include/GL/glu.h:303: error: syntax error before "fovy"
/usr/include/GL/glu.h:304: error: syntax error before "x"
/usr/include/GL/glu.h:305: error: syntax error before "gluProject"
/usr/include/GL/glu.h:305: error: syntax error before "objX"
/usr/include/GL/glu.h:306: error: syntax error before "GLint"
/usr/include/GL/glu.h:307: error: syntax error before "GLenum"
/usr/include/GL/glu.h:308: error: syntax error before "GLenum"
/usr/include/GL/glu.h:309: error: syntax error before "GLenum"
/usr/include/GL/glu.h:310: error: syntax error before "GLenum"
/usr/include/GL/glu.h:311: error: syntax error before "GLboolean"
/usr/include/GL/glu.h:312: error: syntax error before "gluScaleImage"
/usr/include/GL/glu.h:312: error: syntax error before "format"
/usr/include/GL/glu.h:313: error: syntax error before "GLdouble"
/usr/include/GL/glu.h:316: error: syntax error before "GLenum"
/usr/include/GL/glu.h:319: error: syntax error before "GLdouble"
/usr/include/GL/glu.h:320: error: syntax error before "GLenum"
/usr/include/GL/glu.h:321: error: syntax error before "GLdouble"
/usr/include/GL/glu.h:322: error: syntax error before "gluUnProject"
/usr/include/GL/glu.h:322: error: syntax error before "winX"
/usr/include/GL/glu.h:323: error: syntax error before "gluUnProject4"
/usr/include/GL/glu.h:323: error: syntax error before "winX"
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
-- 
[email protected] mailing list

Reply via email to