Forum Discussion

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

Kernel Build not working

The kernel building process is not working. My error is below, make mrproper fails as well. Any suggestions?

------------------------------------------------

Microtronix Linux Extensions

Version 1.4, Built June 20, 2005

------------------------------------------------

make: Entering directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'

no emulation specific options.

Using /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel

/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x is not clean, please run 'make mrproper'

in the '/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x' directory.

make[1]: *** [prepare2] Error 1

make: *** [_all] Error 2

make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'

3 Replies

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

    I had this problem, too. but 'make mrproper' solved this problem. I started the Nios2 SDK Shell, changed to directory:

    com.microtronix.nios2linux.kernel_1.4.0\linux-2.6.x

    and run 'make MrProper' by typing in the Nios 2 SDK Shell and it did the job.

    If it doesn't work, maybe you'll have to install a fresh version of your Linux Kit?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It worked today. I ran "make MrProper" and then "make mrproper" and it worked. It could have been I shut down the computer last night and restarted it this morning.

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

    Add to the Appendix A of the Nios II Linux Quickstart Guide, Altera Nios II 1c12 Evaluation Kit, disable SMC ethernet device driver when enabling MoreThanIP 10_100_1000