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.

Error building ethernetip_adapter

Other Parts Discussed in Thread: SYSBIOS

Because I believe this a Code Composer component issue, I've started asking here. I'm trying to build ethernetip_adapter example in "C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\examples\ethernetip_adapter". This example uses NDK, so I've based my requirements on the NDK version.

CCS          5.5.0.00077
NDK          2.23.2.3
NSP          1.10.2.9
SYS/BIOS     6.40.1.15
XDCTOOLS     3.25.4.88


     The project is imported correctly but fails to build with the error below. The only thing I am not sure about is the Code Generation Tools version. The release notes on the NDK say it should be "Code Generation Tools 5.0.1 (Application Build)", but where would I check this version?

Thanks,

     John C.

**** Build of configuration Debug for project ethernetip_adapter ****

"C:\\ti\\ccsv5_5\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/ccsv5_5/ccsv5/ccs_base;C:/ti/bios_6_40_01_15/packages;C:/ti/ndk_2_23_02_03/packages;C:/ti/ccsv5_5/xdais_7_21_01_07/packages;C:/ti/ccsv5_5/xdais_7_21_01_07/examples;C:/ti/nsp_1_10_02_09/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM3359 -r debug -c "C:/ti/ccsv5_5/ccsv5/tools/compiler/arm_5.1.6" --compileOptions "-g --optimize_with_debug" "../app.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring app.xea8fnv from package/cfg/app_pea8fnv.cfg ...
generating custom ti.sysbios library makefile ...
js: "C:/ti/bios_6_40_01_15/packages/ti/sysbios/Build.xs", line 1313: Error: template generation of 'C:\Users\jc\workspace_v5_5\ethernetip_adapter/src/sysbios/makefile' failed: InternalError: XDC runtime error: ti.sysbios.family.arm.IntrinsicsSupport/common$: no property named 'outPolicy'
    "C:/ti/bios_6_40_01_15/packages/ti/sysbios/makefile.xdt#143(eval)", line 1
    "C:/ti/bios_6_40_01_15/packages/ti/sysbios/makefile.xdt", line 143
    "C:/ti/bios_6_40_01_15/packages/ti/sysbios/makefile.xdt", line 192
    "C:/ti/bios_6_40_01_15/packages/ti/sysbios/Build.xdt", line 69
    "C:/ti/bios_6_40_01_15/packages/ti/sysbios/Build.xdt", line 79
gmake.exe: *** [package/cfg/app_pea8fnv.xdl] Error 1
js: "C:/ti/xdctools_3_25_04_88/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
making ../src/sysbios/sysbios.aea8fnv ...
gmake[1]: Entering directory `C:/Users/jc/workspace_v5_5/ethernetip_adapter/src/sysbios'
clea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/BIOS.c ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/a8/TimestampProvider_asm.asm ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/a8/Mmu_asm.asm ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/a8/Cache_asm.asm ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm.s470 ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm_switch.s470 ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/timers/gptimer/Timer_asm.s470 ...
asmea8fnv C:/ti/ccsv5_5/bios_6_35_04_50/packages/ti/sysbios/timers/dmtimer/Timer_asm.s470 ...
area8fnv BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj exc_Exception_asm.obj a8_TimestampProvider_asm.obj a8_Mmu_asm.obj a8_Cache_asm.obj intcps_Hwi_asm.obj intcps_Hwi_asm_switch.obj gptimer_Timer_asm.obj dmtimer_Timer_asm.obj ...
gmake[1]: Leaving directory `C:/Users/jc/workspace_v5_5/ethernetip_adapter/src/sysbios'
gmake: *** No rule to make target `C:/Users/jc/protocols/ethernetip_adapter/drivers/icss_dlr.c', needed by `icss_dlr.obj'.
gmake: *** No rule to make target `C:/Users/jc/protocols/ethernetip_adapter/drivers/icss_eip_driver.c', needed by `icss_eip_driver.obj'.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • John Conover said:
    . The only thing I am not sure about is the Code Generation Tools version. The release notes on the NDK say it should be "Code Generation Tools 5.0.1 (Application Build)", but where would I check this version?

    You can check the project properties:

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#General_Properties

    John Conover said:

    **** Build of configuration Debug for project ethernetip_adapter ****

    "C:\\ti\\ccsv5_5\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/ccsv5_5/ccsv5/ccs_base;C:/ti/bios_6_40_01_15/packages;C:/ti/ndk_2_23_02_03/packages;C:/ti/ccsv5_5/xdais_7_21_01_07/packages;C:/ti/ccsv5_5/xdais_7_21_01_07/examples;C:/ti/nsp_1_10_02_09/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM3359 -r debug -c "C:/ti/ccsv5_5/ccsv5/tools/compiler/arm_5.1.6" --compileOptions "-g --optimize_with_debug" "../app.cfg"

    From your build output I can see you are using compiler version 5.1.6.

    If you have 5.0.1 installed somewhere else, you can direct CCS to use it:

    http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection

    Thanks

    ki

  • I'd also recommend posting your question in the Sitara forum. They would have more knowledge in building the example and could tell you if really need to use v5.0.1. It is always best to use the latest version of the compiler if you can.

    Thanks

    ki

  • Hey Ki,

               I tried version 5.1.1 with no luck as I don't have a 5.0.1 installed. The error is some type of template build error, so I thought it would be a Code Composer question.

    John C.

  • It appears to be a RTSC build error. The folks in the TI-RTOS forum would have more expertise on that. But I would check with the Sitara guys also.

  • Can someone move it there, or should I just re-post?

    Thanks,

         John C.

  • I would recommend a repost because I would like to keep this post here in case someone here can also add some insight.

    Thanks

    ki

  • Ki,

        Thanks for help, I'll be moving along now.

    John C.

  • John,

    I was installing the components to check this example code, and to me it built just fine. However, I am using the too versions specified in the IDK Getting Started Guide (page 7): SYSBIOS 6.35.4.50 and NDK 2.23.3.20. 

    Perhaps these versions are the cause for the issue. Also, I spotted differences in the SYSBIOS versions in your build console that may be also influencing this: I see a mix between 6.40.1.15 and 6.35.4.50.

    In this case I would carefully check the project RTSC build properties and match the versions to the validated configuration.

    Hope this helps,

    Rafael