|
编译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
复制代码 |
|