View Single Post
Old 05-22-03, 05:58 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

rangerFan -- you're getting this:

Quote:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
Notice the path the header file is in, here? /usr/include/linux?

That's the wrong header file. You need to be getting the autoconf header file that's inside the kernel sources, not the one in /usr/include/linux.

To do this, you need to configure your kernel -- make sure it's at the right version (check the toplevel Makefile, and upgrade the package if necessary), then run make clean oldconfig dep in the source directory (usually /usr/src/linux-<version>).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote