Status
Not open for further replies.

ravi.xolve

Broken In
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

El mooooo
Do you have kernel-headers/linux-headers (what ever knoppix calls it) installed? You need it to compile anything.
 

eddie

El mooooo
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?
 
Status
Not open for further replies.
Top Bottom