Kernel 2.4.18 problems!!

By Toast0r
May 28, 2002
Topic Status:
Not open for further replies.
  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 Newcomer, in training Posts: 6,504

    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:

    source: http://www.linuxgazette.com/issue64/tag/16.html



    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 Newcomer, in training

  4. Mictlantecuhtli

    Mictlantecuhtli TechSpot Evangelist Posts: 4,916   +9

    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 Newcomer, in training 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.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.