evdev.c doesn't compile

Fabrice DELENTE fdelente at mail.cpod.fr
Wed Oct 7 08:17:09 PDT 2009


Hello.

I'm in the process of ugrading to xorg 1.7.0.

I need to recompile xf86-input-evdev, but I get these errors:

evdev.c: In function 'EvdevReopenTimer':
evdev.c:192: error: too few arguments to function 'DisableDevice'
evdev.c:206: error: too few arguments to function 'DisableDevice'
evdev.c: In function 'EvdevAddKeyClass':
evdev.c:728: warning: passing argument 1 of 'InitKeyboardDeviceStruct' from
incompatible pointer type
evdev.c:728: warning: passing argument 2 of 'InitKeyboardDeviceStruct' from
incompatible pointer type
evdev.c:728: warning: passing argument 3 of 'InitKeyboardDeviceStruct' from
incompatible pointer type
evdev.c:728: error: too many arguments to function 'InitKeyboardDeviceStruct'
evdev.c: In function 'EvdevAddAbsClass':
evdev.c:796: warning: passing argument 3 of 'InitValuatorClassDeviceStruct'
makes pointer from integer without a cast
evdev.c:796: error: too few arguments to function
'InitValuatorClassDeviceStruct'
evdev.c:801: error: too few arguments to function 'xf86InitValuatorAxisStruct'
evdev.c:806: error: too few arguments to function 'xf86InitValuatorAxisStruct'
evdev.c: In function 'EvdevAddRelClass':
evdev.c:829: warning: passing argument 3 of 'InitValuatorClassDeviceStruct'
makes pointer from integer without a cast
evdev.c:829: error: too few arguments to function
'InitValuatorClassDeviceStruct'
evdev.c:833: error: too few arguments to function 'xf86InitValuatorAxisStruct'
evdev.c:837: error: too few arguments to function 'xf86InitValuatorAxisStruct'
evdev.c: In function 'EvdevAddButtonClass':
evdev.c:864: warning: passing argument 3 of 'InitButtonClassDeviceStruct'
from incompatible pointer type
evdev.c:864: error: too few arguments to function
'InitButtonClassDeviceStruct'
evdev.c: In function 'EvdevPreInit':
evdev.c:1306: error: 'noXkbExtension' undeclared (first use in this function)
evdev.c:1306: error: (Each undeclared identifier is reported only once
evdev.c:1306: error: for each function it appears in.)
make[2]: *** [evdev.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/emuMB.Tpo .deps/emuMB.Plo
make[2]: Leaving directory
/usr/local/testSpace/intel/xf86-input-evdev-2.0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /usr/local/testSpace/intel/xf86-input-evdev-2.0.8'
make: *** [all] Error 2

What do I need to upgrade to solve these?

Thanks.

-- 
Fabrice DELENTE



More information about the xorg mailing list