-
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?
-
Senior Member
registered user
Re: Trouble configuring Kernel 2.6.0-test9
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.
-
Senior Member
registered user
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?
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?
-
I ran into the same problem. It looks like it is caused by the symlink between /usr/src/linux and the new 2.6.0 kernel source. /usr/include/bits/socket.h is looking for asm/socket.h
it turns out that /usr/include/asm is a symlink back to /usr/src/linux/include/asm - which is now pointing into the 2.6.0 kernel source.
I am going try pointing the symlink /usr/src/linux back to the old location, and try out 'make xconfig' - then reswitch the link back to 2.6.0 before building the kernel.
-
Senior Member
registered user
Originally Posted by
cdcttr
I ran into the same problem. It looks like it is caused by the symlink between /usr/src/linux and the new 2.6.0 kernel source. /usr/include/bits/socket.h is looking for asm/socket.h
it turns out that /usr/include/asm is a symlink back to /usr/src/linux/include/asm - which is now pointing into the 2.6.0 kernel source.
I am going try pointing the symlink /usr/src/linux back to the old location, and try out 'make xconfig' - then reswitch the link back to 2.6.0 before building the kernel.
It looks like Kano has a script to fix that on his page here. Take a look at the fix-include-linux.sh.
-
Senior Member
registered user
--I fixed the problem by ' apt-get install linux-kernel-headers '; it looks like the 2003-11-19 knoppix-kernel-headers is incompatible with 2.6.0.
--See this thread for more details:
http://www.knoppix.net/forum/viewtop...861&highlight=
Originally Posted by
Stephen
Originally Posted by
cdcttr
I ran into the same problem. It looks like it is caused by the symlink between /usr/src/linux and the new 2.6.0 kernel source. /usr/include/bits/socket.h is looking for asm/socket.h
it turns out that /usr/include/asm is a symlink back to /usr/src/linux/include/asm - which is now pointing into the 2.6.0 kernel source.
I am going try pointing the symlink /usr/src/linux back to the old location, and try out 'make xconfig' - then reswitch the link back to 2.6.0 before building the kernel.
It looks like Kano has a script to fix that on his page
here. Take a look at the fix-include-linux.sh.
-
Senior Member
registered user
Originally Posted by
Dave_Bechtel
--I fixed the problem by ' apt-get install linux-kernel-headers '; it looks like the 2003-11-19 knoppix-kernel-headers is incompatible with 2.6.0.
AH! that's why I never had a problem I got that package over a month ago when the packages were first split. I thought it was strange you guys were getting that error when it compiled with no problem here well I know why now.
-
Thanks for all the input.
I will try again with the final 2.6.0 kernel.
I did the same upgrade on my Slackware drive and it went slicker than snot.
Similar Threads
-
By KNOPPIX_BOY in forum General Support
Replies: 2
Last Post: 09-10-2004, 01:13 AM
-
By ozlad in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 03-23-2004, 04:06 AM
-
By debi in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 01-04-2004, 11:08 AM
-
By Joe999 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-14-2003, 06:37 AM
-
By flamesrock in forum General Support
Replies: 2
Last Post: 09-06-2003, 06:33 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays
$1849.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$89.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY
$329.00
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$246.67
Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU
$161.99
PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB
$200.00
Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS
$274.99