This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Build fails with unclear error

I have the latest MCSDK.  I am trying to build linux but am getting an error that I cannot get past.  The full make log is below.  Here is the tail of the log

Using /home/dave/my-linux-c6x/linux-c6x as source for kernel
/home/dave/my-linux-c6x/linux-c6x is not clean, please run 'make mrproper'
in the '/home/dave/my-linux-c6x/linux-c6x' directory.
make[5]: *** [prepare3] Error 1
make[4]: *** [sub-make] Error 2
make[3]: *** [kernel-sub] Error 2
make[2]: *** [one-kernel] Error 2
Build of kernel evmc6678 Failed
make[1]: *** [one-kernels] Error 2
make: *** [kernels] Error 2

However, mrproper just give an error also.  Anyone know how to get past this?

Thanks

dave@UbuntuDevMachine:~/my-linux-c6x/linux-c6x-project$ ./prj config
scripts/setup

Skip setup of CGT for BIOS & bare-metal (not needed)
Skip setup of BIOS, IPC, XDC, and XDAIS (not needed)
distro == Ubuntu
all following packages already installed: build-essential git-core expect automake zlib1g-dev bison flex mtd-utils fakeroot genisoimage
/bin/sh looks like bash
predefined GCC directory /home/dave/my-linux-c6x/opt/gcc-c6x containing version 4.5-124
found uClibc source in /home/dave/my-linux-c6x/opt/gcc-c6x-uclibc
setup is complete
dave@UbuntuDevMachine:~/my-linux-c6x/linux-c6x-project$ ./prj build
[ -d /home/dave/my-linux-c6x/product ] || mkdir -p /home/dave/my-linux-c6x/product
cp -a /home/dave/my-linux-c6x/linux-c6x-project/scripts/bootblob /home/dave/my-linux-c6x/product/
cp -a /home/dave/my-linux-c6x/linux-c6x-project/bootblob-templates /home/dave/my-linux-c6x/product/
cp -a /home/dave/my-linux-c6x/linux-c6x-project/scripts/make-filesystem /home/dave/my-linux-c6x/product/
********** sdk0 ENDIAN=little FLOAT=hard
[ -d /home/dave/my-linux-c6x/product ] || mkdir -p /home/dave/my-linux-c6x/product
********** kernel evmc6678 ENDIAN=little
make -f /home/dave/my-linux-c6x/linux-c6x-project/Makefile -C /home/dave/my-linux-c6x/linux-c6x CROSS_COMPILE=/home/dave/my-linux-c6x/opt/gcc-c6x/bin/c6x-uclinux- KNAME=evmc6678 kernel-sub ; \

[ -d /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el ] || mkdir -p /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el
cp arch/c6x/configs/ti_evmc6678_defconfig /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/.config
[ -z "" ] || patch -p1 -d /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el -i /home/dave/my-linux-c6x/linux-c6x-project/kbuilds/
[ -z "" ] || /home/dave/my-linux-c6x/linux-c6x-project/kbuilds/ /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/.config
[ "little" == "little" ] || \
sed -i -e 's,# CONFIG_CPU_BIG_ENDIAN is not set,CONFIG_CPU_BIG_ENDIAN=y,' /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/.config
[ "yes" != "yes" ] || \
sed -i -e 's,CONFIG_TI_C6X_COMPILER=y,# CONFIG_TI_C6X_COMPILER is not set,' \
-e 's,CONFIG_TI_C6X_LINKER=y,# CONFIG_TI_C6X_LINKER is not set,' \
/home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/.config
[ -z "-evmc6678.el-dev-dave-20130212" ] || \
sed -i -e 's,CONFIG_LOCALVERSION=.*,CONFIG_LOCALVERSION="-evmc6678.el-dev-dave-20130212",' /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/.config
[ -z "console=ttyS0,115200 ip=dhcp root=/dev/nfs nfsroot=158.218.100.25:/opt/min-root-c6x-le-netcp,v3,tcp rw" ] || \
sed -i -e 's%CONFIG_CMDLINE=.*%CONFIG_CMDLINE="console=ttyS0,115200 ip=dhcp root=/dev/nfs nfsroot=158.218.100.25:/opt/min-root-c6x-le-netcp,v3,tcp rw"%' /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/.config
make ARCH=c6x O=/home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/ oldconfig
GEN /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/Makefile
scripts/kconfig/conf -o arch/c6x/Kconfig
#
# configuration written to .config
#
make ARCH=c6x O=/home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/
GEN /home/dave/my-linux-c6x/Build/kobjs/evmc6678.el/Makefile
scripts/kconfig/conf -s arch/c6x/Kconfig
Using /home/dave/my-linux-c6x/linux-c6x as source for kernel
/home/dave/my-linux-c6x/linux-c6x is not clean, please run 'make mrproper'
in the '/home/dave/my-linux-c6x/linux-c6x' directory.
make[5]: *** [prepare3] Error 1
make[4]: *** [sub-make] Error 2
make[3]: *** [kernel-sub] Error 2
make[2]: *** [one-kernel] Error 2
Build of kernel evmc6678 Failed
make[1]: *** [one-kernels] Error 2
make: *** [kernels] Error 2
dave@UbuntuDevMachine:~/my-linux-c6x/linux-c6x-project$