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.

6713 DSK with CCS 5.2.1.00018 Error sin.c and tan.c while compiling

I was trying to compile an empty project. But I always get two errors. I read about the problem but nothing helped.

I set the project up with:

processors.wiki.ti.com/.../C6713DSK_in_CCSv5

Im using a 6713 DSK

CCS 5.2.1.00018

Compiler version TI V7.3.4

Output format: eabi(ELF)

Error:



**** Build of configuration Debug for project test1 ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building target: test1.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6700 -g -O3 -ms3 --define=c6713 --display_error_number --diag_warning=225 --mem_model:data=far --abi=eabi -z -m"test1.map" --stack_size=0x800 --heap_size=0x800 --warn_sections --display_error_number -i"C:/C6xCSL/lib_3x/csl6713.lib" -i"C:/DSK6713/c6000/dsk6713/lib/dsk6713bsl.lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --reread_libs --rom_model -o "test1.out"  "./main.obj"
<Linking>
warning #10366-D: automatic library build: using library
   "C:\ti\ccsv5\tools\compiler\c6000_7.3.4\lib\rts6700_elf.lib" for the first
   time, so it must be built.  This may take a few minutes.
cygwin warning:
  MS-DOS style path detected: C:\Users\Laptop\workspace_v5_2\test1\Debug
  Preferred POSIX equivalent is: /cygdrive/c/Users/Laptop/workspace_v5_2/test1/Debug
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    cygwin.com/.../using.html
cygwin warning:
  MS-DOS style path detected: C:\Users\Laptop\workspace_v5_2\test1\Debug
  Preferred POSIX equivalent is: /cygdrive/c/Users/Laptop/workspace_v5_2/test1/Debug
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    cygwin.com/.../using.html
error: function sin in file sin.c : invalid instruction schedule generated; try
   reducing speed optimization levels
"sqrtf_i.h", line 40: warning: variable "f" was set but never used
"sqrtf_i.h", line 40: warning: variable "f" was set but never used
error: function tanh in file tanh.c : invalid instruction schedule generated;
   try reducing speed optimization levels
cygwin warning:
  MS-DOS style path detected: C:\Users\Laptop\workspace_v5_2\test1\Debug
  Preferred POSIX equivalent is: /cygdrive/c/Users/Laptop/workspace_v5_2/test1/Debug
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    cygwin.com/.../using.html
  -->  error: '*.obj
' not found
gmake.exe[1]: *** [library] Error 1
>> ERROR: mklib: gmake error during rts6700_elf.lib build
warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to
   "C:\ti\ccsv5\tools\compiler\c6000_7.3.4\lib\rts6700_elf.lib", but
   "C:\ti\ccsv5\tools\compiler\c6000_7.3.4\lib\rts6700_elf.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; "test1.out" not built
gmake: *** [test1.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

can anyone help?

  • Hi Chris,
    I would like to suggest to install latest CCS IDE either v5.5 or v6.
    You won't see any problem with that versions.

    Your log seems you installed IDE recently and building first example on this IDE.
    Ensure "C:\ti\ccsv5\tools\compiler\c6000_7.3.4\lib\rts6700_elf.lib" the mentioned library available in compiler path.