Find the answer to your Linux question:
Results 1 to 4 of 4
I am trying to update my 2.4.22 kernel that came with slack 9.1 to the 2.6.5 kernel here are my steps make mrproper make menuconfig [select options I want] make ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2004
    Posts
    10

    kerrnel 2.6.5 compile error


    I am trying to update my 2.4.22 kernel that came with slack 9.1 to the 2.6.5 kernel
    here are my steps
    make mrproper
    make menuconfig
    [select options I want]
    make bzImage

    this runs for a bit and errors out with

    kernel make error no rule to make target 'net/ipv4/netfilter/ipt_ecn.o' , needed by 'net/ipv4/netfilter/built-in.o".
    [net/ipv4/netfilter] Error 2
    [net/ipv4] Error 2
    [net] Error 2


    Is there something I am not selecting that I should? Am selecting somethign that I shoudl not be?
    Any help would be appreciated.

  2. #2
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Stockholm, Sweden
    Posts
    130

    Solution?

    Well obviously you have included support for netfilter
    [Network / Networking Options / Network Packet Filtering]

    What seems to be the problem is that this module needs
    net/ipv4/netfilter/ipt_ecn.o, which I by snooping around a little in the /usr/src/linux/net/netfilter/Makefile found out was dependant on the define
    IP_NF_MATCH_ECN,
    and this option will in your kernel-config probably be something like :

    [Network / Networking Options / Network Packet Filtering / IP : Netfilter Configuration / IP Tables Support / ECN Match Support]

    So check that you have selected this option, and if that doesn't work, post back.

    Good Luck

    //ooop

  3. #3
    Just Joined!
    Join Date
    Apr 2004
    Posts
    10
    I must have really goofed something up on one of my tries becasue I rebooted the machine and it was not happy.
    After a fres install I decided to jsut try thr kernel upgrade [2.6.5] before doing anything major.
    I went in and that option was selected by default so I make no changes in the make menuconfig.
    I ran make bzImage and now it is fine

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Stockholm, Sweden
    Posts
    130
    all is well in the land of wonders =)

Posting Permissions

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