ports/140020: Compile Error in sysutils/hal (0.5.11)
Andrey Antoukh
andsux at gmail.com
Tue Oct 27 17:40:01 UTC 2009
>Number: 140020
>Category: ports
>Synopsis: Compile Error in sysutils/hal (0.5.11)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 27 17:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Andrey Antoukh
>Release: FreeBSD 8 RC2
>Organization:
>Environment:
FreeBSD workstation.bsd-es.org 8.0-RC2 FreeBSD 8.0-RC2 #2: Mon Oct 26 20:02:13 CET 2009 root at workstation.bsd-es.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The compilation of sysutils/hal fails.
The failure occurs on new installations (freebsd8rc2).
The full output, is attached in the file.
>How-To-Repeat:
cd /usr/ports/sysutils/hal
make
[...]
./hald/freebsd/.libs/libhald_freebsd.a(osspec.o)(.data.rel.ro+0x10): undefined reference to `hf_usb2_handler'
./hald/freebsd/.libs/libhald_freebsd.a(hf-devd.o)(.data.rel.ro+0x0): undefined reference to `hf_usb2_devd_handler'
gmake[4]: *** [hald] Error 1
[...]
>Fix:
Patch attached with submission follows:
[...]
config.status: executing depfiles commands
HAL 0.5.11
==============
prefix: /usr/local
libdir: ${exec_prefix}/lib
libexecdir: ${exec_prefix}/libexec
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
datadir: ${datarootdir}
sysconfdir: ${prefix}/etc
localstatedir: /var
docdir: ${datarootdir}/doc/${PACKAGE_TARNAME}
dbus-1 system.d dir: ${prefix}/etc/dbus-1/system.d
pci.ids dir: /usr/local/share/pciids
usb.ids dir:
compiler: cc
cflags: -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
ldflags: -Wl,--as-needed -L/usr/local/lib
cppflags: -I/usr/local/include -DHAVE_CK_0_3
xmlto: /usr/local/bin/xmlto
xmllint: /usr/local/bin/xmllint
User for HAL: haldaemon
Group for HAL: haldaemon
hald pidfile: /var/run/hald/hald.pid
hald socket dir: /var/run/hald
eject program: /usr/sbin/cdcontrol
OS backend: freebsd
use acpi kernel interface: yes
use acpid interface: yes
use libusb: no
use libpci: no
use libparted: no
use gperf: yes
use PolicyKit: yes
use ConsoleKit: yes
use ACL management: no
use umount.hal helper: no
use ACPI: yes
use PMU: no
use APM: no
use Sony PIC: no
Macbook backlight support: no (Linux only, x86 only, requires libpci)
Macbook Pro utils: no (Linux only, x86 only, requires libpci)
iMac backlight support: no (Linux only, x86)
OMAP utils: no (Linux only, arm only)
CPU frequency scaling: no (Linux only)
Re-map multimedia keys: no (Linux only, requires gperf)
Forward IBM ACPI events: no (Linux only)
Forward Toshiba ACPI events: no (Linux only)
USB wireless mouse power: no (Linux only, requires libusb)
Dell Backlight: no (Linux only, requires libsmbios >= 0.13.4)
Support deprecated(removed) keys: yes (via a FDI-file)
Maintainer mode: no
Building verbose mode: no
Building api docs: no
Building docs: no
Building man pages: yes
NOTE: You have to install init scripts yourself and tweak your own policy
NOTE: Remember to create user haldaemon and group haldaemon before make install
NOTE: For development, use run-hald.sh and debug-hald.sh scripts in hald/ to
use programs (callouts, probers, addons) and device information files
from build directories. You may still need 'make install' to
install the udev rule to receive events from udev.
===> Building for hal-0.5.11_26
gmake all-recursive
[...]
Making all in .
gmake[4]: Entering directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT create_cache.o -MD -MP -MF .deps/create_cache.Tpo -c -o create_cache.o create_cache.c
create_cache.c: In function 'rules_search_and_add_fdi_files':
create_cache.c:546: warning: passing argument 4 of 'scandir' from incompatible pointer type
mv -f .deps/create_cache.Tpo .deps/create_cache.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT logger.o -MD -MP -MF .deps/logger.Tpo -c -o logger.o logger.c
mv -f .deps/logger.Tpo .deps/logger.Po
/bin/sh /usr/ports/sysutils/hal/work/gnome-libtool --tag=CC --mode=link cc -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -Wl,--as-needed -L/usr/local/lib -o hald-generate-fdi-cache create_cache.o logger.o -L/usr/local/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -L/usr/local/lib
-ldbus-1 -lm -lexpat ../hald/freebsd/libhald_freebsd.la
gnome-libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -o
hald-generate-fdi-cache create_cache.o logger.o -L/usr/local/lib /usr/local/lib/libdbus-glib-1.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libiconv.so /usr/local/lib/libpcre.so /usr/local/lib/libdbus-1.so -lm /usr/local/lib/libexpat.so ../hald/freebsd/.libs/libhald_freebsd.a -lcam -pthread -Wl,-rpath -Wl,/usr/local/lib
-Wl,-rpath -Wl,/usr/local/lib
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT hald_marshal.o -MD -MP -MF .deps/hald_marshal.Tpo -c -o hald_marshal.o hald_marshal.c
mv -f .deps/hald_marshal.Tpo .deps/hald_marshal.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT util_helper.o -MD -MP -MF .deps/util_helper.Tpo -c -o util_helper.o util_helper.c
util_helper.c:46: warning: 'argv_buffer' defined but not used
util_helper.c:47: warning: 'argv_size' defined but not used
mv -f .deps/util_helper.Tpo .deps/util_helper.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT util_pm.o -MD -MP -MF .deps/util_pm.Tpo -c -o util_pm.o util_pm.c
mv -f .deps/util_pm.Tpo .deps/util_pm.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT hald_runner.o -MD -MP -MF .deps/hald_runner.Tpo -c -o hald_runner.o hald_runner.c
mv -f .deps/hald_runner.Tpo .deps/hald_runner.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.c
mv -f .deps/device.Tpo .deps/device.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -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
mv -f .deps/device_info.Tpo .deps/device_info.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT device_store.o -MD -MP -MF .deps/device_store.Tpo -c -o device_store.o device_store.c
mv -f .deps/device_store.Tpo .deps/device_store.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT device_pm.o -MD -MP -MF .deps/device_pm.Tpo -c -o device_pm.o device_pm.c
mv -f .deps/device_pm.Tpo .deps/device_pm.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT hald.o -MD -MP -MF .deps/hald.Tpo -c -o hald.o hald.c
mv -f .deps/hald.Tpo .deps/hald.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT hald_dbus.o -MD -MP -MF .deps/hald_dbus.Tpo -c -o hald_dbus.o hald_dbus.c
mv -f .deps/hald_dbus.Tpo .deps/hald_dbus.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT ids.o -MD -MP -MF .deps/ids.Tpo -c -o ids.o ids.c
mv -f .deps/ids.Tpo .deps/ids.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT mmap_cache.o -MD -MP -MF .deps/mmap_cache.Tpo -c -o mmap_cache.o mmap_cache.c
mv -f .deps/mmap_cache.Tpo .deps/mmap_cache.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT ci-tracker.o -MD -MP -MF .deps/ci-tracker.Tpo -c -o ci-tracker.o ci-tracker.c
mv -f .deps/ci-tracker.Tpo .deps/ci-tracker.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT access-check.o -MD -MP -MF .deps/access-check.Tpo -c -o access-check.o access-check.c
access-check.c: In function 'access_check_caller_have_access_to_device':
access-check.c:309: warning: 'polkit_context_can_caller_do_action' is deprecated (declared at /usr/local/include/PolicyKit/polkit/polkit-context.h:175)
mv -f .deps/access-check.Tpo .deps/access-check.Po
cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -DPACKAGE_SCRIPT_DIR=\""/usr/local/libexec/hal/scripts"\"
-DHALD_SOCKET_DIR=\""/var/run/hald"\" -DHALD_PID_FILE=\""/var/run/hald/hald.pid"\" -DPCI_IDS_DIR=\""/usr/local/share/pciids"\" -DUSB_IDS_DIR=\"""\" -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
-I/usr/local/include/PolicyKit -I/usr/local/include -DHAVE_CK_0_3 -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT ck-tracker.o -MD -MP -MF .deps/ck-tracker.Tpo -c -o ck-tracker.o ck-tracker.c
mv -f .deps/ck-tracker.Tpo .deps/ck-tracker.Po
/bin/sh /usr/ports/sysutils/hal/work/gnome-libtool --tag=CC --mode=link cc -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -Wl,--as-needed -L/usr/local/lib -o hald hald_marshal.o util.o util_helper.o util_pm.o hald_runner.o device.o device_info.o device_store.o device_pm.o hald.o
hald_dbus.o logger.o ids.o mmap_cache.o ci-tracker.o access-check.o ck-tracker.o -L/usr/local/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -L/usr/local/lib -ldbus-1 -L/usr/local/lib
-lpolkit -lm ../hald/freebsd/libhald_freebsd.la
gnome-libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -o hald
hald_marshal.o util.o util_helper.o util_pm.o hald_runner.o device.o device_info.o device_store.o device_pm.o hald.o hald_dbus.o logger.o ids.o mmap_cache.o ci-tracker.o access-check.o ck-tracker.o
-L/usr/local/lib /usr/local/lib/libdbus-glib-1.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so /usr/local/lib/libpcre.so
/usr/local/lib/libdbus-1.so /usr/local/lib/libpolkit.so /usr/local/lib/libexpat.so -lm ../hald/freebsd/.libs/libhald_freebsd.a -lcam -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath
-Wl,/usr/local/lib
./hald/freebsd/.libs/libhald_freebsd.a(osspec.o)(.data.rel.ro+0x10): undefined reference to `hf_usb2_handler'
./hald/freebsd/.libs/libhald_freebsd.a(hf-devd.o)(.data.rel.ro+0x0): undefined reference to `hf_usb2_devd_handler'
gmake[4]: *** [hald] Error 1
gmake[4]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11'
gmake: *** [all] Error 2
*** Error code 1
Stop in /usr/ports/sysutils/hal.
*** Error code 1
Stop in /usr/ports/sysutils/hal.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list