[SM-Discuss] old kernel headers

Arwed von Merkatz v.merkatz at gmx.net
Sat Jul 7 05:18:16 EDT 2007


On Sat, Jul 07, 2007 at 10:23:35AM +0200, Treeve Jelbert wrote:
> I had a problem when updating the hal spell and contacted the developer.
> 
> his reply is below
> 
> what is the current status of the kernel headers and glibc-2.5 ?
> I have linux- 2.6.21.5

I've written this before, didn't have time to work on it since then.
The original kernel headers are mostly usable now, so the first step is
to create a tarball of them and change the glibc spell to use that (on a
devel- branch), then do a lot of testing if spells need fixes to work
with these headers. I got two spell fixes that I'll submit once a
modified glibc spell is there (net-tools and util-linux).

> --------------------------------------------------------- 
> Regards, Treeve
> 
> ----------  Forwarded Message  ----------
> 
> Subject: Re: hal-0.5.9.1 build problem
> Date: Saturday 07 July 2007
> From: "Dan Nicholson" <dbn.lists at gmail.com>
> 
> On 6/21/07, Treeve Jelbert  wrote:
> >
> > make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/linux/probing'
> > gcc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\"
> > -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
> > -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
> > -DPACKAGE_LOCALSTATEDIR=\""/var"\" -I../../.. -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   -I/usr/include/dbus-1.0
> > -I/usr/lib/dbus-1.0/include        -march=k8 -m32 -pipe -O3 -Wall
> > -Wchar-subscripts -Wmissing-declarations -Wnested-externs
> > -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-input.o -MD -MP
> > -MF .deps/probe-input.Tpo -c -o probe-input.o probe-input.c
> > probe-input.c: In function 'main':
> > probe-input.c:61: error: 'SW_MAX' undeclared (first use in this
> > function)
> 
> I'm pretty sure this is an issue with old kernel headers. This should
> be defined in linux/input.h on newer headers. You probably want to
> bring this up with your distro since the kernel headers are closely
> tied to your toolchain.
> 
> --
> Dan
> 



> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


-- 
Arwed v. Merkatz                              Source Mage GNU/Linux developer
                                                    http://www.sourcemage.org


More information about the SM-Discuss mailing list