Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 14:37:44 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        gnome@FreeBSD.org
Subject:   hal port busted on -current
Message-ID:  <20100124.143744.57809163907530686.imp@bsdimp.com>

next in thread | raw e-mail | index | archive | help
... or the config test is too fragile...

I'm getting a build error:

/bin/sh /tmp/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 -pthread -L/usr/local/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0   -pthread -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 -pthread -pthread  -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 `/tmp/ports/sysutils/hal/work/hal-0.5.13/hald'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13/hald'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13/hald'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13'
gmake: *** [all] Error 2

which is due to the configure script not properly picking up the fact
that usb2 is on this box.  If I hack the generated makefiles to
include the files that define the above symbols, everything works.  I
couldn't figure out how to unthread the configure files to discover a
proper fix.

Ideas?

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100124.143744.57809163907530686.imp>