Am Freitag, den 11.05.2007, 15:33 -0700 schrieb Dan Nicholson: > On 5/11/07, Olaf Grüttner <[EMAIL PROTECTED]> wrote: > > Am Donnerstag, den 10.05.2007, 12:12 -0700 schrieb Dan Nicholson: > > > On 5/10/07, Olaf Grüttner <[EMAIL PROTECTED]> wrote: > > > > > > > probe-input.c: In function 'main': > > > > probe-input.c:61: error: 'SW_MAX' undeclared (first use in this > > > > function) > > > > > > What kernel headers are you using? This should be defined in > > > /usr/include/linux/input.h (which probe-input.c includes). > > > > file /usr/include/linux/input.h is present, but does not include a > > version number. > > I have installed my lfs with jhalfs and used the lfs-6.2 version of the > > book without changes. So version linux-libc-headers-2.6.12.0.tar.bz2 > > is what has been installed. > > Ah. I think hal-0.5.9 requires newer kernel headers. You may be out of > luck on this one. > > > I have tried to compile a different version of hal (0.5.7.1) and it > > fails to compile as well. > > That should work with LFS-6.2. Could you show the errors? > > -- > Dan
As far as I can tell this url contains the latest headers. http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ linux-libc-headers-2.6.12.0.tar.bz2 is the latest unless some headers from cvs are required. I am not sure if taking cvs-headers gives unexpected other problems ? ... 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 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
