Gentoo Archives: gentoo-user

From: Jules Colding <colding@×××××.com>
To: Gentoo Users <gentoo-user@l.g.o>
Subject: [gentoo-user] hal-0.5.7-r3 compile error
Date: Mon, 22 Jan 2007 14:26:10
Message-Id: 1169475619.6917.59.camel@omc-2.omesc.com
1 Hi,
2
3 I can't get hal to rebuild after having upgraded dbus. My revdep-rebuild
4 failed with this:
5
6 ####################################
7 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; \
8 then mv -f ".deps/hal-device.Tpo" ".deps/hal-device.Po"; else rm -f ".deps/hal-device.Tpo"; exit 1; fi
9 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; \
10 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
11 /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
12 hal-device.c: In function ‘main’:
13 hal-device.c:158: warning: implicit declaration of function ‘dbus_connection_disconnect’
14 hal-device.c:158: warning: nested extern declaration of ‘dbus_connection_disconnect’
15 /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
16 /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
17 mkdir .libs
18 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
19 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
20 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
21 creating hal-get-property
22 lshal.o: In function `main':
23 lshal.c:(.text+0xb26): undefined reference to `dbus_connection_disconnect'
24 collect2: ld returned 1 exit status
25 creating hal-set-property
26 make[3]: *** [lshal] Error 1
27 make[3]: *** Waiting for unfinished jobs....
28 make[3]: Leaving directory `/var/tmp/portage/hal-0.5.7-r3/work/hal-0.5.7/tools'
29 make[2]: *** [all-recursive] Error 1
30 make[2]: Leaving directory `/var/tmp/portage/hal-0.5.7-r3/work/hal-0.5.7/tools'
31 make[1]: *** [all-recursive] Error 1
32 make[1]: Leaving directory `/var/tmp/portage/hal-0.5.7-r3/work/hal-0.5.7'
33 make: *** [all] Error 2
34
35 !!! ERROR: sys-apps/hal-0.5.7-r3 failed.
36 ####################################
37
38 Seems like a missing include. Any ideas?
39
40 Thanks,
41 jules
42
43
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] hal-0.5.7-r3 compile error Jules Colding <colding@×××××.com>