current git of xf86-input-keyboard doesnt build

Anders Juel Jensen andersjjensen at gmail.com
Sun Feb 8 21:33:01 PST 2009


Hey folks :-)
I don't know if this is the right list, but there is no "xorg-dev" list, nor a 
specific one for the input-* modules. And the bugzilla sink seems to have 
been dead for a year and a half.

I was trying to build the whole ball of wax according to: 
http://wiki.x.org/wiki/Development/git

xf86-input-keyboard was the only one that didn't build, but it is important 
enough that i cant really test the new graphics system :-/

Here is what it regurgitated at me:

root at rogue:/home/macavity/src/autobuild/xf86-input-keyboard# ../singlebuild
======================
configuring xf86-input-keyboard
======================
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/gfx-test/share/aclocal
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of 
AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of 
AM_PATH_GDK_IMLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of 
AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of 
AM_PATH_AALIB
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of 
AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of 
AM_PATH_GDK_IMLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of 
AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of 
AM_PATH_AALIB
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
src/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
checking if xorg-macros used to generate configure is at least 1.2... yes, 
1.2.1
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object 
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports 
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports 
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports 
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports 
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if XINPUT is defined... no
checking if XKB is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
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
======================
building xf86-input-keyboard
======================
make  all-recursive
make[1]: Entering directory `/home/macavity/src/autobuild/xf86-input-keyboard'
Making all in src
make[2]: Entering directory 
`/home/macavity/src/autobuild/xf86-input-keyboard/src'
if /bin/sh ../libtool --tag=CC --mode=compile 
gcc -DHAVE_CONFIG_H -I. -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/opt/gfx-test/include/xorg -I/opt/gfx-test/include/pixman-1 -I/opt/gfx-test/include   -g -O2 -MT 
kbd.lo -MD -MP -MF ".deps/kbd.Tpo" -c -o kbd.lo kbd.c; \
        then mv -f ".deps/kbd.Tpo" ".deps/kbd.Plo"; else 
rm -f ".deps/kbd.Tpo"; exit 1; fi
if /bin/sh ../libtool --tag=CC --mode=compile 
gcc -DHAVE_CONFIG_H -I. -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/opt/gfx-test/include/xorg -I/opt/gfx-test/include/pixman-1 -I/opt/gfx-test/include   -g -O2 -MT 
lnx_KbdMap.lo -MD -MP -MF ".deps/lnx_KbdMap.Tpo" -c -o lnx_KbdMap.lo 
lnx_KbdMap.c; \
        then mv -f ".deps/lnx_KbdMap.Tpo" ".deps/lnx_KbdMap.Plo"; else 
rm -f ".deps/lnx_KbdMap.Tpo"; exit 1; fi
if /bin/sh ../libtool --tag=CC --mode=compile 
gcc -DHAVE_CONFIG_H -I. -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/opt/gfx-test/include/xorg -I/opt/gfx-test/include/pixman-1 -I/opt/gfx-test/include   -g -O2 -MT 
lnx_kbd.lo -MD -MP -MF ".deps/lnx_kbd.Tpo" -c -o lnx_kbd.lo lnx_kbd.c; \
        then mv -f ".deps/lnx_kbd.Tpo" ".deps/lnx_kbd.Plo"; else 
rm -f ".deps/lnx_kbd.Tpo"; exit 1; fi
mkdir .libs
 
gcc -DHAVE_CONFIG_H -I. -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/opt/gfx-test/include/xorg -I/opt/gfx-test/include/pixman-1 -I/opt/gfx-test/include -g -O2 -MT 
kbd.lo -MD -MP -MF .deps/kbd.Tpo -c kbd.c  -fPIC -DPIC -o .libs/kbd.o
 
gcc -DHAVE_CONFIG_H -I. -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/opt/gfx-test/include/xorg -I/opt/gfx-test/include/pixman-1 -I/opt/gfx-test/include -g -O2 -MT 
lnx_KbdMap.lo -MD -MP -MF .deps/lnx_KbdMap.Tpo -c 
lnx_KbdMap.c  -fPIC -DPIC -o .libs/lnx_KbdMap.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
 
gcc -DHAVE_CONFIG_H -I. -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/opt/gfx-test/include/xorg -I/opt/gfx-test/include/pixman-1 -I/opt/gfx-test/include -g -O2 -MT 
lnx_kbd.lo -MD -MP -MF .deps/lnx_kbd.Tpo -c 
lnx_kbd.c  -fPIC -DPIC -o .libs/lnx_kbd.o
make[2]: *** [kbd.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/home/macavity/src/autobuild/xf86-input-keyboard/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/macavity/src/autobuild/xf86-input-keyboard'
make: *** [all] Error 2
Failed to build xf86-input-keyboard.
root at rogue:/home/macavity/src/autobuild/xf86-input-keyboard#                                



More information about the xorg mailing list