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 Building SYS/BIOS Samples in CCS5

Other Parts Discussed in Thread: OMAP3530, SYSBIOS

I'm am just getting started with CCS5 and SYS/BIOS. I am trying to build some of the SYS/BIOS samples in CCS5 and am getting an error. I am using a freshly installed CCS 5.1 with bios_6_32_05_54 and xdctools_3_22_04_46. Building for Cortex8 in OMAP3530. I get the same error building the Hello sample and the Mutex sample.

Here is the Build Console output for the Hello build:

**** Build of configuration Release for project SYSBIOS Test ****

C:\Program Files\TI\ccsv5\utils\bin\gmake -k all
'Building file: ../hello.cfg'
'Invoking: XDCtools'
"C:/Program Files/TI/xdctools_3_22_04_46/xs" --xdcpath="C:/Program Files/TI/bios_6_32_05_54/packages;C:/Program Files/TI/ipc_1_23_05_40/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8F -p ti.sdo.ipc.examples.platforms.omap3530.host -r debug -c "C:/Program Files/TI/ccsv5/tools/compiler/tms470" --compileOptions "-g --optimize_with_debug" "../hello.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring hello.xea8f from package/cfg/hello_pea8f.cfg ...
js: "C:/Program Files/TI/xdctools_3_22_04_46/packages/xdc/cfg/Main.xs", line 46: XDC runtime error: can't find the library 'lib/ti.targets.arm.rtsarm.aea8f' specified by package ti.targets.arm.rtsarm.  It wasn't found along the path 'C:/PROGRA~1/TI/bios_6_32_05_54/packages;C:/PROGRA~1/TI/ipc_1_23_05_40/packages;C:/PROGRA~1/TI/xdctools_3_22_04_46/packages;..;'.
gmake.exe: *** [package/cfg/hello_pea8f.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/hello_pea8f.xdl'
gmake.exe: *** [package/cfg/hello_pea8f.xdl] Deleting file `package/cfg/hello_pea8f.h'
gmake.exe: *** [package/cfg/hello_pea8f.xdl] Deleting file `package/cfg/hello_pea8f.c'
js: "C:/Program Files/TI/xdctools_3_22_04_46/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Thanks for any help in sorting this out.

 

  • Can you check if you have the file ti.targets.arm.rtsarm.aea8f in C:\Program Files\TI\xdctools_3_22_04_46\packages\ti\targets\arm\rtsarm\lib? If it's not there, the installation could be incomplete. If that's not the cause of the error, can you go to Project->Properties->CCS Build->Environment and set the variable XDC_TRACE_ENABLE to 'all'? Clean and rebuild, and please post the output from the console.

  • Looks like the whole "C:\Program Files\TI\xdctools_3_22_04_46\packages\ti\targets\arm\rtsarm\lib" directory was missing. I ran the installer again and this time added "C6x DSP + ARM processors" in addition to OMAP. That seems to have done the trick. I can build the samples now.

    Thanks for your help.