Compile error with 0.4.7

Dustin Navea speeddymon at gmail.com
Tue Sep 13 05:31:20 PDT 2005


Hi all, I'm new to HAL and to this list.  I have a compile error with 
0.4.7.  Probably my machine, but can anyone think of how I can fix this? 
  I tried googling an answer, but that didnt work (the word hal is 
pretty common throughout the internet.  Can anyone help?  Here is the error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share\" 
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -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 -ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic 
-MT libhal.lo -MD -MP -MF .deps/libhal.Tpo -c libhal.c  -fPIC -DPIC -o 
.libs/libhal.o
In file included from /usr/include/dbus-1.0/dbus/dbus.h:33,
                  from libhal.c:33:
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:33: warning: ISO C does 
not allow extra `;' outside of a function
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:37: warning: ISO C90 
does not support `long long'
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:38: warning: ISO C90 
does not support `long long'
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h:49: warning: ISO C does 
not allow extra `;' outside of a function
libhal.c:116: warning: ISO C doesn't support unnamed structs/unions
libhal.c:116: warning: declaration does not declare anything
libhal.c: In function `hal_device_get_all_properties':
libhal.c:262: error: structure has no member named `str_value'
libhal.c:265: error: structure has no member named `str_value'
libhal.c:275: error: structure has no member named `int_value'
libhal.c:279: error: structure has no member named `uint64_value'
libhal.c:283: error: structure has no member named `double_value'
libhal.c:287: error: structure has no member named `bool_value'
libhal.c: In function `hal_free_property_set':
libhal.c:322: error: structure has no member named `str_value'
libhal.c: In function `hal_psi_get_string':
libhal.c:401: error: structure has no member named `str_value'
libhal.c: In function `hal_psi_get_int':
libhal.c:412: error: structure has no member named `int_value'
libhal.c: In function `hal_psi_get_uint64':
libhal.c:423: error: structure has no member named `uint64_value'
libhal.c: In function `hal_psi_get_double':
libhal.c:434: error: structure has no member named `double_value'
libhal.c: In function `hal_psi_get_bool':
libhal.c:445: error: structure has no member named `bool_value'
libhal.c: In function `hal_device_print':
libhal.c:2062: warning: ISO C90 does not support the `ll' printf length 
modifier
libhal.c:2062: warning: ISO C90 does not support the `ll' printf length 
modifier
make[2]: *** [libhal.lo] Error 1
make[2]: Leaving directory `/home/speeddy/hal-0.4.7/libhal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/speeddy/hal-0.4.7'
make: *** [all] Error 2

Thanks in advance for any assistance

Dustin


More information about the hal mailing list