hal broken

Richard Pyne rpyne at kinfolk.org
Tue Dec 25 16:28:25 CET 2007


I was getting this:

make[5]: Entering directory `/usr/src/hal-0.5.10/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       -O2 -pipe -O2 -pipe -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.10/hald/linux/probing'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/hal-0.5.10/hald/linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/hal-0.5.10/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/hal-0.5.10/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/hal-0.5.10'
make: *** [all] Error 2
Creating /var/log/lunar/compile/hal-0.5.10.bz2
! Problem detected during BUILD


so I updated kernel-headers-2.6 and now I get this:


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       -O2 -pipe -O2 -pipe -Wall
-Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -MT linux_dvd_rw_utils.o -MD -MP -MF
.deps/linux_dvd_rw_utils.Tpo -c -o linux_dvd_rw_utils.o 
linux_dvd_rw_utils.c
linux_dvd_rw_utils.c:54:23: error: scsi/scsi.h: No such file or directory
linux_dvd_rw_utils.c:55:21: error: scsi/sg.h: No such file or directory
linux_dvd_rw_utils.c:86: error: field 'sg_io' has incomplete type
linux_dvd_rw_utils.c:97: error: 'SG_DXFER_TO_DEV' undeclared here (not in 
a
function)
linux_dvd_rw_utils.c:98: error: 'SG_DXFER_FROM_DEV' undeclared here (not 
in
a function)
linux_dvd_rw_utils.c:99: error: 'SG_DXFER_NONE' undeclared here (not in a
function)
linux_dvd_rw_utils.c: In function 'scsi_command_transport':
linux_dvd_rw_utils.c:153: error: 'SG_IO' undeclared (first use in this
function)
linux_dvd_rw_utils.c:153: error: (Each undeclared identifier is reported
only once
linux_dvd_rw_utils.c:153: error: for each function it appears in.)
linux_dvd_rw_utils.c:156: error: 'SG_INFO_OK_MASK' undeclared (first use 
in
this function)
linux_dvd_rw_utils.c:156: error: 'SG_INFO_OK' undeclared (first use in 
this
function)
linux_dvd_rw_utils.c:159: error: 'CHECK_CONDITION' undeclared (first use 
in
this function)
linux_dvd_rw_utils.c: In function 'scsi_command_init':
linux_dvd_rw_utils.c:183: error: 'SG_FLAG_DIRECT_IO' undeclared (first use
in this function)
make[5]: *** [linux_dvd_rw_utils.o] Error 1
make[5]: Leaving directory `/usr/src/hal-0.5.10/hald/linux/probing'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/hal-0.5.10/hald/linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/hal-0.5.10/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/hal-0.5.10/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/hal-0.5.10'
make: *** [all] Error 2
Creating /var/log/lunar/compile/hal-0.5.10.bz2
! Problem detected during BUILD


--Richard


More information about the Lunar mailing list