hal build error

Alessandro Alocci alessandro.alocci1 at tin.it
Wed Apr 4 02:25:41 PDT 2007

On Wednesday 04 April 2007 09:25:26 anirudh vij wrote:

> make[3]: Entering directory `/home/hackman/hal-'
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -Wchar-subscripts
> -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
> -Wsign-compare   -o lshal  lshal.o -L/usr//lib -ldbus-glib-1 -lgobject-2.0
> - lglib-2.0 -ldbus-1   ../libhal/libhal.la
> gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs
> -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/lshal lshal.o
> -L/usr//lib /usr//lib/libdbus-glib-1.so -lnsl
> /usr/lib/libgobject-2.0.so/usr/lib/libglib-
> 2.0.so ../libhal/.libs/libhal.so /usr//lib/libdbus-1.so -Wl,--rpath
> -Wl,/usr//lib
> lshal.o: In function `main':
> /home/hackman/hal- undefined reference to
> `dbus_connection_disconnect'
> collect2: ld returned 1 exit status
> make[3]: *** [lshal] Error 1

Hi, you need a little patch to compile hal- with newer version of
dbus. Download this patch from:


and apply with:
patch -Np1 -i ../hal-
Alessandro Alocci

More information about the blfs-support mailing list