Recent input changes
Dan Nicholson
dbn.lists at gmail.com
Sat Jan 24 13:15:30 PST 2009
On Sat, Jan 24, 2009 at 12:47 PM, Ben Gamari <bgamari at gmail.com> 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'
Workaround with --disable-xnest for now. Daniel just tore a ton of
crap out of XKB, and there are some things in bad shape.
> 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,
Peter pushed his patch to get those defined in xserver-properties.h.
Should be fixed on xserver HEAD.
--
Dan
More information about the xorg
mailing list