Skip to Content.
Sympa Menu

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

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve AT scarlet.be>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] old kernel headers
  • Date: Sat, 7 Jul 2007 10:23:35 +0200

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

---------------------------------------------------------
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

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page