List Info

Thread: hal build error




hal build error
user name
2007-04-04 02:25:26
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.
Re: hal build error
user name
2007-04-04 02:52:35
On 4/4/07, anirudh vij <anirudhvijgmail.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-suppo
rt
> FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: hal build error
country flaguser name
Italy
2007-04-04 04:25:41
On Wednesday 04 April 2007 09:25:26 anirudh vij wrote:

> 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

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

http:
//sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/file
s/hal-0.5.7.1-dbus-close.patch?view=markup

and apply with:
patch -Np1 -i ../hal-0.5.7.1-dbus-close.patch
Alessandro Alocci
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: hal build error
user name
2007-04-04 07:03:13
hi,
whenever i get a make error,i always assume that i am doing something wrong
great that it is'nt the case this time

On 4/4/07, Alessandro Alocci < alessandro.alocci1tin.it">alessandro.alocci1tin.it>; wrote:
On Wednesday 04 April 2007 09:25:26 anirudh vij wrote:

&gt; make[3]: Entering directory `/home/hackman/hal-0.5.7.1/tools'
&gt; /bin/sh ../libtool --tag=CC --mode=link gcc &nbsp;-g -O2 -Wall -Wchar-subscripts
&gt; -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
> -Wsign-compare &nbsp; -o lshal ; lshal.o -L/usr//lib -ldbus-glib-1 -lgobject-2.0
> - lglib-2.0 -ldbus-1&nbsp;  ../libhal/libhal.la
&gt; gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs
&gt; -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/lshal lshal.o
&gt; -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

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

http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/files/hal-0.5.7.1-dbus-close.patch?view=markup

and apply with:
patch -Np1 -i ../hal-0.5.7.1-dbus-close.patch
Alessandro Alocci
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )