Hi,

I can't get hal to rebuild after having upgraded dbus. My revdep-rebuild
failed with this:

####################################
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" 
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../libhal 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include      -march=k8 -O2 -pipe -Wall -Wchar-subscripts 
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
-Wsign-compare -MT hal-device.o -MD -MP -MF ".deps/hal-device.Tpo" -c -o 
hal-device.o hal-device.c; \
        then mv -f ".deps/hal-device.Tpo" ".deps/hal-device.Po"; else rm -f 
".deps/hal-device.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" 
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../libhal 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include      -march=k8 -O2 -pipe -Wall -Wchar-subscripts 
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
-Wsign-compare -MT hal-system-power-pmu.o -MD -MP -MF 
".deps/hal-system-power-pmu.Tpo" -c -o hal-system-power-pmu.o 
hal-system-power-pmu.c; \
        then mv -f ".deps/hal-system-power-pmu.Tpo" 
".deps/hal-system-power-pmu.Po"; else rm -f ".deps/hal-system-power-pmu.Tpo"; 
exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 
-pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs 
-Wpointer-arith -Wcast-align -Wsign-compare   -o lshal  lshal.o -ldbus-glib-1 
-lgobject-2.0 -lglib-2.0 -ldbus-1   ../libhal/libhal.la
hal-device.c: In function ‘main’:
hal-device.c:158: warning: implicit declaration of function 
‘dbus_connection_disconnect’
hal-device.c:158: warning: nested extern declaration of 
‘dbus_connection_disconnect’
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 
-pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs 
-Wpointer-arith -Wcast-align -Wsign-compare   -o hal-get-property  
hal_get_property.o -ldbus-1   ../libhal/libhal.la
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 
-pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs 
-Wpointer-arith -Wcast-align -Wsign-compare   -o hal-set-property  
hal_set_property.o -ldbus-1   ../libhal/libhal.la
mkdir .libs
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -Wall -Wchar-subscripts 
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
-Wsign-compare -o .libs/hal-get-property hal_get_property.o  
../libhal/.libs/libhal.so /usr/lib64/libdbus-1.so
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -Wall -Wchar-subscripts 
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
-Wsign-compare -o .libs/lshal lshal.o  /usr/lib64/libdbus-glib-1.so -lnsl 
/usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lrt 
../libhal/.libs/libhal.so /usr/lib64/libdbus-1.so
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -Wall -Wchar-subscripts 
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
-Wsign-compare -o .libs/hal-set-property hal_set_property.o  
../libhal/.libs/libhal.so /usr/lib64/libdbus-1.so
creating hal-get-property
lshal.o: In function `main':
lshal.c:(.text+0xb26): undefined reference to `dbus_connection_disconnect'
collect2: ld returned 1 exit status
creating hal-set-property
make[3]: *** [lshal] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/hal-0.5.7-r3/work/hal-0.5.7/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/hal-0.5.7-r3/work/hal-0.5.7/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-0.5.7-r3/work/hal-0.5.7'
make: *** [all] Error 2

!!! ERROR: sys-apps/hal-0.5.7-r3 failed.
####################################

Seems like a missing include. Any ideas?

Thanks,
  jules


-- 
gentoo-user@gentoo.org mailing list

Reply via email to