-
problem compiling kernel 2.6.0
When I tried to issue command: make menuconfig I get this
root@laptop:/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
anyone has any idea?
Thanks
-
Senior Member
registered user
Re: problem compiling kernel 2.6.0

Originally Posted by
anhtran81
When I tried to issue command: make menuconfig I get this
root@laptop:/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
anyone has any idea?
Thanks
Check to make sure that you have the package linux-kernel-headers installed.
-
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
It's looking for the file 'socket.h' in the wrong place. You can either make a symbolic link, or edit line 305 of the file '/usr/include/bits/socket.h' (the file it's refering to is "/usr/src/linux/include/asm-i386/socket.h", you may want to check if it's there).
Also, theres now a *.deb of the 2.6.0 kernel image at debian.org, as well as a *.deb of the kernel source if you would like to try one of them.
Note: While switching kernels you will probably encounter some problems(Mice not working, different module names, modules not being loaded, etc.).
-
Senior Member
registered user

Originally Posted by
turbinater
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
It's looking for the file 'socket.h' in the wrong place. You can either make a symbolic link, or edit line 305 of the file '/usr/include/bits/socket.h' (the file it's refering to is "/usr/src/linux/include/asm-i386/socket.h", you may want to check if it's there).
http://www.knoppix.net/forum/viewtopic.php?t=6582#31621
-

Originally Posted by
Stephen

Originally Posted by
turbinater
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
It's looking for the file 'socket.h' in the wrong place. You can either make a symbolic link, or edit line 305 of the file '/usr/include/bits/socket.h' (the file it's refering to is "/usr/src/linux/include/asm-i386/socket.h", you may want to check if it's there).
http://www.knoppix.net/forum/viewtopic.php?t=6582#31621
Thanks for the correction
.
-
Thanks for the reply, I fix the problem by apt-get kernel-header
Similar Threads
-
By wwhyer in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-08-2005, 06:29 PM
-
By voldemort in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 08-05-2004, 04:01 PM
-
By guyr in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-14-2004, 04:26 PM
-
By TheCyberDude in forum General Support
Replies: 3
Last Post: 06-23-2003, 06:51 PM
-
By skda in forum Customising & Remastering
Replies: 3
Last Post: 04-16-2003, 08:35 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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

MHD Wireless OBDII "Universal" Wifi Flash Adapter V2 Brand New
$120.00

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$288.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

Microsoft Windows 10 Pro 64 Bit USB Flash Drive
$24.99