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
Team,
My customer who develops the wireless solution suffers from build error of SimpleLink SDK(BLE). Tried to use the CCS9.2, CCS9.2, CCS8.3, however same error was appeared. Also tried many version of XDCTools. The build log tells as below:
----
TOOLS/subdir_rules.mk:12: recipe for target 'build-1775634113-inproc' failed
1 [main] ? (35968) C:\ti\xdctools_3_51_03_28_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x2D588E0/0x2CD88E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
----
Checked many versions of cygwin1.dll in “\xdctools_xxx_core\bin” but there are matching with my PC's one.
Could I have your advice how to solve this issue?
Thank you for your support.
Regards,
Nonaka
**** Build of configuration FlashROM_StackLibrary for project rtls_master_cc2640r2lp_app **** "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../TOOLS/app_ble.cfg" Invoking: XDCtools "C:/ti/xdctools_3_51_03_28_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source;C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack;" 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/10001163802/workspace_v8/rtls_master_cc2640r2lp_app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/rtls\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/tof\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/aoa\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/npi/src/unified/inc/\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/examples/rtos/CC2640R2_LAUNCHXL/blestack/rtls_master/src/app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/profiles/roles\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/profiles/simple_profile\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include\" --define=CACHE_AS_RAM --define=MAX_PDU_SIZE=128 --define=RTLS_HOST_EXTERNAL --define=RTLS_MASTER --define=NPI_USE_UART --define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=xDEBUG_SW_TRACE --define=DeviceFamily_CC26X0R2 --define=Display_DISABLE_ALL --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=4 --define=ICALL_STACK0_ADDR --define=xPOWER_SAVING --define=STACK_LIBRARY --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=RF_MULTIMODE -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg" TOOLS/subdir_rules.mk:12: recipe for target 'build-1775634113-inproc' failed 1 [main] ? (35968) C:\ti\xdctools_3_51_03_28_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x2D588E0/0x2CD88E0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 1 [main] ? (20388) C:\ti\xdctools_3_51_03_28_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x2D588E0/0x2D488E0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 2 [main] ? (14972) C:\ti\xdctools_3_51_03_28_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x2D588E0/0x2C888E0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 2 [main] sh 12880 fork: child -1 - died waiting for longjmp before initialization, retry -1, exit code 0xC0000142, errno 11 c:/Temp/make16736-1.sh: Cannot fork: Resource temporarily unavailable C:/ti/xdctools_3_51_03_28_core/packages/xdc/bld/xdc_rules.mak:307: *** Error: Specified build configuration file '' is not found. Stop. js: "C:/ti/xdctools_3_51_03_28_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-1775634113-inproc] Error 1 gmake: *** [build-1775634113] Error 2 TOOLS/subdir_rules.mk:9: recipe for target 'build-1775634113' failed gmake: Target 'all' not remade because of errors. **** Build Finished ****
Please have a look at this FAQ: https://e2e.ti.com/support/tools/ccs/f/81/t/786662
Most likely the customer's issue is related to Cygwin. Please check the 2nd bullet at this page for potential solutions.