Altera_Forum
Honored Contributor
20 years agoError Building Linux Kernel Project
I'm using a Stratus II development board, and have a new installation of Linux using Setup.
Referring to the Nios II Linux Quickstart Guide, I'm stuck on Building the kernel and receive the below error messages. I have checked the .config file and it's set for the Stratus II. 1) The first question is why is there a request to "make mrproper", and this is for a clean build? ------------------------------------------------ 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' 2) I went to the specified directory .../linux-2.6.x and did a "make mrproper", but received new errors, as seen below. Any ideas on how to fix this? C:\altera\kits\nios2\bin\eclipse\plugins\com.microtronix.nios2linux.kernel_1.4.0 >cd linux-2.6.x C:\altera\kits\nios2\bin\eclipse\plugins\com.microtronix.nios2linux.kernel_1.4.0 \linux-2.6.x>make mrproper Makefile:531: /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix. nios2linux.kernel_1.4.0/linux-2.6.x/arch/i386/Makefile: No such file or director y gcc: not found gcc: not found make: *** No rule to make target `/cygdrive/c/altera/kits/nios2/bin/eclipse/plug ins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/i386/Makefile'. St op. C:\altera\kits\nios2\bin\eclipse\plugins\com.microtronix.nios2linux.kernel_1.4.0 \linux-2.6.x>make mrproper C:\altera\kits\nios2\bin\eclipse\plugins\com.microtronix.nios2linux.kernel_1.4.0 \linux-2.6.x>