Error compiling input devices
S. J. van Harmelen
svh at dds.nl
Sat Dec 15 02:42:52 PST 2007
Hello everyone...
I'm trying to compile Xorg7.3 from source using the
build-from-tarballs.sh script. I seem to get quit far, but when it
reaches the input devices I get these errors for (as far as I looked at
it) all input devices:
==============================================================================
make[1]: Entering directory `/tmp/tarballs/xf86-input-evdev-1.1.2'
Making all in src
make[2]: Entering directory `/tmp/tarballs/xf86-input-evdev-1.1.2/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -Wall -g -O2 -I/tmp/modular/include/xorg
-I/usr/local/include/pixman-1 -I/tmp/modular/include -I../src -MT
evdev_drv_la-evdev.lo -MD -MP -MF ".deps/evdev_drv_la-evdev.Tpo" -c -o
evdev_drv_la-evdev.lo `test -f 'evdev.c' || echo './'`evdev.c; \
then mv -f ".deps/evdev_drv_la-evdev.Tpo"
".deps/evdev_drv_la-evdev.Plo"; else rm -f
".deps/evdev_drv_la-evdev.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2
-I/tmp/modular/include/xorg -I/usr/local/include/pixman-1
-I/tmp/modular/include -I../src -MT evdev_drv_la-evdev.lo -MD -MP
-MF .deps/evdev_drv_la-evdev.Tpo -c evdev.c -fPIC -DPIC
-o .libs/evdev_drv_la-evdev.o
In file included from evdev.h:66,
from evdev.c:66:
/usr/include/linux/input.h:801: error: parse error before
"kernel_ulong_t"
/usr/include/linux/input.h:805: error: parse error before "evbit"
/usr/include/linux/input.h:805: error: `BITS_PER_LONG' undeclared here
(not in a function)
/usr/include/linux/input.h:806: error: parse error before "keybit"
/usr/include/linux/input.h:807: error: parse error before "relbit"
/usr/include/linux/input.h:808: error: parse error before "absbit"
/usr/include/linux/input.h:809: error: parse error before "mscbit"
/usr/include/linux/input.h:810: error: parse error before "ledbit"
/usr/include/linux/input.h:811: error: parse error before "sndbit"
/usr/include/linux/input.h:812: error: parse error before "ffbit"
/usr/include/linux/input.h:813: error: parse error before "swbit"
/usr/include/linux/input.h:815: error: parse error before "driver_info"
evdev.c: In function `EvdevReadInput':
evdev.c:95: warning: long int format, unsigned int arg (arg 6)
evdev.c: In function `EvdevSwitchMode':
evdev.c:239: warning: implicit declaration of function
`xf86XInputSetSendCoreEvents'
evdev.c: In function `EvdevNew':
evdev.c:267: error: structure has no member named `motion_history_proc'
evdev.c: In function `EvdevParseBits':
evdev.c:348: warning: implicit declaration of function `set_bit'
evdev.c: At top level:
/usr/include/linux/input.h:805: error: storage size of `evbit' isn't
known
/usr/include/linux/input.h:806: error: storage size of `keybit' isn't
known
/usr/include/linux/input.h:807: error: storage size of `relbit' isn't
known
/usr/include/linux/input.h:808: error: storage size of `absbit' isn't
known
/usr/include/linux/input.h:809: error: storage size of `mscbit' isn't
known
/usr/include/linux/input.h:810: error: storage size of `ledbit' isn't
known
/usr/include/linux/input.h:811: error: storage size of `sndbit' isn't
known
/usr/include/linux/input.h:812: error: storage size of `ffbit' isn't
known
/usr/include/linux/input.h:813: error: storage size of `swbit' isn't
known
make[2]: *** [evdev_drv_la-evdev.lo] Error 1
make[2]: Leaving directory `/tmp/tarballs/xf86-input-evdev-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/tarballs/xf86-input-evdev-1.1.2'
make: *** [all] Error 2
==============================================================================
What to do about these? Do I need to update the input.h file?
Hope someone can point me in the right direction.
Thanks,
Sander
More information about the xorg
mailing list