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.

CCS/MSP432P401R: ble example program not running, Simple application processor

Part Number: MSP432P401R
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

following build errors exist in the SAP example program imported into ccsv7....

**** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
7 Assembly Errors, 1 Assembly Warning

>> Compilation failure
makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
"C:\ti\simplelink_msp432p4_sdk_1_60_00_12\kernel\tirtos\packages\ti\sysbios\family\arm\m3\Hwi.h", line 54: fatal error: cannot open source file "xdc/std.h"
Compilation terminated.
"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 37:
[E1000]
error while processing C code in .cdecls directive
.cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 53:
[E0004]
Structure/Union tag symbol expected
ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 99:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_Build_useIndirectReferences

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 99:
[R0001]
After symbol substitution the line became:
.if FALSE

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 160:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_Build_useIndirectReferences

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 160:
[R0001]
After symbol substitution the line became:
.if FALSE

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 263:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_Build_useIndirectReferences

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 263:
[R0001]
After symbol substitution the line became:
.if FALSE

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 267:
[E0009]
Missing struct/union member or tag
swiTaskKeyAddr: .word ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 289:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_BIOS_smpEnabled__D

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 289:
[R0001]
After symbol substitution the line became:
.if FALSE

"C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at EOF:
[E0300]
The following symbols are undefined:
FALSE
swiTaskKeys
ti_sysbios_family_arm_m3_Hwi_Module_State
ti_sysbios_family_arm_m3_Hwi_Module__state__V

