Quote Originally Posted by totothehero
Hi all

I'm running knoppix 2004-02-09EN, and am trying to upgrade to a 2.6 kernel (2.6.2 or 4, I just want a 2.6.X...). I've downloaded the kernel-source .debs (via apt) for 2.6.2, untar'd the kernel-source tar in /usr/src, symlinked the new directory with /usr/src/linux, cd'd to /usr/src/linux and tried make menuconfig. i also tried make xconfig, but no matter which config I try to make, I get the same error output:

Code:
root@castalia:/usr/src/linux# make xconfig
  HOSTCC  scripts/fixdep
In file included from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2
The same occurs with the 2.6.0 kernel-source (I can't patch the 2.6.0 kernel, either, by the way). I dunno what to do. Any ideas? Thanks
toto
http://www.knoppix.net/forum/viewtop...582&highlight=