Other Parts Discussed in Thread: CC2640R2F, SYSBIOS, CC2640
Tool/software: TI C/C++ Compiler
Hello, I can't understand that problem: it became a disaster for 2 weeks, I was trying to understand why the compiler gives me strange errors.
I've tried to change XDCTOOLS and other Libraries but it wouldn't work at all: same problem.
When I install ble_zero project CCS suggests me to install the LASTEST XDCTOOLS and after extraction it shows me the message of uncompatible OS.
I've using Windows 10 in Russian Language.
**** Build of configuration FlashROM_StackLibrary for project project_zero_cc2640r2lp_app ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../TOOLS/app_ble.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack;C:/Users/Machine/myRepository/packages;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS" --compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/extra/\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/Application\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/Startup\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/PROFILES\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/dev_info\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/roles\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/simple_profile\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include\" --define=DeviceFamily_CC26X0R2 --define=BOARD_DISPLAY_USE_LCD=0 --define=BOARD_DISPLAY_USE_UART=0 --define=BOARD_DISPLAY_USE_UART_ANSI=0 --define=Display_DISABLE_ALL --define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_STACK0_ADDR --define=POWER_SAVING --define=STACK_LIBRARY --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=UARTLOG_ENABLE --define=UARTLOG_NUM_EVT_BUF=32 --define=uartlog_FILE=\"\"\"\" -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"
configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/TOOLS/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
TOOLS/subdir_rules.mk:12: recipe for target 'build-886418847-inproc' failed
gmake: *** No rule to make target 'C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/extra/uartlog/UartLog.c', needed by 'Startup/UartLog.obj'.
gmake: *** No rule to make target 'C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/app/main.c', needed by 'Startup/main.obj'.
0 [main] sh 28864 sync_with_child: child 28032(0x1D0) died before initialization with status code 0xC0000142
18 [main] sh 28864 sync_with_child: *** child state waiting for longjmp
C:/Users/Machine/AppData/Local/Temp/make28932-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:60: rom_sysbios.obj] Error 128
gmake: *** [C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/TOOLS/src/makefile.libs:57: C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/TOOLS/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_01_18_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_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_51_01_18_core\gmake.exe: *** [package.mak:202: package/cfg/app_ble_pem3.xdl] Error 1
xdctools_3_51_01_18_core\gmake.exe: *** Deleting file 'package/cfg/app_ble_pem3.xdl'
xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.h'
xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.c'
js: "C:/ti/xdctools_3_51_01_18_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-886418847-inproc] Error 1
gmake: *** [build-886418847] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-886418847' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
**** Build of configuration FlashROM_StackLibrary for project project_zero_cc2640r2lp_app ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../TOOLS/app_ble.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack;C:/Users/Machine/myRepository/packages;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source;C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS" --compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/extra/\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/Application\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/Startup\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/PROFILES\" --include_path=\"C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/dev_info\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/roles\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/profiles/simple_profile\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include\" --define=DeviceFamily_CC26X0R2 --define=BOARD_DISPLAY_USE_LCD=0 --define=BOARD_DISPLAY_USE_UART=0 --define=BOARD_DISPLAY_USE_UART_ANSI=0 --define=Display_DISABLE_ALL --define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_STACK0_ADDR --define=POWER_SAVING --define=STACK_LIBRARY --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=UARTLOG_ENABLE --define=UARTLOG_NUM_EVT_BUF=32 --define=uartlog_FILE=\"\"\"\" -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"
configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/TOOLS/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
TOOLS/subdir_rules.mk:12: recipe for target 'build-886418847-inproc' failed
gmake: *** No rule to make target 'C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/extra/uartlog/UartLog.c', needed by 'Startup/UartLog.obj'.
gmake: *** No rule to make target 'C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/app/main.c', needed by 'Startup/main.obj'.
0 [main] sh 28864 sync_with_child: child 28032(0x1D0) died before initialization with status code 0xC0000142
18 [main] sh 28864 sync_with_child: *** child state waiting for longjmp
C:/Users/Machine/AppData/Local/Temp/make28932-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:60: rom_sysbios.obj] Error 128
gmake: *** [C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/TOOLS/src/makefile.libs:57: C:/Users/Machine/workspace_v8/project_zero_cc2640r2lp_app/TOOLS/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_01_18_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_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_51_01_18_core\gmake.exe: *** [package.mak:202: package/cfg/app_ble_pem3.xdl] Error 1
xdctools_3_51_01_18_core\gmake.exe: *** Deleting file 'package/cfg/app_ble_pem3.xdl'
xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.h'
xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.c'
js: "C:/ti/xdctools_3_51_01_18_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-886418847-inproc] Error 1
gmake: *** [build-886418847] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-886418847' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****