Altera_Forum
Honored Contributor
16 years agoKernel Compile Problem
Hi!
I just downloaded and set up the nios2-linux-20090825 tarball and am trying to build the kernel. I am getting the following error output and not sure why. Any ideas would be greatly appreciated! Note that I am using Ubuntu as my Linux env. make ARCH=nios2 CROSS_COMPILE=nios2-linux-gnu- O=/home/nick/nios2-linux/uClinux-dist/linux-2.6.x -j4 -C ../linux-2.6 || exit 1 make[1]: Entering directory `/home/nick/nios2-linux/linux-2.6' GEN /home/nick/nios2-linux/uClinux-dist/linux-2.6.x/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-nios2 Using /home/nick/nios2-linux/linux-2.6 as source for kernel /home/nick/nios2-linux/linux-2.6 is not clean, please run 'make mrproper' in the '/home/nick/nios2-linux/linux-2.6' directory. make[2]: *** [prepare3] Error 1 make[1]: *** [sub-make] Error 2 make[1]: INTERNAL: Exiting with 5 jobserver tokens available; should be 4! make[1]: Leaving directory `/home/nick/nios2-linux/linux-2.6' make: *** [linux] Error 1