hal 0.5.0 compile and linux_dvd_rw_utils.o

Dennis Veatch dveatch at woh.rr.com
Mon Apr 18 03:36:53 PDT 2005


The compile goes fine till it gets to the linux_dvd_rw_utils and I am not sure 
what to do about it. Here is the problem area;

probe-storage.c:55: warning: no previous declaration for `volume_id_log'
if gcc -DHAVE_CONFIG_H -I. -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      -O2 -mcpu=i686 -march=i686 -mmmx -msse 
-mfpmath=sse,387 -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; \
then mv -f ".deps/linux_dvd_rw_utils.Tpo" ".deps/linux_dvd_rw_utils.Po"; else 
rm -f ".deps/linux_dvd_rw_utils.Tpo"; exit 1; fi
linux_dvd_rw_utils.c: In function `scsi_command_init':
linux_dvd_rw_utils.c:172: error: `SG_FLAG_LUN_INHIBIT' undeclared (first use 
in this function)
linux_dvd_rw_utils.c:172: error: (Each undeclared identifier is reported only 
once
linux_dvd_rw_utils.c:172: error: for each function it appears in.)
make[5]: *** [linux_dvd_rw_utils.o] Error 1


Any help is greatly appreciated.
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list