Trouble configuring Kernel 2.6.0-test9
The short version of the story.
I'm running Knoppix 3.3-11-19 on a HD install.
I downloaded and unpacked kernel-source-2.6.0-test9.
Made a symlink between that directory and "linux.
cd'd to linux and tried to run both make xconfig and make menuconfig.
Here's the error I'm getting.
Code:
root@tiger:/usr/src# cd linux
root@tiger:/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
root@tiger:/usr/src/linux# make menuconfig
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
I went looking for /usr/include/bits/socket.h and it's there.
Any ideas?
Re: Trouble configuring Kernel 2.6.0-test9
Quote:
Originally Posted by Tiger
The short version of the story.
I'm running Knoppix 3.3-11-19 on a HD install.
I downloaded and unpacked kernel-source-2.6.0-test9.
Made a symlink between that directory and "linux.
cd'd to linux and tried to run both make xconfig and make menuconfig.
Here's the error I'm getting.
Code:
root@tiger:/usr/src# cd linux
root@tiger:/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
root@tiger:/usr/src/linux# make menuconfig
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
I went looking for
/usr/include/bits/socket.h and it's there.
Any ideas?
Have you tried getting test11 and seeing if the error persists? That is the latest test kernel and you may as well be using it anyway and if I am reading the error correctly you should be looking for asm/socket.h it cannot find that file called from the bits/socket.h.
BTW did you know you should be using the fakeroot package to compile the kernel instead of doing it as root? A guide to compiling the kernel the Debian way.
Re: Trouble configuring Kernel 2.6.0-test9
--I'm getting the same error with the 2.6.0 "stable" kernel, Knoppix 2003-11-19:
Code:
/usr/src/linux # make menuconfig
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: asm/socket.h: No such file or directory
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2
--The gcc symlink has been pointed to 2.95, all package versions verified and up-to-date accord to Documentation/Changes.
--Anyone else getting a similar error?
Quote:
Originally Posted by Tiger
The short version of the story.
I'm running Knoppix 3.3-11-19 on a HD install.
I downloaded and unpacked kernel-source-2.6.0-test9.
Made a symlink between that directory and "linux.
cd'd to linux and tried to run both make xconfig and make menuconfig.
Here's the error I'm getting.
Code:
root@tiger:/usr/src# cd linux
root@tiger:/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
root@tiger:/usr/src/linux# make menuconfig
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
I went looking for
/usr/include/bits/socket.h and it's there.
Any ideas?