Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] old kernel headers

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] old kernel headers
  • Date: Sat, 7 Jul 2007 11:18:16 +0200

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




Archive powered by MHonArc 2.6.24.

Top of Page