From: Jules Colding <colding@omesc.com>
To: Gentoo Users <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] hal-0.5.7-r3 compile error
Date: Mon, 22 Jan 2007 15:20:19 +0100 [thread overview]
Message-ID: <1169475619.6917.59.camel@omc-2.omesc.com> (raw)
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
next reply other threads:[~2007-01-22 14:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-22 14:20 Jules Colding [this message]
2007-01-22 14:43 ` [gentoo-user] hal-0.5.7-r3 compile error Jules Colding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1169475619.6917.59.camel@omc-2.omesc.com \
--to=colding@omesc.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox