Results 1 to 3 of 3

Thread: Note for compiling modules against 2.6.5

  1. #1
    Senior Member
    Join Date
    Nov 2003
    Posts
    171

    Note for compiling modules against 2.6.5

    There is something going on with the cleaning scripts of kernel 2.6.5 which removes components required for the successful compilation of extra kernel modules. There are workarounds.

    If compiling against existing 2.6.5 kernel:-
    cd /usr/src/linux
    make include/linux/version.h

    If recompiling kernel with extra modules with make-kpkg kernel_image modules_image:-
    add line "do_clean := NO " to /etc/kernel-pkg.conf

  2. #2
    Junior Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    8

    ??

    Is this why I cannot compile a new kernel?

    When I try run "make xconfig" I get these error messages

    HOSTCC scripts/basic/fixdep
    In file included from /usr/include/sys/socket.h:35,
    from /usr/include/netinet/in.h:24,
    from scripts/basic/fixdep.c:107:
    /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

    and it exits. Is that why, or is my prob something different? I need to recompile the 2.6.5 kernel to see my grafx card, etc...

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I tried to configure my kernel with make xconfig too and it didn't work, but it worked perfect with 'make menuconfig'.

Similar Threads

  1. Can't open dependencies file /lib/modules/extra/modules.dep
    By wicking in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-06-2004, 07:50 PM
  2. A note of thanks
    By Christopher Webster in forum The Lounge
    Replies: 8
    Last Post: 09-06-2003, 02:27 PM
  3. Modules.conf more recent the modules.dep
    By Ambrose in forum Customising & Remastering
    Replies: 3
    Last Post: 08-12-2003, 05:01 PM
  4. 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
  5. Note about the other forum on Linuxtag...
    By Dave_Bechtel in forum General Support
    Replies: 11
    Last Post: 03-14-2003, 12:22 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
  •  


Micron 64GB 2Rx4 PC4-3200AA-RB2-14 3200MHz ECC Server RAM MTA36ASF8G72PZ-3G2F1TI picture

Micron 64GB 2Rx4 PC4-3200AA-RB2-14 3200MHz ECC Server RAM MTA36ASF8G72PZ-3G2F1TI

$4799.99



HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD picture

HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD

$249.99



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter picture

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter

$225.00



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro Server CSE-512L-200B 1U Chassis with X9SCL-F Core i3-2100 8GB 220W picture

Supermicro Server CSE-512L-200B 1U Chassis with X9SCL-F Core i3-2100 8GB 220W

$200.00



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD picture

Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD

$239.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99