Results 1 to 6 of 6

Thread: problem compiling kernel 2.6.0

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    4

    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

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: problem compiling kernel 2.6.0

    Quote 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.

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Location
    Washington State
    Posts
    120
    /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.).

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote 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

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Location
    Washington State
    Posts
    120
    Quote Originally Posted by Stephen
    Quote 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 .

  6. #6
    Junior Member
    Join Date
    Jan 2004
    Posts
    4
    Thanks for the reply, I fix the problem by apt-get kernel-header

Similar Threads

  1. compiling kernel
    By wwhyer in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-08-2005, 06:29 PM
  2. compiling kernel ??? to much stack
    By voldemort in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-05-2004, 04:01 PM
  3. Compiling kernel from source
    By guyr in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-14-2004, 04:26 PM
  4. Problem compiling kernel-source-2.4.20-xfs
    By TheCyberDude in forum General Support
    Replies: 3
    Last Post: 06-23-2003, 06:51 PM
  5. Compiling new Kernel 2.5.67 and modules under Knoppix 3.2-30
    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
  •  


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

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 picture

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 picture

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 picture

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 picture

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 picture

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

$39.80



MHD Wireless OBDII

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 picture

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 picture

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

$147.00



Microsoft Windows 10 Pro 64 Bit USB Flash Drive picture

Microsoft Windows 10 Pro 64 Bit USB Flash Drive

$24.99