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.

C6Run method "root"?

 

Hello TI Experts,

I am creating a library to DSP, I used C6Run v0.94.03.03 and everything ok,  but if I use C6Run v0.94.04.05, the script c6runlib-cc generates the next error:

Can't call method "root" on an undefined value at /home/mleiva/C6Run_0_94_04_05/bin/../bin/perl/c6runlib-rpcgen.pl line 1223.
/home/mleiva/C6Run_0_94_04_05/bin/c6runlib-cc: line 447: /opt/arm-linux-gnueabi: is a directory
/home/mleiva/C6Run_0_94_04_05/bin/c6runlib-cc: line 455: /opt/TI/TI_CGT_C6000_6.1.9: is a directory
/home/mleiva/C6Run_0_94_04_05/bin/c6runlib-cc: line 469: /opt/TI/TI_CGT_C6000_6.1.9: is a directory
mv: cannot stat `pcuDsp.o': No such file or directory
mv: cannot stat `pcuDsp.gpp_stub.o': No such file or directory
mv: cannot stat `pcuDsp.dsp_stub.o': No such file or directory
c6runlib-ar: dspobj/pcuDsp.o: No such file or directory


What's wrong?

Thanks.

  • It looks like the directory setup for the code generation tools is not correct.  Check the Rules.mak file and verify that there are no spaces at the end of the lines that the define the CODEGEN_INSTALL_DIR and ARM_TOOLCHAIN_PATH.  I have seen this kind of error when there are spaces and the commands for calling the compiler are then malformed.

    Regards, Daniel