jignesh gangani wrote:
> Hi,
> HAL -0.5.8.2 is giving me the following error on my CLFS pure64
> ( I am compiling HAL without Policky Kit since it requires Policy
> Kit -0.2 and I have 0.1 by using --disable-policy-kit configure
> switch).
>
> make[5]: Entering directory `/sources/hal-0.5.8.1/hald/linux/probing'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../..
> -DPACKAGE_SYSCONF_DIR=\""/usr/etc"\"
> -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
> -DPACKAGE_LOCALSTATEDIR=\""/usr/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 -g -O2 -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_transport':
> linux_dvd_rw_utils.c:152: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:152: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:152: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:152: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:152: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:152: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:152: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:152: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:152: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:152: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:153: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:153: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:153: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:153: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:153: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:153: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c:153: warning: pointer of type 'void *' used in arithmetic
> linux_dvd_rw_utils.c:153: warning: dereferencing 'void *' pointer
> linux_dvd_rw_utils.c:153: error: void value not ignored as it ought to be
> linux_dvd_rw_utils.c: In function 'scsi_command_init':
> linux_dvd_rw_utils.c:175: error: 'SG_FLAG_LUN_INHIBIT' undeclared
> (first use in this function)
> linux_dvd_rw_utils.c:175: error: (Each undeclared identifier is
> reported only once
> linux_dvd_rw_utils.c:175: error: for each function it appears in.)
> make[5]: *** [linux_dvd_rw_utils.o] Error 1
> make[5]: Leaving directory `/sources/hal-0.5.8.1/hald/linux/probing'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/sources/hal-0.5.8.1/hald/linux'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/sources/hal-0.5.8.1/hald'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/sources/hal-0.5.8.1/hald'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/hal-0.5.8.1'
> make: *** [all] Error 2
>
> I have searched for patches and solutions but only I can find is
> that it is a glibc problem. Is it so? Please help.
>
>
Questions:
1 - Your sure about version 0.5.8.2, I went to the website there is
no 0.5.8.1 and a pre 0.5.9 release
2 - Where did this linux_dvd_rw_utils.c come from it's not even in
the git repo?
3 - I found your similar problem but it's from an older version of HAL.
Which also required cdrtools libsg library, so where did you
get a cross between a new version of hal
and 0.4.8?
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support