LinuxSir.cn,穿越时空的Linuxsir!

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

编译 xf86-input-calcomp-1.1.0出错,请指教

[复制链接]
发表于 2008-1-13 17:04:43 | 显示全部楼层 |阅读模式
编译xorg7.3到driver 部分
之前 driver/xf86-input-acecad-1.2.0也不能编译通过,
后来拷贝xserver-1.2.0的xf86Xinput.h到/usr/include/xorg 替换原来的,
才得以编译到了 xf86-input-calcomp-1.1.0
可是出现下面的错误, google了一下,网上提出这个问题的倒是有,解决方法没有找到。
请高手帮忙解决一下。


  1. make  all-recursive
  2. make[1]: Entering directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0'
  3. Making all in src
  4. make[2]: Entering directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0/src'
  5. if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1    -I../src -MT xf86Calcomp.lo -MD -MP -MF ".deps/xf86Calcomp.Tpo" -c -o xf86Calcomp.lo xf86Calcomp.c; \
  6. then mv -f ".deps/xf86Calcomp.Tpo" ".deps/xf86Calcomp.Plo"; else rm -f ".deps/xf86Calcomp.Tpo"; exit 1; fi
  7. gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT xf86Calcomp.lo -MD -MP -MF .deps/xf86Calcomp.Tpo -c xf86Calcomp.c  -fPIC -DPIC -o .libs/xf86Calcomp.o
  8. xf86Calcomp.c:47:1: warning: "NEED_XF86_TYPES" redefined
  9. In file included from ../config.h:4,
  10.                  from xf86Calcomp.c:37:
  11. /usr/include/xorg/xorg-server.h:69:1: warning: this is the location of the previous definition
  12. xf86Calcomp.c: In function 'CalcompPreInit':
  13. xf86Calcomp.c:682: error: 'TS_Raw' undeclared (first use in this function)
  14. xf86Calcomp.c:682: error: (Each undeclared identifier is reported only once
  15. xf86Calcomp.c:682: error: for each function it appears in.)
  16. xf86Calcomp.c:684: error: 'TS_Scaled' undeclared (first use in this function)
  17. make[2]: *** [xf86Calcomp.lo] Error 1
  18. make[2]: Leaving directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0/src'
  19. make[1]: *** [all-recursive] Error 1
  20. make[1]: Leaving directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0'
  21. make: *** [all] Error 2
复制代码
 楼主| 发表于 2008-1-13 18:33:47 | 显示全部楼层
这么多人看,没有一个人回.不会吧.
太伤心了.
是我问得不好还是太简单?
回复 支持 反对

使用道具 举报

发表于 2008-1-14 00:41:45 | 显示全部楼层
这个,最好配套编译的吧,别一个1.2,一个 1.1 的,我的理解。
回复 支持 反对

使用道具 举报

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

本版积分规则

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