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

Andrew Haninger ahaning at mindspring.com
Fri Oct 10 22:50:21 PDT 2008


Hello.

I'm attempting a build of Xorg 7.4. I've Google'd my way through
building Mesa-7.2 and several other places where my build stopped.
I've run into an error building xorg-input-evdev-2.0.6 and I'm not
able to find any productive information about it.

I have Slackware 11.0, gcc-3.4.6, and I'm running Linux 2.6.25.9 which
I guess isn't bleeding edge but I don't believe it's too old (?). I
downloaded /everything and have downloaded things as-needed from
/individual. I'm using build-from-tarballs.sh with the following
command-line:

../build-from-tarballs.sh -e -b -m /usr/src/xorg/Mesa-7.2/
/usr/src/xorg/build-7.4/ >& build.log

I run this command from /usr/src/xorg/7.4 which contains /everything
and selected files from /individual.

Here is the error I am receiving:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/usr/src/xorg/7.4/xf86-input-evdev-2.0.6'
Making all in src
make[2]: Entering directory `/usr/src/xorg/7.4/xf86-input-evdev-2.0.6/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..     -g -O2 -I/usr/src/xorg/build-7.4/include/xorg
-I/usr/src/xorg/build-7.4//include -I/usr/local/include/pixman-1
-I../src -MT evdev.lo -MD -MP -MF .deps/evdev.Tpo -c -o evdev.lo
evdev.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2
-I/usr/src/xorg/build-7.4/include/xorg
-I/usr/src/xorg/build-7.4//include -I/usr/local/include/pixman-1
-I../src -MT evdev.lo -MD -MP -MF .deps/evdev.Tpo -c evdev.c  -fPIC
-DPIC -o .libs/evdev.o
In file included from evdev.c:47:
evdev.h:85: error: field `absinfo' has incomplete type
evdev.c: In function `EvdevReadInput':
evdev.c:287: error: `KEY_OK' undeclared (first use in this function)
evdev.c:287: error: (Each undeclared identifier is reported only once
evdev.c:287: error: for each function it appears in.)
evdev.c: In function `EvdevAddAbsClass':
evdev.c:767: error: storage size of 'absinfo_x' isn't known
evdev.c:767: error: storage size of 'absinfo_y' isn't known
evdev.c: In function `EvdevCacheCompare':
evdev.c:1040: error: storage size of 'absinfo' isn't known
make[2]: *** [evdev.lo] Error 1
make[2]: Leaving directory `/usr/src/xorg/7.4/xf86-input-evdev-2.0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xorg/7.4/xf86-input-evdev-2.0.6'
make: *** [all] Error 2
root at box:/usr/src/xorg/7.4#

I have evdev compiled into the kernel:

root at box:/usr/src/linux-2.6.25.9# grep "EVDEV" .config
CONFIG_INPUT_EVDEV=y
root at box:/usr/src/linux-2.6.25.9#

I imagine there's a library or header file I'm missing or maybe some
relationship I'm not understanding, but I'm not sure which.

Thanks.

Andy



More information about the xorg mailing list