Results 1 to 2 of 2

Thread: compiling kernel

Hybrid View

  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
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



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



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



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



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 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB picture

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB

$282.00



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$175.90



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



Windows 11 Pro Install/Recovery/Repair USB Flash Drive picture

Windows 11 Pro Install/Recovery/Repair USB Flash Drive

$35.00



FLASHFORGE 3D Printer AD5X Multi-Color IFS Auto Refill High Speed Printing US picture

FLASHFORGE 3D Printer AD5X Multi-Color IFS Auto Refill High Speed Printing US

$349.00