Date: Sun, 24 Jan 2010 16:46:04 -0500 From: Joe Marcus Clarke <marcus@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: gnome@freebsd.org Subject: Re: hal port busted on -current Message-ID: <4B5CBF9C.3020206@freebsd.org> In-Reply-To: <20100124.143744.57809163907530686.imp@bsdimp.com> References: <20100124.143744.57809163907530686.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/24/10 4:37 PM, M. Warner Losh wrote: > ... 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? Make sure you no longer have devel/libusb installed, and make sure you have run make delete-old. Hal will build just fine on -CURRENT. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5CBF9C.3020206>