Recent input changes

Joel Feiner jafeiner at gmail.com
Sat Jan 24 12:55:04 PST 2009


xf86-input-keyboard also doesn't build with similar errors:

> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -fvisibility=hidden -I/usr/local/xorg/include/xorg -I/usr/local/xorg/include/pixman-1 -O2 -pipe -fomit-frame-pointer -mtune=pentium-m -march=pentium-m -c kbd.c  -fPIC -DPIC -o .libs/kbd.o
> 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

I have, of course, checked out the latest items in proto/ and lib/, but 
to no avail.

Ben Gamari wrote:
> Hey all,
>
> Recent xserver master has been failing to build. In particular, it looks
> like someone might have forgotten to commit a header file,
>
>> Keyboard.c: In function ‘xnestKeyboardProc’:
>> Keyboard.c:177: warning: passing argument 1 of ‘XkbSetRulesDflts’ from incompatible pointer type
>> Keyboard.c:177: error: too many arguments to function ‘XkbSetRulesDflts’
>> Keyboard.c:178: warning: implicit declaration of function ‘XkbInitKeyboardDeviceStruct’
>> Keyboard.c:178: warning: nested extern declaration of ‘XkbInitKeyboardDeviceStruct’
>> Keyboard.c:206: warning: passing argument 1 of ‘InitKeyboardDeviceStruct’ from incompatible pointer type
>> Keyboard.c:206: warning: passing argument 2 of ‘InitKeyboardDeviceStruct’ from incompatible pointer type
>> Keyboard.c:122: warning: unused variable ‘j’
>> Keyboard.c:117: warning: unused variable ‘modifier_keymap’
>> Keyboard.c: In function ‘xnestUpdateModifierState’:
>> Keyboard.c:227: error: ‘struct _KeyClassRec’ has no member named ‘state’
>> Keyboard.c:235: error: ‘struct _KeyClassRec’ has no member named ‘state’
>> Keyboard.c:256: error: ‘struct _KeyClassRec’ has no member named ‘state’
>
> Moreover, it seems that evdev is also having issues, being unbuildable
> since Peter Hutterer's commit 1906e4d5 based on the patch he sent out on
> 19 Jan 2009 ("[PATCH] Xi: define a default range of axis labels").
> Again, the patch he sent out includes the necessary changes to the
> include files so it seems that they just never made it into the commit:
>
>> evdev.c: In function ‘EvdevInitProperty’:
>> evdev.c:1745: error: ‘AXIS_LABEL_PROP’ undeclared (first use in this function)
>> evdev.c:1745: error: (Each undeclared identifier is reported only once
>> evdev.c:1745: error: for each function it appears in.)
>> evdev.c:1751: error: ‘AXIS_LABEL_PROP_REL_X’ undeclared (first use in this function)
>> evdev.c:1756: error: ‘AXIS_LABEL_PROP_ABS_X’ undeclared (first use in this function)
>> evdev.c:1763: error: ‘AXIS_LABEL_PROP_REL_Y’ undeclared (first use in this function)
>> evdev.c:1768: error: ‘AXIS_LABEL_PROP_ABS_Y’ undeclared (first use in this function)
>> evdev.c:1775: error: ‘AXIS_LABEL_PROP_ABS_PRESSURE’ undeclared (first use in this function)
>
> Just figured I'd make sure this was known. Thanks,
>
> - Ben
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg



More information about the xorg mailing list