LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 742|回复: 1

xorg-server-1.0.1编译错误:`GLX_SWAP_METHOD_OML' undeclared

[复制链接]
发表于 2006-2-28 17:06:29 | 显示全部楼层 |阅读模式
GLX_SWAP_METHOD_OML在/usr/include/GL/glxext.h里有定义,
xorg-server源码的GL/glx目录下有glxext.h,但这个glxext.h里并没有定义改宏。
emerge -av xorg-x11时出的问题。

  1. 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
  2. glxcmds.c: In function `DoGetFBConfigs':
  3. glxcmds.c:1105: error: `GLX_SWAP_METHOD_OML' undeclared (first use in this function)
  4. glxcmds.c:1105: error: (Each undeclared identifier is reported only once
  5. glxcmds.c:1105: error: for each function it appears in.)
  6. make[2]: *** [glxcmds.lo] 错误 1
  7. make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL/glx'
  8. make[1]: *** [all-recursive] 错误 1
  9. make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL'
  10. make: *** [all-recursive] 错误 1
复制代码
 楼主| 发表于 2006-3-1 09:43:30 | 显示全部楼层
顶:help
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表