- 论坛徽章:
- 0
|
編譯過程中, 系統告訴我說找不到gl.h這個文件. 我檢查過了, X11R7.0.tar.gz解壓出來就沒有這個文件, 可是編譯的時候硬是說要這個文件. 各位誰能幫忙看一下
In file included from dri.c:70:
../../../GL/glx/glxserver.h:64:19: GL/gl.h: No such file or directory
In file included from ../../../GL/glx/glxserver.h:66,
from dri.c:70:
/usr/local/glproto/include/GL/glxint.h:28:19: GL/gl.h: No such file or directory
In file included from ../../../GL/glx/glxserver.h:66,
from dri.c:70:
/usr/local/glproto/include/GL/glxint.h:95: error: syntax error before "GLboolean"
/usr/local/glproto/include/GL/glxint.h:95: warning: no semicolon at end of struct or union
/usr/local/glproto/include/GL/glxint.h:96: warning: type defaults to `int' in declaration of `colorIndexMode'
/usr/local/glproto/include/GL/glxint.h:96: warning: data definition has no type or storage class
/usr/local/glproto/include/GL/glxint.h:97: error: syntax error before "doubleBufferMode"
/usr/local/glproto/include/GL/glxint.h:97: warning: type defaults to `int' in declaration of `doubleBufferMode'
/usr/local/glproto/include/GL/glxint.h:97: warning: data definition has no type or storage class
/usr/local/glproto/include/GL/glxint.h:98: error: syntax error before "stereoMode"
In file included from ../../../GL/glx/glxscreens.h:47,
from ../../../GL/glx/glxserver.h:71,
from dri.c:70:
/usr/local/glproto/include/GL/internal/glcore.h:77: error: syntax error before "GLboolean"
/usr/local/glproto/include/GL/internal/glcore.h:77: warning: no semicolon at end of struct or union
/usr/local/glproto/include/GL/internal/glcore.h:78: warning: type defaults to `int' in declaration of `floatMode'
/usr/local/glproto/include/GL/internal/glcore.h:78: warning: data definition has no type or storage class
/usr/local/glproto/include/GL/internal/glcore.h:79: error: syntax error before "colorIndexMode"
/usr/local/glproto/include/GL/internal/glcore.h:79: warning: type defaults to `int' in declaration of `colorIndexMode'
/usr/local/glproto/include/GL/internal/glcore.h:79: warning: data definition has no type or storage class
/usr/local/glproto/include/GL/internal/glcore.h:80: error: syntax error before "doubleBufferMode"
/usr/local/glproto/include/GL/internal/glcore.h:80: warning: type defaults to `int' in declaration of `doubleBufferMode'
/usr/local/glproto/include/GL/internal/glcore.h:80: warning: data definition has no type or storage class
In file included from ../../../GL/glx/glxserver.h:71,
from dri.c:70:
../../../GL/glx/glxscreens.h:67: error: syntax error before "__GLcontextModes"
../../../GL/glx/glxscreens.h:68: warning: function declaration isn't a prototype
../../../GL/glx/glxscreens.h:80: error: syntax error before "__GLcontextModes"
../../../GL/glx/glxscreens.h:80: warning: no semicolon at end of struct or union
../../../GL/glx/glxscreens.h:83: error: syntax error before "numVisuals"
../../../GL/glx/glxscreens.h:83: warning: type defaults to `int' in declaration of `numVisuals'
../../../GL/glx/glxscreens.h:83: warning: data definition has no type or storage class
../../../GL/glx/glxscreens.h:84: error: syntax error before "numUsableVisuals"
../../../GL/glx/glxscreens.h:84: warning: type defaults to `int' in declaration of `numUsableVisuals'
../../../GL/glx/glxscreens.h:84: warning: data definition has no type or storage class
../../../GL/glx/glxscreens.h:97: error: syntax error before '}' token
In file included from ../../../GL/glx/glxserver.h:73,
from dri.c:70:
../../../GL/glx/glxcontext.h:74: error: syntax error before "__GLcontextModes"
../../../GL/glx/glxcontext.h:74: warning: no semicolon at end of struct or union
../../../GL/glx/glxcontext.h:81: error: syntax error before '*' token
../../../GL/glx/glxcontext.h:81: warning: type defaults to `int' in declaration of `pGlxScreen'
../../../GL/glx/glxcontext.h:81: warning: data definition has no type or storage class
../../../GL/glx/glxcontext.h:106: error: syntax error before "screen"
../../../GL/glx/glxcontext.h:106: warning: type defaults to `int' in declaration of `screen'
../../../GL/glx/glxcontext.h:106: warning: data definition has no type or storage class
../../../GL/glx/glxcontext.h:111: error: syntax error before "idExists"
../../../GL/glx/glxcontext.h:111: warning: type defaults to `int' in declaration of `idExists'
../../../GL/glx/glxcontext.h:111: warning: data definition has no type or storage class
../../../GL/glx/glxcontext.h:116: error: syntax error before "isCurrent"
../../../GL/glx/glxcontext.h:116: warning: type defaults to `int' in declaration of `isCurrent'
../../../GL/glx/glxcontext.h:116: warning: data definition has no type or storage class
../../../GL/glx/glxcontext.h:121: error: syntax error before "isDirect"
In file included from dri.c:70:
../../../GL/glx/glxserver.h:97: error: syntax error before '*' token
../../../GL/glx/glxserver.h:97: warning: type defaults to `int' in declaration of `__glXActiveScreens'
../../../GL/glx/glxserver.h:97: warning: data definition has no type or storage class
../../../GL/glx/glxserver.h:98: error: syntax error before "__glXNumActiveScreens"
../../../GL/glx/glxserver.h:98: warning: type defaults to `int' in declaration of `__glXNumActiveScreens'
../../../GL/glx/glxserver.h:98: warning: data definition has no type or storage class
../../../GL/glx/glxserver.h:99: error: syntax error before '*' token
dri.c: In function `DRICreateDummyContext':
dri.c:786: error: `pGLXScreen' undeclared (first use in this function)
dri.c:786: error: (Each undeclared identifier is reported only once
dri.c:786: error: for each function it appears in.)
dri.c:787: error: invalid operands to binary *
dri.c:800: error: request for member `visualID' in something not a structure or union
dri.c: In function `DRICreateContext':
dri.c:850: error: `pGLXScreen' undeclared (first use in this function)
dri.c:851: error: invalid operands to binary *
dri.c:865: error: request for member `next' in something not a structure or union
dri.c:866: error: request for member `visualID' in something not a structure or union
dri.c: At top level:
/usr/local/glproto/include/GL/internal/glcore.h:353: error: storage size of `frontBuffer' isn't known
/usr/local/glproto/include/GL/internal/glcore.h:354: error: storage size of `backBuffer' isn't known
/usr/local/glproto/include/GL/internal/glcore.h:355: error: storage size of `accumBuffer' isn't known
/usr/local/glproto/include/GL/internal/glcore.h:356: error: storage size of `depthBuffer' isn't known
/usr/local/glproto/include/GL/internal/glcore.h:357: error: storage size of `stencilBuffer' isn't known
/usr/local/glproto/include/GL/internal/glcore.h:362: error: storage size of `ownershipRegion' isn't known
../../../GL/glx/glxdrawable.h:104: error: storage size of `glPriv' isn't known
make[4]: *** [libdri_la-dri.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1 |
|