Kernel compile 2.6.6 - only once?
I have a strange issue - I installed the most recent knoppix today, choosing the knoppix-install-from-web-newest script (or something similar). I chose the Debian way. Knoppix was booted in knoppix26 mode.
It booted fine, but this is a Toshiba Laptop and it seems that kernel support for the fan utilityis missing in the kernel :(
I did apt-get update;apt-get install kernel-2.6.6
I then went through the process of compiling the kernel, it worked fine, i started from scratch, not using the config file for 2.6.6 in /boot. It wouldn't boot my kernel, the screen went black when it tried. So I rebooted into default 2.6.6 and tried again, but got this error during make xconfig:
make xconfig
CLEAN .config
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
make menuconfig does the same. I finally ended up reinstalling knoppix from the cd and trying again, but I am not able to get past this point - I must be losing my mind? ;)
Even from a completely fresh start, I cannot get the kernel to compile - any ideas? Google gave a few suggestions, I updated binutils and some other packages - same deal.
I can't fathom why it would work once, but not again? Is the install script forgiving of errors? Maybe something didn't install right?