evdev-2.0.6 error: field `absinfo' has incomplete type

Andrew Haninger ahaning at mindspring.com
Sat Oct 11 15:37:23 PDT 2008


On Sat, Oct 11, 2008 at 7:34 AM, Simon Thum <simon.thum at gmx.de> wrote:
> I'm not sure how slackware works here, but have you checked your linux
> headers (usually /usr/include/linux) are up to date as well?
Thanks for pointing this out. I noticed that input.h was different
between /usr/include/linux and /usr/src/linux-2.6.25.9/include/linux
so I backed up /usr/include/linux and symlinked
/usr/src/linux-2.6.25.9/include/linux to that location.

root at box:/usr/src/xorg/7.4# ls -l /usr/include | grep linux
lrwxrwxrwx  1 root root     37 2008-10-11 10:47 linux ->
/usr/src/linux-2.6.25.9/include/linux
-rw-r--r--  1 root root 917941 2008-10-11 10:45 linux.bak.tar.bz2
root at box:/usr/src/xorg/7.4#

evdev is building now, but xf86-input-keyboard-1.3.1 is not.

lnx_kbd.c: In function `KDKBDREP_ioctl_ok':
lnx_kbd.c:106: error: structure has no member named `rate'
lnx_kbd.c:114: error: structure has no member named `rate'
lnx_kbd.c:116: error: structure has no member named `rate'
lnx_kbd.c:117: error: structure has no member named `rate'
lnx_kbd.c:118: error: structure has no member named `rate'
make[2]: *** [lnx_kbd.lo] Error 1
make[2]: Leaving directory `/usr/src/xorg/7.4/xf86-input-keyboard-1.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xorg/7.4/xf86-input-keyboard-1.3.1'
make: *** [all] Error 2
root at box:/usr/src/xorg/7.4#

I tried updating my kernel sources to the latest (2.6.27) with no
luck. Googling produces http://bugs.gentoo.org/show_bug.cgi?id=51701.
Something there caught my eye:

"The struct member `rate' has been renamed to `period'."

Looking at the indicated lines in lnx_kbd.c, I've tried to change all
occurrences of "rate" to "period" but I think I'm getting in a little
over my head.

Am I heading in the wrong direction?

Andy



More information about the xorg mailing list