Hello,
The following c code isnot compiling in CCS version 5.3 or 5.1
The processor is : C6748.
#include <stdlib.h>
int main(void)
{
system("move /Y C:/Source/SineWaveFromADC.txt C:/Destination\n");
return 0;
}
This is the message error plot in CCS console:
**** Build of configuration Debug for project RunTimeFunction_CCS53 ****
"C:\\ti\\CCSV5.3.0\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: C6000 Compiler'
"C:/ti/CCSV5.3.0/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="C:/ti/CCSV5.3.0/ccsv5/tools/compiler/c6000_7.4.1/include" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
'Finished building: ../main.c'
' '
'Building target: RunTimeFunction_CCS53.out'
'Invoking: C6000 Linker'
"C:/ti/CCSV5.3.0/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 --abi=coffabi -g --display_error_number --diag_warning=225 --diag_wrap=off -z -m"RunTimeFunction_CCS53.map" -i"C:/ti/CCSV5.3.0/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"C:/ti/CCSV5.3.0/ccsv5/tools/compiler/c6000_7.4.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model -o "RunTimeFunction_CCS53.out" "./main.obj" -l"libc.a" "../main.cmd"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_system ./main.obj
error #10234-D: unresolved symbols remain
Question:
Do you know while the linker didn't getreach the code corresponding to the function "system"?
How can i solve this "unresolved symbols" problem?
Thanks