Kernel 2.4.18 problems!!

By Toast0r ยท 4 replies
May 28, 2002
  1. My OS is Caldera OpenLinux 2.2 I'm trying to update my 2.2.5 kernel to 2.4.18. Though im getting an error when i type 'make menuconfig' i also tried the other configs like make xconfig etc. And I get errors. But I want to just focus on 'make menuconfig' anyway. The error is as follows:

    rm -d include/asm
    (cd include ; ln -sf asm-i386 asm)
    make -C scripts/lxdialog all
    make: *** scripts/lxdialog: No such file or directory. Stop.
    make: *** [menuconfig] Error 2

    Any suggestions? Help would be really appreciated!!
  2. Phantasm66

    Phantasm66 TS Rookie Posts: 5,734   +8

    please use only xconfig if you are a beginner.

    now, what I believe is happening to you here is something that I have had before, which is that for some reason the compiler does not like one or more of the choices that you have made.

    firstly, try compiling without ACPI. You may well find that that will solve the problem. Also, did you correctly choose your CPU type in the options??

    As I said, only use xconfig. menuconfig is like there mostly for legacy purposes and certainly isn't intended for mortals like us.

    now, do you also notice that there is a "LOAD CONFIGURATION FROM FILE" option??? well, inside the "configs" folder you will find some preset config files. perhaps you could select one that matches your architecture and go from there, as opposed to making ALL of the choices on your own???

    You will also find, if you did not junk your old kernel sources, that there is a .config file which was likely used by the installation program itself to compile your original kernel during installation (well, it least I think so anywayz....) You might want to try that. You should be able to use an older .config file with newer sources just fine.

    But essentially that's it. You have just made a choice somewhere (and presumably kept on making it,) that the compiler does not like with this source. What you have probably found is a bug. So I suggest looking harder at the choices you are making in the kernel customisation.

    Please follow this procedure for compiling your own kernel (and certainly the steps in bold at any rate:


    particularly, did you do a make dep and a make clean???

    Failing that, give up and upgrade to a later version of Caldera Linux (aren't they up to 3.1.1 or something?) or else download a new set of .iso for red hat linux 7.3 which comes with the 2.4.18 kernel already.

    if you manage to figure out from anything that I have said the solution to your problem please will you post the solution here.
  3. recoombe

    recoombe TS Rookie

  4. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    So, does the directory scripts/lxdialog exist? In my 2.4.18 kernel directory, there's 21 files, 186k in that directory (though I just upgraded 2.4.17 with patch).
    Maybe you should check that the source code package itself isn't corrupted. There could have been an error when downloading.
  5. Toast0r

    Toast0r TS Rookie Topic Starter Posts: 22

    Yep, everything is ok now the downlod wasn't complete. Duh @ me. :blackeye: < a blacky eye? hahaa.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...