DIGIT-ARC read-only archive · snapshot: July 23, 2026

problem in compiling kernel

4 posts · originally from https://geek.digit.in/community/threads/problem-in-compiling-kernel.40891/

R
ravi.xolve Original post #1
Nov 11, 2006 at 12:58 AM
I use knoppix 5.0.1 hd-installed
i try to configure kernek b4 compilation and get the following error
pls help:

HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
eddie
eddie #2
Nov 11, 2006 at 3:45 AM
Do you have kernel-headers/linux-headers (what ever knoppix calls it) installed? You need it to compile anything.
R
Nov 11, 2006 at 10:50 AM
ya all are in the dir /usr/include
eddie
eddie #4
Nov 11, 2006 at 9:22 PM
Post the output of following commands
Code:
ls -l /usr/include/asm/socket.h
cat /usr/include/linux/version.h
cat /usr/src/linux/include/linux/version.h
ls -l /usr/src/
uname -r
It looks like some kind of symlink problem. Are you using vanilla kernel or some knoppix package?