Am Montag, den 14.05.2007, 06:18 -0700 schrieb Dan Nicholson:
> On 5/14/07, Olaf Grüttner <[EMAIL PROTECTED]> wrote:
> >
> > I compiled hal-0.5.7.1 and the error is:
> >
> > make[3]: Entering directory `/usr/src/hal-0.5.7.1/tools'
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
> > -DPACKAGE_BIN_DIR=\""/usr/bin"\" 
> > -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I.. -I../libhal 
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 
> > -I/usr/lib/dbus-1.0/include      -g -O2 -Wall -Wchar-subscripts 
> > -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
> > -Wsign-compare -MT lshal.o -MD -MP -MF ".deps/lshal.Tpo" -c -o lshal.o 
> > lshal.c; \
> > then mv -f ".deps/lshal.Tpo" ".deps/lshal.Po"; else rm -f 
> > ".deps/lshal.Tpo"; exit 1; fi
> > lshal.c: In function 'main':
> > lshal.c:704: warning: implicit declaration of function 
> > 'dbus_connection_disconnect'
> > lshal.c:704: warning: nested extern declaration of 
> > 'dbus_connection_disconnect'
> > /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 -ldbus-glib-1 -lgobject-2.0 -lglib-2.0 
> > -ldbus-1   ../libhal/libhal.la
> > mkdir .libs
> > gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs 
> > -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/lshal lshal.o  
> > /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
> > lshal.o: In function `main':
> > /usr/src/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 `/usr/src/hal-0.5.7.1/tools'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/src/hal-0.5.7.1/tools'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/hal-0.5.7.1'
> > make: *** [all] Error 2
> 
> Oh, yeah. Here's a patch to make that work with dbus-1.0.x. Apply it
> with "patch -p0".
> 
> http://svn.gnome.org/viewcvs/jhbuild/trunk/patches/hal-dbus_connection_close.patch?view=markup
> 
> --
> Dan

The patch cannot be applied with hal-0.5.9. It is rejected.
The patch can be applied with hal-0.5.7.1, but this time I experience
other compiling problems: 

jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dblink.dsl:203:1:E: 
XRef LinkEnd to missing ID 'device-properties-storage'
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dblink.dsl:203:1:E: 
XRef LinkEnd to missing ID 'properties-policy'
jade:E: Kann "../../fdi/policy/10osvendor/10-storage-policy.fdi" nicht
finden; versuchte "../../fdi/policy/10osvendor/10-storage-policy.fdi",
"/usr/share/sgml/../../fdi/policy/10osvendor/10-storage-policy.fdi"
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/dbtable.dsl:224:13:E:
 2. argument for primitive "ancestor" of wrong type: "#<unknown object 
136696024>" not a singleton node list
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/dbtable.dsl:224:13:E:
 2. argument for primitive "ancestor" of wrong type: "#<unknown object 
136696024>" not a singleton node list
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dblink.dsl:203:1:E: 
XRef LinkEnd to missing ID 'using-devices'
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dblink.dsl:203:1:E: 
XRef LinkEnd to missing ID 'properties-policy'
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dblink.dsl:203:1:E: 
XRef LinkEnd to missing ID 'stor-vol-policy'
make[3]: *** [hal-spec.html] Fehler 8
make[3]: Leaving directory `/usr/src/hal-0.5.7.1/doc/spec'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/hal-0.5.7.1/doc'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/hal-0.5.7.1'
make: *** [all] Fehler 2

It seems to be related to dsssl-stylesheets? Wrong version? Wrong
configuration?

Olaf

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

Reply via email to