Altera_Forum
Honored Contributor
20 years agoTrouble compiling kernel
I'm having a bit of trouble trying to get the kernel to compile. In the NIOS II IDE, I right-click on the linux_kernel project and select "Build All."
The errors I get are not at all enlightening (at least not to me): <div class='quotetop'>QUOTE </div> --- Quote Start --- Using /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel ln: creating symbolic link `include2/asm' to `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/include/asm-nios2nommu': File exists 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'[/b] --- Quote End --- I tried deleting /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/include2/asm but I still get the same error - it looks like make re-creates it via a sym link. Any hints would be GREATLY appreciated.