hal-0.5.9.1 build problem

Dan Nicholson dbn.lists at gmail.com
Fri Jul 6 15:41:20 PDT 2007


On 6/21/07, Treeve Jelbert <treeve at scarlet.be> wrote:
>
> make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/linux/probing'
> gcc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\"
> -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
> -DPACKAGE_LOCALSTATEDIR=\""/var"\" -I../../.. -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include        -march=k8 -m32 -pipe -O3 -Wall
> -Wchar-subscripts -Wmissing-declarations -Wnested-externs
> -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-input.o -MD -MP
> -MF .deps/probe-input.Tpo -c -o probe-input.o probe-input.c
> probe-input.c: In function 'main':
> probe-input.c:61: error: 'SW_MAX' undeclared (first use in this
> function)

I'm pretty sure this is an issue with old kernel headers. This should
be defined in linux/input.h on newer headers. You probably want to
bring this up with your distro since the kernel headers are closely
tied to your toolchain.

--
Dan


More information about the hal mailing list