LinuxSir.cn,穿越时空的Linuxsir!

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

abs xorg-server 1.0.2 make时出现错误

[复制链接]
发表于 2006-3-21 15:17:53 | 显示全部楼层 |阅读模式
在make的时候出现错误 不太明白???
pacman -Qo /usr/include/linux/agpgart.h
/usr/include/linux/agpgart.h is owned by glibc 2.3.6-2
难道是 glibc的问题???

  1. In file included from lnx_agp.c:24:
  2. /usr/include/linux/agpgart.h:55: error: syntax error before '  u16'
  3. /usr/include/linux/agpgart.h:60: error: field 'version' has incomplete type
  4. /usr/include/linux/agpgart.h:61: error: syntax error before '  u32'
  5. /usr/include/linux/agpgart.h:68: error: syntax error before '}' token
  6. /usr/include/linux/agpgart.h:71: error: syntax error before '  u32'
  7. /usr/include/linux/agpgart.h:92: error: syntax error before '  u32'
  8. /usr/include/linux/agpgart.h:106: error: syntax error before '  u32'
  9. lnx_agp.c: In function 'GARTInit':
  10. lnx_agp.c:65: error: storage size of 'agpinf' isn't known
  11. lnx_agp.c:65: warning: unused variable 'agpinf'
  12. lnx_agp.c: In function 'xf86GetAGPInfo':
  13. lnx_agp.c:129: error: storage size of 'agpinf' isn't known
  14. lnx_agp.c:129: warning: unused variable 'agpinf'
  15. lnx_agp.c: In function 'xf86AllocateGARTMemory':
  16. lnx_agp.c:221: error: storage size of 'alloc' isn't known
  17. lnx_agp.c:221: warning: unused variable 'alloc'
  18. lnx_agp.c: In function 'xf86UnbindGARTMemory':
  19. lnx_agp.c:324: error: storage size of 'unbind' isn't known
  20. lnx_agp.c:324: warning: unused variable 'unbind'
  21. lnx_agp.c: In function 'xf86EnableAGP':
  22. lnx_agp.c:356: error: syntax error before 'setup'
  23. lnx_agp.c:361: error: 'setup' undeclared (first use in this function)
  24. lnx_agp.c:361: error: (Each undeclared identifier is reported only once
  25. lnx_agp.c:361: error: for each function it appears in.)
  26. make[5]: *** [lnx_agp.lo] 错误 1
  27. make[5]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86/os-support/linux'
  28. make[4]: *** [all-recursive] 错误 1
  29. make[4]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86/os-support'
  30. make[3]: *** [all-recursive] 错误 1
  31. make[3]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86'
  32. make[2]: *** [all] 错误 2
  33. make[2]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86'
  34. make[1]: *** [all-recursive] 错误 1
  35. make[1]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw'
  36. make: *** [all-recursive] 错误 1
复制代码
 楼主| 发表于 2006-3-22 16:55:16 | 显示全部楼层
确认是glibc的问题
换成 glibc 2.3.5 编译通过了............
回复 支持 反对

使用道具 举报

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

本版积分规则

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