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.

error in kernel building or claering

Hi all,

I am working on TI-AM335x-SK with linux with "ti-sdk-am335x-evm-07.00.00.00".

i have installed it successfully. i have run the setup.sh.

While i run the commands to build kernel like mrproper, def-Config, menuconfig, modules. i get error.

some imes 123 errors.etc.

I ahve set the path correctly as mentioned in the document and following the correct directories to run the commands.

i ahve not installed/sourced environment setup file(i believe it is done thr setup.sh).

Can anyone tell me whats going wrong, or do i need to do any more things.

Below is the snap of error message

"XXXX@PUNHDCDTLINUX:/opt/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mrproper
rm: cannot remove `./scripts/kconfig/.conf.cmd': Permission denied
rm: cannot remove `./scripts/kconfig/.zconf.tab.o.cmd': Permission denied
rm: cannot remove `./scripts/kconfig/conf.o': Permission denied
rm: cannot remove `./scripts/kconfig/zconf.tab.o': Permission denied
rm: cannot remove `./scripts/kconfig/.conf.o.cmd': Permission denied
rm: cannot remove `./scripts/basic/.fixdep.cmd': Permission denied
make: *** [clean] Error 123

"

Thanks in advance