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.

RTSC build error

Other Parts Discussed in Thread: SYSBIOS

I originally posted this in the Code Composer area, but because this fails in building the RTSC component, I've moved it to 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,
    you are using XDCtools 3.25.04 and SYS/BIOS 6.40 together, and these are not compatible. I also see references to SYS/BIOS 6.35 in the output, which means you are using two different versions of SYS/BIOS at the same time.
    Can you click on Project Properties->CCS General->RTSC, and post the content of the Products and Repositories tab? There are probably some items that should not be selected there.

  • Hey John,

         Here is the main properties from the project, I don't see anything off (again my list is based on the NDK requirements.)


    Thanks,

         John C.

  • The version of NDK that you are using asks for XDCtools 3.25 and SYS/BIOS 6.37 or greater. However, SYS/BIOS 6.40 is not compatible with XDCtools 3.25, so your best bet is to install SYS/BIOS 6.37.

  • I shifted to SYS/BIOS 6.37.2.27, and it looks to make it past the RTSC, then ends up with a ""../app_restart.c", line 19: fatal error #1965: cannot open source file "osdrv_ndkdeviceconfig.h"". I've attached the failure text.

    4527.eth_ndk_compile_fail1.txt

  • All,

    This is not an issue triggered because of the difference in tool versions. ISDK heavily depends on the environment variable IA_SDK_HOME, and all library/header files are linked depending on it. You probably checked the option "Copy to Workspace" while importing, messing up the file structure. Please uncheck this while importing the project and try again. The project should build as is, no need to include other components(NSP for example)

    Also, please find the software requirements here

    Regards,
    Vinesh

  • Hi Vinesh,

         You were correct on the project import settings. I only get duplicate macro warnings now, but it builds.

    "C:/ti/ccsv5_5/ccsv5/tools/compiler/arm_5.1.6/include/errno.h", line 57: warning #48-D: incompatible redefinition of macro "EACCES" (declared at line 57 of "C:\ti\ndk_2_23_02_03\packages\ti\ndk\inc\serrno.h")

         We typically use those settings because were have two products that run using sys/bios, but use slightly different versions of StarterWare. So to make it easier for source control we try to keep each project as independent as possible. If we had better source control it would not be an issue, but that costs time and money to convert over.

         Now I get to try to use NDK in our current project. Thanks for all your help.

    John C.