LinuxSir.cn,穿越时空的Linuxsir!

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

编译xf86-input-evdev出错

[复制链接]
发表于 2010-5-15 16:32:33 | 显示全部楼层 |阅读模式
除了xf86-input-evdev外还有xf86-input-joystick和xf86-input-synaptics这两个驱动无法编译。不知道是什么问题,其它的驱动都是正常的

  1. xf86-input-evdev-2.3.0]# make
  2. make  all-recursive
  3. make[1]: Entering directory `/xorg/driver/xf86-input-evdev-2.3.0'
  4. Making all in src
  5. make[2]: Entering directory `/xorg/driver/xf86-input-evdev-2.3.0/src'
  6.   CC     evdev.lo
  7. In file included from evdev.c:47:
  8. evdev.h:173: error: array type has incomplete element type
  9. evdev.c: In function 'EvdevProcessKeyEvent':
  10. evdev.c:614: error: 'KEY_OK' undeclared (first use in this function)
  11. evdev.c:614: error: (Each undeclared identifier is reported only once
  12. evdev.c:614: error: for each function it appears in.)
  13. evdev.c: In function 'EvdevCacheCompare':
  14. evdev.c:1682: error: array type has incomplete element type
  15. evdev.c:1682: warning: unused variable 'absinfo'
  16. evdev.c: In function 'EvdevUtilButtonEventToButtonNumber':
  17. evdev.c:2226: error: 'KEY_OK' undeclared (first use in this function)
  18. make[2]: *** [evdev.lo] Error 1
  19. make[2]: Leaving directory `/xorg/driver/xf86-input-evdev-2.3.0/src'
  20. make[1]: *** [all-recursive] Error 1
  21. make[1]: Leaving directory `/xorg/driver/xf86-input-evdev-2.3.0'
  22. make: *** [all] Error 2
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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