Results 1 to 2 of 2

Thread: compiling kernel

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    1

    compiling kernel

    I installed knoppix 3.6 on hard disk.
    I tried to recompile kernel: I unpacked source kernel 2.6.11 in /usr/src/linux. I copied /boot/config-2.6.7 there but this is what happens:

    root@haus:/usr/src/linux# make menuconfig
    HOSTCC scripts/basic/fixdep
    In file included from /usr/include/sys/socket.h:35,
    from /usr/include/netinet/in.h:24,
    from /usr/include/arpa/inet.h:23,
    from scripts/basic/fixdep.c:115:
    /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
    make[1]: *** [scripts/basic/fixdep] Error 1
    make: *** [scripts_basic] Error 2

    What do it means? I did the same procedure with debian which worked. What changes in knoppix?

    Thank you helping me! I am destroied by this problem...

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Try: apt-get linux-kernel-headers
    If it doesn't help try changing line 305 of /usr/include/bits/socket.h from "#include <asm/socket.h>" to "#include </usr/src/linux/include/asm-i386/socket.h>

Similar Threads

  1. compiling a new kernel
    By tbogue in forum Customising & Remastering
    Replies: 10
    Last Post: 03-15-2009, 03:37 AM
  2. Compiling Cloop for kernel 2.6.26-1
    By hal8000 in forum Customising & Remastering
    Replies: 1
    Last Post: 12-26-2008, 02:55 PM
  3. Kernel compiling.
    By Aleramo in forum General Support
    Replies: 12
    Last Post: 08-15-2006, 08:36 AM
  4. compiling kernel ??? to much stack
    By voldemort in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-05-2004, 04:01 PM
  5. Compiling kernel from source
    By guyr in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-14-2004, 04:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



Patriot Viper 4 Blackout 64GB 2x32GB DDR4-3600 CL18 PVB464G360C8K RAM Kit #P2 picture

Patriot Viper 4 Blackout 64GB 2x32GB DDR4-3600 CL18 PVB464G360C8K RAM Kit #P2

$349.00



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

$21.68



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



TEAMGROUP T-Force Zeus 64GB (2x32GB) DDR4 2666MHz PC4-21300 Desktop RAM Kit picture

TEAMGROUP T-Force Zeus 64GB (2x32GB) DDR4 2666MHz PC4-21300 Desktop RAM Kit

$199.99



Patriot Viper Steel 64GB (2x32GB) DDR4 RAM 3600MT/s CL18 #P1 picture

Patriot Viper Steel 64GB (2x32GB) DDR4 RAM 3600MT/s CL18 #P1

$349.00



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



ADATA XPG Spectrix White RGB AX4U320038G16-BW41 32GB DDR4 matching set of 8GB picture

ADATA XPG Spectrix White RGB AX4U320038G16-BW41 32GB DDR4 matching set of 8GB

$149.99



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00