Compiling xf86-input-keyboard fails

Clemens Eisserer linuxhippy at gmail.com
Sun Feb 1 14:39:33 PST 2009


Hi,

I just tried to compile xorg/git with the xorg-git.sh shell script,
and it fails in xf86-input-keyboard with the following error:

kbd.c: In function 'KbdProc':
kbd.c:567: warning: passing argument 1 of 'InitKeyboardDeviceStruct'
from incompatible pointer type
kbd.c:567: warning: passing argument 2 of 'InitKeyboardDeviceStruct'
from incompatible pointer type
kbd.c:567: warning: passing argument 3 of 'InitKeyboardDeviceStruct'
from incompatible pointer type
kbd.c:567: warning: passing argument 4 of 'InitKeyboardDeviceStruct'
from incompatible pointer type
kbd.c:567: error: too many arguments to function 'InitKeyboardDeviceStruct'
kbd.c: In function 'PostKbdEvent':
kbd.c:699: error: 'KeyClassRec' has no member named 'state'
kbd.c:702: error: 'KeyClassRec' has no member named 'state'
kbd.c:714: error: 'KeyClassRec' has no member named 'state'
kbd.c:726: error: 'KeyClassRec' has no member named 'curKeySyms'
kbd.c:727: error: 'KeyClassRec' has no member named 'curKeySyms'
kbd.c:728: error: 'KeyClassRec' has no member named 'curKeySyms'
kbd.c:791: error: 'KeyClassRec' has no member named 'modifierMap'
kbd.c:847: error: 'KeyClassRec' has no member named 'modifierMap'
kbd.c:854: error: 'KeyClassRec' has no member named 'modifierKeyMap'
kbd.c:854: error: 'KeyClassRec' has no member named 'maxKeysPerModifier'
kbd.c:857: error: 'KeyClassRec' has no member named 'modifierKeyMap'
kbd.c:857: error: 'KeyClassRec' has no member named 'maxKeysPerModifier'
kbd.c: At top level:
kbd.c:863: warning: 'ModuleInfoRec' is deprecated

Any idea what could be wrong?

Thank you in advance, Clemens



More information about the xorg mailing list