Other Parts Discussed in Thread: AM3359
Hello,
I've installed CCS 5.3 on Linux to test drive development for BeagleBone/AM335x platform. I've created ccs project and using hello world demo as a template. I've not touched the code and just build, but build fails with:
**** Build of configuration Debug for project testBeagle ****
/opt/ti/ccsv5/utils/bin/gmake -k all
Building file: ../hello.c
Invoking: ARM Compiler
"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me -g --include_path="/opt/ti/ccsv5/tools/compiler/arm_5.0.1/include" --define=am3359 --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="hello.pp" "../hello.c"
Finished building: ../hello.c
Building target: testBeagle.out
Invoking: ARM Linker
"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me -g --define=am3359 --diag_warning=225 --display_error_number --diag_wrap=off -z --stack_size=0x800 -m"testBeagle.map" --heap_size=0x800 -i"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib" -i"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model -o "testBeagle.out" "./hello.obj" -l"libc.a" "../AM3359.cmd"
<Linking>
warning #10366-D: automatic library build: using library "/opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib/rtsv7A8_A_le_eabi.lib" for the first time, so it must be built. This may take a few minutes.
>> ERROR: mklib: could not open /opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib/rtsv7A8_A_le_eabi.lib for writing: Permission denied
warning #10207-D: automatic RTS selection: resolving index library "libc.a" to "/opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib/rtsv7A8_A_le_eabi.lib", but "/opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib/rtsv7A8_A_le_eabi.lib" was not found
error #10198-D: no input section is linked in
warning #10062-D: entry-point symbol "_c_int00" undefined
>> Compilation failure
warning #10202-D: no suitable entry-point found; setting to 0
error #10010: errors encountered during linking; "testBeagle.out" not built
gmake: *** [testBeagle.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
this looks like something is wrong with the code bundled with CCS which is being build for the hello world example. Is there any work around for this? Or even proper fix which I can try?
Thanks a lot!
Karel