On date Sunday 2007-11-11 19:25:36 +0100, Sven Joachim wrote: > Stefano Sabatini <[EMAIL PROTECTED]> writes: > > > I'm on a Debian Lenny with a linux-2.6.22 kernel and the > > linux-libc-dev 2.6.22-4 version. > > > > linux-libc-dev is replacing the old package linux-kernel-headers which > > seems to be deprecated. > > Correct. > > > The problem is that I'm trying to compile the spca5xx module from > > source, and it fails compiling because of the missing linux/config.h > > file. > > Please complain to whoever wrote that module that linux/config.h is a > deprecated file which no longer exists in current kernel headers. > > > Do you have any hint about the status of the linux/config.h file, and > > about a possible fix to this problem? > > It was removed upstream in Linux 2.6.19, I remember because I wanted > to build another module that depended on it. If you need it, here are > its contents: > > ----------------------8->-------------------------------------------------- > #ifndef _LINUX_CONFIG_H > #define _LINUX_CONFIG_H > /* This file is no longer in use and kept only for backward compatibility. > * autoconf.h is now included via -imacros on the commandline > */ > #include <linux/autoconf.h> > > #endif > -----------------------8->------------------------------------------------- > > Save that file under /usr/include/linux/config.h and hope that the > module compiles.
Thank you, it fixed the problem (I simply substitute the include directive in the spca5xx.c file). Now I'm going to report the problem. Best regards. -- Stefano Sabatini Linux user number 337176 (see http://counter.li.org) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

