hal-0.5.9.1 build problem

Treeve Jelbert treeve at scarlet.be
Thu Jun 21 05:31:42 PDT 2007





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)
probe-input.c:61: error: (Each undeclared identifier is reported only
once
probe-input.c:61: error: for each function it appears in.)
probe-input.c:74: error: 'SW_LID' undeclared (first use in this
function)
probe-input.c:76: error: 'SW_TABLET_MODE' undeclared (first use in this
function)
probe-input.c:78: error: 'SW_HEADPHONE_INSERT' undeclared (first use in
this function)
probe-input.c:102: warning: implicit declaration of function 'EVIOCGSW'
probe-input.c:102: warning: nested extern declaration of 'EVIOCGSW'
probe-input.c:61: warning: unused variable 'bitmask'
make[5]: *** [probe-input.o] Error 1
make[5]: Leaving directory `/usr/src/hal-0.5.9.1/hald/linux/probing'




there is no trace of any include files with these names on my system.
this is a desktop machine, so I don't know why hal decided to build support 
for various laptops



a full compile log is attached

I have 
linux  2.6.21.5
dbus   1.0.2  
glib2  2.12.12
dbus-glib  0.73
udev   112
pciutils  2.2.5
parted    1.8.7
hwdata    0.200-1
hal-info  20070618
gcc    4.1.2
glibc  2.5





-- 
Regards, Treeve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-0.5.9.1.bz2
Type: application/x-bzip2
Size: 5998 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070621/2a46fcea/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/hal/attachments/20070621/2a46fcea/attachment.pgp 


More information about the hal mailing list