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.
Tool/software: Code Composer Studio
Hi,
I installed the CCS v7 in my computer and i tried to compile a sample project. During compiling process, i got error messages. Because of that, the compiling was aborted.
Here is my sample project
/* * main.c */ int main(void) { return 0; }
Console log
**** Build of configuration Debug for project deneme ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
'Building target: deneme.out'
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M3 --code_state=16 -me -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"deneme.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="deneme_linkInfo.xml" --rom_model -o "deneme.out" "./main.obj" "../cc13x0f128.cmd" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
ResetISR
error #10234-D: unresolved symbols remain
warning #10062-D: entry-point symbol "ResetISR" undefined
>> Compilation failure
makefile:141: recipe for target 'deneme.out' failed
error #10010: errors encountered during linking; "deneme.out" not built
gmake[1]: *** [deneme.out] Error 1
makefile:137: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Problems log
Description Resource Path Location Type
#10010 errors encountered during linking; "deneme.out" not built deneme C/C++ Problem
<a href="processors.wiki.ti.com/.../10234"> unresolved symbols remain deneme C/C++ Problem
gmake: *** [all] Error 2 deneme C/C++ Problem
gmake[1]: *** [deneme.out] Error 1 deneme C/C++ Problem
unresolved symbol ResetISR deneme C/C++ Problem
#10062-D entry-point symbol "ResetISR" undefined deneme C/C++ Problem
I am using CC1350 launchpad and i tried to build TI-RTOS CC1350 lauchpad example which is about ADC
Problems Log
Description Resource Path Location Type
gmake: *** [../src/sysbios/rom_sysbios.aem3] Error 2 App C/C++ Problem
gmake: *** [build-1536868849] Error 2 App C/C++ Problem
gmake: *** [C:/App/src/sysbios/rom_sysbios.aem3] Error 2 App C/C++ Problem
gmake: Target 'all' not remade because of errors. App C/C++ Problem
gmake[1]: *** [build-1536868849-inproc] Error 1 App C/C++ Problem
gmake[1]: *** [m3_Hwi_asm.obj] Error -1073741502 App C/C++ Problem
gmake[1]: *** [rom_sysbios.obj] Error 128 App C/C++ Problem
gmake[1]: *** [rom_sysbios.obj] Error 258 App C/C++ Problem
gmake[1]: Target 'all' not remade because of errors. App C/C++ Problem
xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: .xdchelp /App line 209 C/C++ Problem
xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/adcsinglechannel_pem3.xdl] Deleting file `package/cfg/adcsinglechannel_pem3.c' App C/C++ Problem
xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/adcsinglechannel_pem3.xdl] Deleting file `package/cfg/adcsinglechannel_pem3.h' App C/C++ Problem
xdctools_3_32_01_22_core\gmake.exe: *** Deleting file `package/cfg/adcsinglechannel_pem3.xdl' App C/C++ Problem
Console Log
**** Build of configuration Debug for project App ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
'Building file: ../adcsinglechannel.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/tirex-content/tirtos_cc13xx_cc26xx_2_21_00_06/packages;C:/ti/tirex-content/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;C:/ti/tirex-content/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;C:/ti/tirex-content/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1350F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS" --compileOptions "-mv7M3 --code_state=16 --float_support=vfplib -me --include_path=\"C:/App\" --include_path=\"C:/ti/tirex-content/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include\" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../adcsinglechannel.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring adcsinglechannel.xem3 from package/cfg/adcsinglechannel_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/App/src/sysbios/rom_sysbios.aem3 ...
gmake[1]: Entering directory `C:/App/src/sysbios'
clem3 C:/ti/tirex-content/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/BIOS.c ...
gmake[1]: Leaving directory `C:/App/src/sysbios'
Build of libraries failed.
subdir_rules.mk:26: recipe for target 'build-1536868849-inproc' failed
0 [main] sh 12692 sync_with_child: child 10352(0x1F8) died before initialization with status code 0xC0000142
42 [main] sh 12692 sync_with_child: *** child state waiting for longjmp
C:/Users/Erdem/AppData/Local/Temp/make11040-1.sh: fork: Resource temporarily unavailable
gmake[1]: *** [rom_sysbios.obj] Error 128
gmake: *** [C:/App/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/adcsinglechannel_pem3.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/adcsinglechannel_pem3.xdl'
gmake.exe: *** [package/cfg/adcsinglechannel_pem3.xdl] Deleting file `package/cfg/adcsinglechannel_pem3.h'
gmake.exe: *** [package/cfg/adcsinglechannel_pem3.xdl] Deleting file `package/cfg/adcsinglechannel_pem3.c'
js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1536868849-inproc] Error 1
gmake: *** No rule to make target 'build-1536868849', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1536868849', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1536868849', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Please help me to solve my problem.
Have nice day
Thank you
erdem simsek said:I installed the CCS v7 in my computer and i tried to compile a sample project. During compiling process, i got error messages. Because of that, the compiling was aborted.
It seems that you are trying to build the "Empty project" template in CCS. Similar to this post, support for creating and building simple empty projects for CC1350 is not clean in CCS and is not the recommended way of starting development. Instead it is recommended to begin with the CC13x0 SDK and the examples included with it.
erdem simsek said:
erdem simsek said:error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
Some common reasons for the above error are described in this wiki page. Could you please check if any of those apply to your situation?
If it does not, I would recommend starting with the CC13X0 SDK (which also includes TI-RTOS), importing the examples from there and following their recommended build flow.
Hope this helps get you going in the right direction.
erdem simsek said:WinAVR is installed in my computer. Because of that, i could not compile the code.
Yes that is one of the toolchains that is known to cause a conflict, as per this wiki link.
erdem simsek said:Are there any way to use TI-RTOS and WinAVR together?
Unfortunately this is still a known open issue, and I don't have a timeline at this point on when this will be addressed. You can still have WinAVR installed, you just need to ensure that those tools are removed from the system PATH or that they appear after the CCS paths.