Errors in Source - Assembler Aborted
gmake[1]: *** [m3_Hwi_asm.obj] Error 1
gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'

  • Manthan,
    This is what I am seeing:

    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****

    "C:\\ti\\ccs720\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    gmake[1]: Entering directory 'C:/Users/a0210122/trainingWorkspace/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug'
    'Building file: ../release.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccs720/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccs720/ccsv7/tools/compiler/ti-cgt-arm_17.9.0.STS" "../release.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/a0210122/trainingWorkspace/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f ...

    Is the tirtos_builds from a previous example/project or was it installed when you imported the SimpleLink Plugin?

    Regards,
    Chris
  • Manthan,

    Can you do a clean (and delete the debug and src directories) on the kernel project. Then do a build and attach the full build output. Please don't copy/paste into the thread since it makes it harder to read.

    Thanks,
    Todd
  • i am not sure i understand the process...
  • Perform a clean of the project by right-clicking on the project and selecting 'Clean Project'.

    Then delete these two directories (I extracted these paths from your console output):

    C:/Users/a0210122/trainingWorkspace/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug

    C:/Users/a0210122/trainingWorkspace/tirtos_builds_MSP_EXP432P401R_release_ccs/src

    Then perform a 'Build Project' similar to how you did the 'Clean Project'.

    After the build is complete (success or failure), copy and paste the entire build console log output into a text file and attach the text file to your next post. You can copy the entire console log by right clicking within the build console window and 'select all' then 'copy'.

    Alan

  • Just to confirm for myself that the project is buildable, I installed both products your build log references, then imported the "simple_application_processor_MSP_EXP432P401R_tirtos_ccs" example into both a 7.2 CCS installation and an 8.0 installation. In both cases, the project build successfully.

    Is that the correct example project?

    Alan
  • The example project is correct.

    however,I am unable to understand the issue i am facing here with the 'XDC' part.....as the objectfiles for the rtos are not getting built due to the fact that ccs is unable to open std.h file (and other errors but these i presume occurred because of the first one).

    i.e for a file in the sys/bios, there is a ' #include<xdc/std.h>'   ,which is not being read from : 'xdctools_3_50_04_43_core'  folder.

  • i directly imported the example project to my ide,however i believe the xdc files were from some other folder named 'xdctools_3_50_04_43_core'.
  • there are 2 error logs: while compilation, an error message appears and there is the following console log in the console (

    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    7 Assembly Errors, 1 Assembly Warning
    
    >> Compilation failure
    makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
    "C:\ti\simplelink_msp432p4_sdk_1_60_00_12\kernel\tirtos\packages\ti\sysbios\family\arm\m3\Hwi.h", line 54: fatal error: cannot open source file "xdc/std.h"
    Compilation terminated.
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 37:
     [E1000]
             error while processing C code in .cdecls directive
    	        .cdecls C,NOLIST,"package/internal/Hwi.xdc.h"
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 53:
     [E0004]
             Structure/Union tag symbol expected
    	ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 99:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_Build_useIndirectReferences
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 99:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 160:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_Build_useIndirectReferences
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 160:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 263:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_Build_useIndirectReferences
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 263:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 267:
     [E0009]
             Missing struct/union member or tag
    	swiTaskKeyAddr:         .word           ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 289:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_BIOS_smpEnabled__D
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 289:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at EOF:
     [E0300]
             The following symbols are undefined:
      FALSE
      swiTaskKeys
      ti_sysbios_family_arm_m3_Hwi_Module_State
      ti_sysbios_family_arm_m3_Hwi_Module__state__V
    
    Errors in Source - Assembler Aborted
    gmake[1]: *** [m3_Hwi_asm.obj] Error 1
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    
    ) after clicking 'OK', the console log output changes to (
    **** Clean-only build of configuration Debug for project simple_application_processor_MSP_EXP432P401R_tirtos_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 clean -O 
     
    DEL /F  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex"  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.out" 
    DEL /F "MSP_EXP432P401R.obj" "cc2640r2lp_simple_np_uart_pm_sbl.obj" "main_tirtos.obj" "platform_msp432p401r.obj" "simple_application_processor.obj" "Profile\profile_util.obj" "Profile\simple_gatt_profile.obj" "sbl\sbl.obj" "sbl\sbl_cmd.obj" "sbl\sbl_image_int.obj" "sbl\sbl_simplelink.obj" "sbl\sbl_tl.obj" 
    DEL /F "MSP_EXP432P401R.d" "cc2640r2lp_simple_np_uart_pm_sbl.d" "main_tirtos.d" "platform_msp432p401r.d" "simple_application_processor.d" "Profile\profile_util.d" "Profile\simple_gatt_profile.d" "sbl\sbl.d" "sbl\sbl_cmd.d" "sbl\sbl_image_int.d" "sbl\sbl_simplelink.d" "sbl\sbl_tl.d" 
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.d
    'Finished clean'
     
    
    **** Build Finished ****
    Buildfile generation error occurred..
    Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_release_ccs' contains build-errors.
    Build stopped..
    
    )

  • The configuration  seems to have gotten quite muddled up. I suggest you start over by fully deleting both the “simple_application_processor_MSP_EXP43201R_tirtos_ccs” and the “tirtos_builds_MSP_EXP432P401R_release” projects.

    When the confirmation dialog box comes up asking you if you’re sure you want to delete the projects, make sure you select the “Delete project contents on disk (cannot be undone)” checkbox:

    Following that, check the “RTSC” Products in the “Window->Preferences” pane and make sure that the “XDCtools version” is 3.50.4.43_core, and that the selected MSP432 SDK is 1.60.1.12, and that the selected “SimpleLink SDK BLE Plugin” is 1.30.1.42.

    Then, re-import the “simple_application_processor_MSP_EXP43201R_tirtos_ccs” project.

    After re-importing is complete, right click on the “tirtos_builds_MSP_EXP432P401R_release” project and bring up the “Show Build Settings” pane. Confirm that the same XDCtools, MSP432 SDK, and SimpleLink SDK BLE Plugin versions are selected.

    Then try building the project again. Hopefully, this time you’ll have more success.

    Alan

     

  • hi,

    I realised that the configuration settings you mentioned for rtsc were not set initially.I traced your instructions ,but the errors seem to have persisted...

    i cleaned the project and this time tried to build only the tirtos_builds_MSP432 ...this is the error log :-

    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    'Building file: "../release.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS" "../release.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:12: recipe for target 'build-223847199-inproc' failed
          0 [main] sh 7824 sync_with_child: child 8376(0x260) died before initialization with status code 0xC0000142
         13 [main] sh 7824 sync_with_child: *** child state waiting for longjmp
    C:/Users/Admin/AppData/Local/Temp/make1804-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_04_43_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_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/release_pem4f.xdl'
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.h'
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.c'
    js: "C:/ti/xdctools_3_50_04_43_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-223847199-inproc] Error 1
    'Building file: "../release.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS" "../release.cfg"
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:12: recipe for target 'build-223847199-inproc' failed
          0 [main] sh 14088 sync_with_child: child 14768(0xDC) died before initialization with status code 0xC0000142
         12 [main] sh 14088 sync_with_child: *** child state waiting for longjmp
    C:/Users/Admin/AppData/Local/Temp/make1672-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_04_43_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_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_50_04_43_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Error 1
    xdctools_3_50_04_43_core\gmake.exe: *** Deleting file `package/cfg/release_pem4f.xdl'
    xdctools_3_50_04_43_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.h'
    xdctools_3_50_04_43_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.c'
    js: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-223847199-inproc] Error 1
    gmake[1]: *** [build-223847199] Error 2
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2
    subdir_rules.mk:9: recipe for target 'build-223847199' failed
    makefile:127: recipe for target 'all' failed
    
    **** Build Finished ****
    

  • Is this after completely deleting both old projects and then re-importing them? If so, are you using a third party's unix emulation tools on your PC (ie CygWin)? We've had lots of build problems when these tools are installed.

    Alan
  • yes i deleted both of the projects and reimported.Though i am not aware about the unix emulation tools.where do I look for this?
  • Hi manthan,
    there could be software packages in your PATH variable that contain Cygwin DLLs. If you can post your path we may be able to recognize some.
    We have seen these Cygwin problems before, and on Windows 10 they may happen independently from XDCtools. Sometimes, a simple reboot can clear the memroy allocations for Cygwin and the problem disappears for a while. Sometimes, it helps to remove from the path any package that relies on Cygwin.
    I would try rebooting first.
  • manthan,
    what you posted are Include directories that the compiler will search, but that's not where the problem is. I was talking about the system environment variable PATH.
    BTW, have you tried rebooting?
  • Sasha Slijepcevic,

    I tried rebooting,it didn't work.where do i find the system path variable?

    i tried searching,is it this?

  • Please open Command Prompt and type 'set PATH', and post the output.
    Also, which version of Windows are you using?
  • Path=C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\Java\jdk1.8.0_144\bin;C:\Program Files (x86)\Notepad++;C:\Program Files\Git\cmd;D:\vlc-master;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Admin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\LLVM\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

    i am working on windows 10.

    here is the output.

  • I am pretty sure that WinAVR is cygwin-based, and there could be others. As an experiment, try removing everything from PATH, and clean and rebuild the project, and see if that helps.
  • i tried doing that.errors persist.

    i have also attached error logs:

    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    7 Assembly Errors, 1 Assembly Warning
    
    >> Compilation failure
    makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
    "C:\ti\simplelink_msp432p4_sdk_1_60_00_12\kernel\tirtos\packages\ti\sysbios\family\arm\m3\Hwi.h", line 54: fatal error: cannot open source file "xdc/std.h"
    Compilation terminated.
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 37:
     [E1000]
             error while processing C code in .cdecls directive
    	        .cdecls C,NOLIST,"package/internal/Hwi.xdc.h"
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 53:
     [E0004]
             Structure/Union tag symbol expected
    	ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 99:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_Build_useIndirectReferences
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 99:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 160:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_Build_useIndirectReferences
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 160:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 263:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_Build_useIndirectReferences
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 263:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 267:
     [E0009]
             Missing struct/union member or tag
    	swiTaskKeyAddr:         .word           ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 289:
     [E0004]
             Absolute, well-defined integer value expected
    	    .if ti_sysbios_BIOS_smpEnabled__D
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 289:
     [R0001]
             After symbol substitution the line became:
    	    .if FALSE
    
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at EOF:
     [E0300]
             The following symbols are undefined:
      FALSE
      swiTaskKeys
      ti_sysbios_family_arm_m3_Hwi_Module_State
      ti_sysbios_family_arm_m3_Hwi_Module__state__V
    
    Errors in Source - Assembler Aborted
    gmake[1]: *** [m3_Hwi_asm.obj] Error 1
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    
    **** Clean-only build of configuration Debug for project simple_application_processor_MSP_EXP432P401R_tirtos_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 clean -O 
     
    DEL /F  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex"  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.out" 
    DEL /F "MSP_EXP432P401R.obj" "cc2640r2lp_simple_np_uart_pm_sbl.obj" "main_tirtos.obj" "platform_msp432p401r.obj" "simple_application_processor.obj" "Profile\profile_util.obj" "Profile\simple_gatt_profile.obj" "sbl\sbl.obj" "sbl\sbl_cmd.obj" "sbl\sbl_image_int.obj" "sbl\sbl_simplelink.obj" "sbl\sbl_tl.obj" 
    DEL /F "MSP_EXP432P401R.d" "cc2640r2lp_simple_np_uart_pm_sbl.d" "main_tirtos.d" "platform_msp432p401r.d" "simple_application_processor.d" "Profile\profile_util.d" "Profile\simple_gatt_profile.d" "sbl\sbl.d" "sbl\sbl_cmd.d" "sbl\sbl_image_int.d" "sbl\sbl_simplelink.d" "sbl\sbl_tl.d" 
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.d
    'Finished clean'
     
    
    **** Build Finished ****
    Buildfile generation error occurred..
    Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_release_ccs' contains build-errors.
    Build stopped..
    

  • You have a different kind of error now. Try cleaning and rebuilding the project tirtos_builds_MSP_EXP432P401R_release_ccs again until you get either a clean build, or a build step that runs configuro. I need to see that configuro step to be able to tell what's going on.
    Leave the application project aside until tirtos_builds_MSP_EXP432P401R_release_ccs builds.
  • i tried.I got the same error.i didnt get the configuro part.


    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...

    >> Compilation failure
    makefile:59: recipe for target 'BIOS.obj' failed
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c", line 36: fatal error: cannot open source file "xdc/std.h"
    1 catastrophic error detected in the compilation of "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'

  • What about cleaning first?
  • **** Clean-only build of configuration Debug for project simple_application_processor_MSP_EXP432P401R_tirtos_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 clean -O 
     
    DEL /F  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex"  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.out" 
    DEL /F "MSP_EXP432P401R.obj" "cc2640r2lp_simple_np_uart_pm_sbl.obj" "main_tirtos.obj" "platform_msp432p401r.obj" "simple_application_processor.obj" "Profile\profile_util.obj" "Profile\simple_gatt_profile.obj" "sbl\sbl.obj" "sbl\sbl_cmd.obj" "sbl\sbl_image_int.obj" "sbl\sbl_simplelink.obj" "sbl\sbl_tl.obj" 
    DEL /F "MSP_EXP432P401R.d" "cc2640r2lp_simple_np_uart_pm_sbl.d" "main_tirtos.d" "platform_msp432p401r.d" "simple_application_processor.d" "Profile\profile_util.d" "Profile\simple_gatt_profile.d" "sbl\sbl.d" "sbl\sbl_cmd.d" "sbl\sbl_image_int.d" "sbl\sbl_simplelink.d" "sbl\sbl_tl.d" 
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.d
    'Finished clean'
     
    
    **** Build Finished ****
    here is the clean output:

    clean of "simple_application_processor_MSP_EXP432P401R_tirtos_ccs" was successful

  • I meant you need to clean the project tirtos_builds_MSP_EXP432P401R_release_ccs and then rebuild that same project.
  • **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    
    >> Compilation failure
    makefile:59: recipe for target 'BIOS.obj' failed
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c", line 36: fatal error: cannot open source file "xdc/std.h"
    1 catastrophic error detected in the compilation of "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    
    
    --------------------------------------------------
    error message box-> "The application was unable to start correctly(0xc0000142).click 'OK' to close the application.
    --------------------------------------------------
    
    console o/p afterwards:-
    
    
    **** Clean-only build of configuration Debug for project simple_application_processor_MSP_EXP432P401R_tirtos_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 clean -O 
     
    DEL /F  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex"  "simple_application_processor_MSP_EXP432P401R_tirtos_ccs.out" 
    DEL /F "MSP_EXP432P401R.obj" "cc2640r2lp_simple_np_uart_pm_sbl.obj" "main_tirtos.obj" "platform_msp432p401r.obj" "simple_application_processor.obj" "Profile\profile_util.obj" "Profile\simple_gatt_profile.obj" "sbl\sbl.obj" "sbl\sbl_cmd.obj" "sbl\sbl_image_int.obj" "sbl\sbl_simplelink.obj" "sbl\sbl_tl.obj" 
    DEL /F "MSP_EXP432P401R.d" "cc2640r2lp_simple_np_uart_pm_sbl.d" "main_tirtos.d" "platform_msp432p401r.d" "simple_application_processor.d" "Profile\profile_util.d" "Profile\simple_gatt_profile.d" "sbl\sbl.d" "sbl\sbl_cmd.d" "sbl\sbl_image_int.d" "sbl\sbl_simplelink.d" "sbl\sbl_tl.d" 
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\simple_application_processor_MSP_EXP432P401R_tirtos_ccs.hex
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.obj
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\MSP_EXP432P401R.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\Profile\profile_util.d
    Could Not Find C:\Users\Admin\workspace_v7\simple_application_processor_MSP_EXP432P401R_tirtos_ccs\Debug\sbl\sbl.d
    'Finished clean'
     
    
    **** Build Finished ****
    Buildfile generation error occurred..
    Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_release_ccs' contains build-errors.
    Build stopped..
    
    did that also,no change...

  • I think that the cygwin problem is solved, but I am not sure in what state your projects are now.
    What I noticed is that none of your posted build logs contain 'clean' command executed on the project 'tirtos_builds_MSP_EXP432P401R_release_ccs'. Until that happens, you want be able to rebuild 'tirtos_builds_MSP_EXP432P401R_release_ccs' . If you can't clean that project, you might want to start from the scratch, remove the current projects, and import them again.
  • i reimported and tried,it did did not work again.

    also kindly have a look at this:

    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    'Building file: "../release.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS" "../release.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:12: recipe for target 'build-223847199-inproc' failed
          0 [main] sh 7740 sync_with_child: child 2780(0xE0) died before initialization with status code 0xC0000142
         12 [main] sh 7740 sync_with_child: *** child state waiting for longjmp
    C:/Users/Admin/AppData/Local/Temp/make19516-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_04_43_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_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/release_pem4f.xdl'
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.h'
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.c'
    js: "C:/ti/xdctools_3_50_04_43_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-223847199-inproc] Error 1
    'Building file: "../release.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS" "../release.cfg"
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f ...
    

  • Is your PATH still empty? I thought we solved that problem by removing everything from PATH.

  • I checked again,

    there are two paths:  user variables for admin ,and system variables...

    i had cleared only one previously.i cleaned it this time,re-imported the project and tried to build

    here is the error log:- (it might be incomplete as i had to copy it while the console output was changing.

    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    
    >> Compilation failure
    makefile:59: recipe for target 'BIOS.obj' failed
    "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c", line 36: fatal error: cannot open source file "xdc/std.h"
    1 catastrophic error detected in the compilation of "C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    asmem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    
    ====================
    
    
    **** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    'Building file: "../release.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS" "../release.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    clem4f C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:12: recipe for target 'build-223847199-inproc' failed
          0 [main] sh 8524 sync_with_child: child 11780(0x268) died before initialization with status code 0xC0000142
         13 [main] sh 8524 sync_with_child: *** child state waiting for longjmp
    C:/Users/Admin/AppData/Local/Temp/make4216-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/Users/Admin/workspace_v7/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios/sysbios.aem4f] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_04_43_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_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/release_pem4f.xdl'
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.h'
    gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.c'
    js: "C:/ti/xdctools_3_50_04_43_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-223847199-inproc] Error 1
    'Building file: "../release.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_1_60_00_12/source;C:/ti/simplelink_msp432p4_sdk_1_60_00_12/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS" "../release.cfg"
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    
    
    ===========================================================================================
    
    
    Buildfile generation error occurred..
    Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_release_ccs' contains build-errors.
    Build stopped..
    
    

  • If you cleaned your PATH variable and you are still getting that error, then I don't really have any more ideas how to solve it.

    The best I can do is to advice you to do a Google search for "Cygwin child state waiting for longjmp" and try some of the solution. That problem is not unique to XDCtools, so maybe some of the other solutions can help/
  • Manthan,

    Did this get resolved?

    Todd

    [4/5 update: I'm going to mark this as TI thinks resolved, if you disagree, post a response, it will get opened again. ]

  • hi,

    no,errors still persist while building the rtos.

  • Manthan,

    We're not sure what is going on here. The best advice is to follow Sasha's guidance in his last post.

    Todd

**Attention** This is a public forum