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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial Memory 32GB (2 x 16GB) picture

Crucial Memory 32GB (2 x 16GB)

$90.00



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



Samsung 256GB (16GBx16) 2Rx4 PC3L-10600R DDR3 ECC RDIMM Server Memory #99 picture

Samsung 256GB (16GBx16) 2Rx4 PC3L-10600R DDR3 ECC RDIMM Server Memory #99

$124.99



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



Kingston KCP424SD8/16 16GB DDR4 2400Mhz Memory RAM picture

Kingston KCP424SD8/16 16GB DDR4 2400Mhz Memory RAM

$15.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98