+ -
当前位置:首页 → 问答吧 → 编译 xf86-input-calcomp-1.1.0出错,请指教

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

时间:2008-01-13

来源:互联网

编译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了一下,网上提出这个问题的倒是有,解决方法没有找到。
请高手帮忙解决一下。

代码:
make all-recursive
make[1]: Entering directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0'
Making all in src
make[2]: Entering directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0/src'
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; \
then mv -f ".deps/xf86Calcomp.Tpo" ".deps/xf86Calcomp.Plo"; else rm -f ".deps/xf86Calcomp.Tpo"; exit 1; fi
 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
xf86Calcomp.c:47:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
 from xf86Calcomp.c:37:
/usr/include/xorg/xorg-server.h:69:1: warning: this is the location of the previous definition
xf86Calcomp.c: In function 'CalcompPreInit':
xf86Calcomp.c:682: error: 'TS_Raw' undeclared (first use in this function)
xf86Calcomp.c:682: error: (Each undeclared identifier is reported only once
xf86Calcomp.c:682: error: for each function it appears in.)
xf86Calcomp.c:684: error: 'TS_Scaled' undeclared (first use in this function)
make[2]: *** [xf86Calcomp.lo] Error 1
make[2]: Leaving directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/src/driver/xf86-input-calcomp-1.1.0'
make: *** [all] Error 2

作者: zhfg   发布时间: 2008-01-13

这么多人看,没有一个人回.不会吧.
太伤心了.
是我问得不好还是太简单?

作者: zhfg   发布时间: 2008-01-13

这个,最好配套编译的吧,别一个1.2,一个 1.1 的,我的理解。

作者: 晨想   发布时间: 2008-01-14