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.
Hi,
I got this error:
--------- START ---------
<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
--------- END ---------
CCS5 settings:
ARM Compiler->Processor Options:
Target processor version = 7A8
General->Main->Variant:
DaVinci DM81xx, EVMDM8148
General -> Advanced settings:
Compiler: Ti v5.0.1
Output : eabi (ELF)
Where do I get the missing "rtsv7A8_A_le_eabi.lib"?
Is it an installation problem?
Regards,
george
George,
This is not an install error, but instead a permissions error. If you installed your copy of CCS with sudo but is running it with regular user privileges, any attempts to write to the install directory will render in a write error.
Particularly for the error you are seeing, the tool is trying to automatically build a runtime support library and place it inside the ARM compiler's lib/ directory (as shown in the message) - the lack of permissions is causing this.
Thus you have two options: either enable read-write permissions of this lib/ directory for all users (preferrable) or reinstall everything with the same privileges you use when you run the tool (I particularly don't like this option, but it is theme of great debates internally).
In any case, that should get you going.
Hope this helps,
Rafael