Hello,

I have encountered an issue with compiling HAL-0.5.9.1 from
BLFS-SVN-20090711 against LFS-6.4.  During make the following error
snippet occurs:

---BEGIN---

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        -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT probe-storage.o -MD -MP -MF .deps/probe-storage.Tpo
-c -o probe-storage.o probe-storage.c
probe-storage.c: In function 'main':
probe-storage.c:462: error: dereferencing pointer to incomplete type
probe-storage.c:462: error: 'VOLUME_ID_FILESYSTEM' undeclared (first
use in this function)
probe-storage.c:462: error: (Each undeclared identifier is reported only once
probe-storage.c:462: error: for each function it appears in.)
probe-storage.c:463: error: dereferencing pointer to incomplete type
probe-storage.c:463: error: 'VOLUME_ID_RAID' undeclared (first use in
this function)
probe-storage.c:464: error: dereferencing pointer to incomplete type
probe-storage.c:464: error: 'VOLUME_ID_OTHER' undeclared (first use in
this function)
probe-storage.c:465: error: dereferencing pointer to incomplete type
probe-storage.c:465: error: 'VOLUME_ID_CRYPTO' undeclared (first use
in this function)
make[5]: *** [probe-storage.o] Error 1
make[5]: Leaving directory `/sources/hal-0.5.9.1/hald/linux/probing'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/sources/hal-0.5.9.1/hald/linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/sources/hal-0.5.9.1/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/hal-0.5.9.1/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/hal-0.5.9.1'
make: *** [all] Error 2

---END---

I googled for the issue and found the following article:

http://www.ozymo.com/~chuck/blog/explosions/218

Which pointed to replacing the file /usr/include/libvolume_id.h with
this file from CentOS located at:

http://www.koders.com/c/fid73AA134FD39DDA42F5A88EFEFC19A604A874C79D.aspx?s=md5

I tried replacing it and make completed successfully.  I am not sure
whether HAL or UDEV is to blame in this case.

Thank you,

--
Craig Jackson
[email protected]
206-219-2787 office
253-459-5384 cell
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to