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
  •  


5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



TP-Link TL-SX105 10GB 5-Port Switch - Unopened picture

TP-Link TL-SX105 10GB 5-Port Switch - Unopened

$195.00



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99