hal build error

Tijnema ! tijnema at gmail.com
Wed Apr 4 00:52:35 PDT 2007


On 4/4/07, anirudh vij <anirudhvij at gmail.com> wrote:
> hi,
> i encountered the following build error in build of hal
>
> make[3]: Entering directory `/home/hackman/hal-0.5.7.1/tools'
> /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-0.5.7.1/tools/lshal.c:704: undefined reference to
> `dbus_connection_disconnect'
> collect2: ld returned 1 exit status
> make[3]: *** [lshal] Error 1
> make[3]: Leaving directory `/home/hackman/hal-0.5.7.1/tools'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/hackman/hal- 0.5.7.1/tools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/hackman/hal-0.5.7.1'
> make: *** [all] Error 2
>
>
> my dbus is version 1.0.0 installed as per the blfs book directions.the d-bus
> daemon was not running at the time of this make error.i ran ldconfig after
> dbus installation.dbus-glib is also installed and is version 1.0.0.hal is of
> the book version.

Are you sure that the shared version of dbus & dbus-glib is installed,
and that all these libraries are in /usr/lib?

Tijnema
>
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>



More information about the blfs-support mailing list