|
|
GLX_SWAP_METHOD_OML在/usr/include/GL/glxext.h里有定义,
xorg-server源码的GL/glx目录下有glxext.h,但这个glxext.h里并没有定义改宏。
emerge -av xorg-x11时出的问题。
-
- i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.1-r4/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../lbx -O3 -march=pentium4 -pipe -fomit-frame-pointer -MT glxcmds.lo -MD -MP -MF .deps/glxcmds.Tpo -c glxcmds.c -fPIC -DPIC -o .libs/glxcmds.o
- glxcmds.c: In function `DoGetFBConfigs':
- glxcmds.c:1105: error: `GLX_SWAP_METHOD_OML' undeclared (first use in this function)
- glxcmds.c:1105: error: (Each undeclared identifier is reported only once
- glxcmds.c:1105: error: for each function it appears in.)
- make[2]: *** [glxcmds.lo] 错误 1
- make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL/glx'
- make[1]: *** [all-recursive] 错误 1
- make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL'
- make: *** [all-recursive] 错误 1
复制代码 |
|