Results 1 to 6 of 6

Thread: problem compiling kernel 2.6.0

  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
  •  


Vintage AppleCare Protection Plan Box for Mac Model 607-3517 COLLECTIBLE ONLY picture

Vintage AppleCare Protection Plan Box for Mac Model 607-3517 COLLECTIBLE ONLY

$20.00



Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New picture

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New

$75.00



Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer picture

Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer

$599.99



Vintage 286 Desktop PC ST251 MFM HDD Dual Floppy PartsRestore Type Vectr G2U picture

Vintage 286 Desktop PC ST251 MFM HDD Dual Floppy PartsRestore Type Vectr G2U

$79.99



Vintage Tandy Color Computer Print Master Software Manual & Floppy Disk Binder picture

Vintage Tandy Color Computer Print Master Software Manual & Floppy Disk Binder

$38.00



Vintage Apple Keyboard II Mo487 In Black picture

Vintage Apple Keyboard II Mo487 In Black

$300.00



Sealed vintage Microsoft Office Professional & Bookshelf for Windows 95 picture

Sealed vintage Microsoft Office Professional & Bookshelf for Windows 95

$100.00



Vintage Microsoft Windows 2000 Professional Edition CD ROM With Key OEM picture

Vintage Microsoft Windows 2000 Professional Edition CD ROM With Key OEM

$39.95



Vintage ECS Micro-ATX Desktop Case | Beige/Dark Grey | *READ* picture

Vintage ECS Micro-ATX Desktop Case | Beige/Dark Grey | *READ*

$80.00



Vintage Promise EIDEMAX Enhanced IDE Disk Controller ISA Non-RAID Card Boxed picture

Vintage Promise EIDEMAX Enhanced IDE Disk Controller ISA Non-RAID Card Boxed

$34.99