Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Configuration the kernel don't work

When I try to configurate the kernel i get the follow error:

make: Entering directory '/cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.mictronix.nios2linux.kernel_1.4.0/linux-2.6.x'

no emulation specific options.

HOSTCC scripts/basic/fixdep

Any sugestion ?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    When I try to compile it I get this :

    ------------------------------------------------
    Microtronix Linux Extensions
    Version 1.4, Built June 20, 2005
    ------------------------------------------------
    make: Entering directory `/cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'
    /cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/Makefile:486: .config: No such file or directory
      no emulation specific options.
      Using /cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel
      GEN    /cygdrive/e/bjornar/workspace/altera/nios/myfirstlinux/build/Makefile
      CHK     include/linux/version.h
      UPD     include/linux/version.h
      SYMLINK include/asm -> include/asm-nios2nommu
      no emulation specific options.
      HOSTCC  scripts/basic/fixdep
    /usr/local/bin/ld: cannot open crt0.o: No such file or directory
    collect2: ld returned 1 exit status
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Okey linux will sure come. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

    But I going to try this first.

    I have an new error I found out of.

    When I install Mictronix µClinux I get the following error in the end of the instalation.

    Cygwin extensions were not installed properly
    Pleas see the README for instruction on how to install them manually

    I have reinstall both the quartus and the nios.

    Okey, I have to emit that I am a litle lasy now, because I have just looked quick in the README. But I have to go to bed soon. So if someone have the answer tomorrow I would be happy. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by doofus64@Mar 3 2006, 11:42 PM

    when i try to configurate the kernel i get the follow error:

    make: entering directory &#39;/cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.mictronix.nios2linux.kernel_1.4.0/linux-2.6.x&#39;

    no emulation specific options.

    hostcc scripts/basic/fixdep

    --- Quote End ---

    Hi,

    I was getting those problems when I switched to the new version of µClinux (1.4).

    So, first of all, you have to check the compatibility of the µClinux version with the nios II one: µClinux v1.3 goes with Nios II v1.1 and the µClinux v1.4 goes with the version 5.0 of Nios II. So check this out first.

    If you have ols version of those applications and you want to move to the newest, you have first to uninstall the older ones in that order: µClinux, Nios II and maybe Quartus II to be sure. Then you reinstall in the inverse order: Quartus, Nios II and finally µClinux.

    Good luck
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by doofus64@Mar 3 2006, 11:55 PM

    when i try to compile it i get this :

    ------------------------------------------------
    microtronix linux extensions
    version 1.4, built june 20, 2005
    ------------------------------------------------
    make: entering directory `/cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x&#39;
    /cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/makefile:486: .config: no such file or directory
      no emulation specific options.
      using /cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel
      gen    /cygdrive/e/bjornar/workspace/altera/nios/myfirstlinux/build/makefile
      chk     include/linux/version.h
      upd     include/linux/version.h
      symlink include/asm -> include/asm-nios2nommu
      no emulation specific options.
      hostcc  scripts/basic/fixdep
    /usr/local/bin/ld: cannot open crt0.o: no such file or directory
    collect2: ld returned 1 exit status
    make: ***  error 1
    make: ***  error 2
    make: ***  error 2
    make: ***  error 2
    make: leaving directory `/cygdrive/e/programmer/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x&#39;

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=13108)</div>

    --- Quote End ---

    Hi,

    you can try to delete the kernel project, and recreate it again, that could work if your files were corrupted, otherwise you got to check if µClinux 1.4 works fine with your Nios II version, check my other reply in this topic to get the details.

    Good luck