Compile error for CVS on ppc machine
Richard Hughes
hughsient at gmail.com
Sat Feb 18 15:42:02 PST 2006
I just got this compiling from CVS:
make[4]: Entering directory `/home/hughsie/hal-0.5.7/hald'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_LIBEXEC_DIR=
\""/home/hughsie/.root//libexec"\" -DPACKAGE_SYSCONF_DIR=
\""/home/hughsie/.root//etc"\" -DPACKAGE_DATA_DIR=
\""/home/hughsie/.root//share"\" -DPACKAGE_BIN_DIR=
\""/home/hughsie/.root//bin"\" -DPACKAGE_LOCALE_DIR=
\""/home/hughsie/.root//share/locale"\" -DPACKAGE_LOCALSTATEDIR=
\""/home/hughsie/.root//var"\" -DPACKAGE_SCRIPT_DIR=
\""/home/hughsie/.root//share/hal/scripts"\" -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 -g -O2 -Wall
-Wchar-subscripts -Wmissing-declarations -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -MT device_info.o -MD -MP
-MF ".deps/device_info.Tpo" -c -o device_info.o device_info.c; \
then mv -f ".deps/device_info.Tpo" ".deps/device_info.Po"; else rm -f
".deps/device_info.Tpo"; exit 1; fi
device_info.c:34:19: error: expat.h: No such file or directory
device_info.c:113: error: expected specifier-qualifier-list before
‘XML_Parser’
device_info.c: In function ‘handle_match’:
device_info.c:342: error: ‘ParsingContext’ has no member named ‘device’
device_info.c:345: error: ‘ParsingContext’ has no member named ‘device’
device_info.c: In function ‘handle_merge’:
device_info.c:658: error: ‘ParsingContext’ has no member named
‘merge_type’
device_info.c:670: error: ‘ParsingContext’ has no member named
‘merge_key’
device_info.c:677: error: ‘ParsingContext’ has no member named
‘merge_type’
device_info.c:681: error: ‘ParsingContext’ has no member named
‘merge_type’
device_info.c:685: error: ‘ParsingContext’ has no member named
‘merge_type’
device_info.c:689: error: ‘ParsingContext’ has no member named
‘merge_type’
device_info.c:693: error: ‘ParsingContext’ has no member named
‘merge_type’
Obvious solution was to install expat-devel, but we should probable
check for it in the configure script.
Richard.
More information about the hal
mailing list