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.

Problem in building syslink sample project in CCS

Other Parts Discussed in Thread: OMAP3530, DM3730, SYSBIOS

Hi,

I'm using CCS 5.2.1.00018(on 32- bit windows xp) with the following:

IPC: 1.24.03.32

BIOS: 6.33.05.46

syslink: 2.10.08.35

XDC: 3.23.03.53

I downloaded the syslink MessageQ sample project from https://github.com/vanti/Syslink-MessageQ-sample-CCS-project

When I compiled the project, I got the following xdc runtime error:

"No property named xdc.cfg.program"

Can anyone please tell how to debug the error? Are the IPC, syslink and bios versions being used are fine?

Regards,

Vinay

  • Which core are you building when you get the error (M3?  DSP?)?

    Is there more context to the build log you can share?  I couldn't find that error msg being reported anywhere, though there is a "xdc.cfg.Program" object (capital "P" in Program").

    The IPC/BIOS/SysLink/XDC versions look ok given the SysLink 2.10.08.35 release notes mention those were used for validation.  I don't know about CCS 5.2, and am going to overlook the fact that you're using a Microsoft-doesn't-support-XP-anymore OS.

    Chris

  • When I posted my question, I was using a 30-day evaluation license. I tried the build the project on another PC where CCS is licensed. The build resulted in linker errors which are again related to xdctools. The build log looks like this:

    **** Build of configuration Debug for project test1 ****
     
    F:\ti\ccsv5\utils\bin\gmake -k all  
    subdir_rules.mk:24: warning: overriding commands for target `configPkg/compiler.opt'
    subdir_rules.mk:14: warning: ignoring old commands for target `configPkg/compiler.opt'
    'Building file: ../frameq_omap3530_dsp_pe64P.cfg'
    'Invoking: XDCtools'
    "F:/ti/xdctools_3_23_03_53/xs" --xdcpath="F:/ti/bios_6_33_05_46/packages;F:/ti/syslink_2_10_08_35/packages;F:/ti/ipc_1_24_03_32/packages;F:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C64P -p ti.syslink.samples.rtos.platforms.evm6474.core0 -r debug -c "F:/ti/ccsv5/tools/compiler/c6000_7.3.4" --cfgArgs "{dmTimerFreq: 32768}" --compileOptions "-g --optimize_with_debug" "../frameq_omap3530_dsp_pe64P.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring frameq_omap3530_dsp_pe64P.xe64P from package/cfg/frameq_omap3530_dsp_pe64P_pe64P.cfg ...
    cle64P package/cfg/frameq_omap3530_dsp_pe64P_pe64P.c ...
    'Finished building: ../frameq_omap3530_dsp_pe64P.cfg'
    ' '
    'Building file: ../FrameQApp.c'
    'Invoking: C6000 Compiler'
    "F:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv64+ -g --define=dm3730 --define=SYSLINK_PLATFORM_TI81XX --include_path="F:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="FrameQApp.pp" --cmd_file="./configPkg/compiler.opt"  "../FrameQApp.c"
    "../FrameQApp.c", line 124: warning #179-D: variable "i" was declared but never referenced
    'Finished building: ../FrameQApp.c'
    ' '
    'Building target: test1.out'
    'Invoking: C6000 Linker'
    "F:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv64+ -g --define=dm3730 --define=SYSLINK_PLATFORM_TI81XX --display_error_number --diag_warning=225 --abi=eabi -z -m"test1.map" --stack_size=0x800 --heap_size=0x800 --define=DSP_CORE=1 --warn_sections --display_error_number -i"F:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"F:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --reread_libs --rom_model -o "test1.out" -l"./configPkg/linker.cmd"  "./FrameQApp.obj" -l"F:\ti\syslink_2_10_08_35\packages\ti\syslink\" -l"libc.a"  
    <Linking>
    error #10008-D: cannot find file "F:\ti\syslink_2_10_08_35\packages\ti\syslink"
       -llibc.a "
     
     undefined  first referenced                                                                 
      symbol        in file                                                                      
     ---------  ----------------                                                                 
     _args_main F:\ti\xdctools_3_23_03_53\packages\ti\targets\rts6000\lib\boot.ae64P<boot.oe64P>
     exit       F:\ti\xdctools_3_23_03_53\packages\ti\targets\rts6000\lib\boot.ae64P<boot.oe64P>
     
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "test1.out" not built
     
    >> Compilation failure
    gmake: *** [test1.out] Error 1
    gmake: Target `all' not remade because of errors.
     
    **** Build Finished ****

  • You should probably have -i in front of "F:\ti\syslink_2_10_08_35\packages\ti\syslink\" because it's a directory and not a file. I don't know how I ended up with that file in the command line, but I am not sure you need it. Any library coming from syslink would be added to configPkg/linker.cmd with an absolute path.

  • Hi,

    Kindly tell me how I ve to proceed in fixing this error.

  • I am not sure how you ended up with the component -l"F:\ti\syslink_2_10_08_35\packages\ti\syslink\" in your command line. You can check Project Properties->CCS Build->C6000 Linker->File SearchPath. If F:\ti\syslink_2_10_08_35\packages\ti\syslink is listed in the first text area, remove it. Another place to check is Project Properties->CCS Build->C6000 Linker->Command-line pattern.

  • Hi,

    I checked Project Properties->CCS Build->C6000 Linker->File SearchPath and found the syslink path listed in the text area. I removed it from the list. Then I compiled and got 27 errors.

    The build log looks like this:

    **** Build of configuration Debug for project test1 ****
     
    F:\ti\ccsv5\utils\bin\gmake -k all  
    subdir_rules.mk:24: warning: overriding commands for target `configPkg/compiler.opt'
    subdir_rules.mk:14: warning: ignoring old commands for target `configPkg/compiler.opt'
    'Building file: ../frameq_omap3530_dsp_pe64P.cfg'
    'Invoking: XDCtools'
    "F:/ti/xdctools_3_23_03_53/xs" --xdcpath="F:/ti/bios_6_33_05_46/packages;F:/ti/syslink_2_10_08_35/packages;F:/ti/ipc_1_24_03_32/packages;F:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.syslink.samples.rtos.platforms.evm6474.core0 -r debug -c "F:/ti/ccsv5/tools/compiler/c6000_7.3.4" --cfgArgs "{dmTimerFreq: 32768}" --compileOptions "-g --optimize_with_debug" "../frameq_omap3530_dsp_pe64P.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring frameq_omap3530_dsp_pe64P.xe674 from package/cfg/frameq_omap3530_dsp_pe64P_pe674.cfg ...
    cle674 package/cfg/frameq_omap3530_dsp_pe64P_pe674.c ...
    'Finished building: ../frameq_omap3530_dsp_pe64P.cfg'
    ' '
    'Building file: ../FrameQApp.c'
    'Invoking: C6000 Compiler'
    "F:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6740 -g --define=SYSLINK_PLATFORM_TI81XX --include_path="F:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="FrameQApp.pp" --cmd_file="./configPkg/compiler.opt"  "../FrameQApp.c"
    "../FrameQApp.c", line 124: warning #179-D: variable "i" was declared but never referenced
    'Finished building: ../FrameQApp.c'
    ' '
    'Building target: test1.out'
    'Invoking: C6000 Linker'
    "F:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6740 -g --define=SYSLINK_PLATFORM_TI81XX --display_error_number --diag_warning=225 --abi=eabi -z -m"test1.map" --warn_sections --display_error_number -i"F:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"F:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --reread_libs --rom_model -o "test1.out" -l"./configPkg/linker.cmd"  "./FrameQApp.obj" -l"libc.a"  
    <Linking>
     
     undefined                                  first referenced
      symbol                                        in file      
     ---------                                  ----------------
     FrameQ_close                               ./FrameQApp.obj  
     FrameQ_free                                ./FrameQApp.obj  
     FrameQ_get                                 ./FrameQApp.obj  
     FrameQ_open                                ./FrameQApp.obj  
     FrameQ_registerNotifier                    ./FrameQApp.obj  
     FrameQ_unregisterNotifier                  ./FrameQApp.obj  
     Ipc_attach                                 ./FrameQApp.obj  
     Ipc_detach                                 ./FrameQApp.obj  
     Ipc_start                                  ./FrameQApp.obj  
     Ipc_stop                                   ./FrameQApp.obj  
     MultiProc_self                             ./FrameQApp.obj  
     Notify_registerEvent                       ./FrameQApp.obj  
     Notify_sendEvent                           ./FrameQApp.obj  
     SysLink_setup                              ./FrameQApp.obj  
     ti_sysbios_BIOS_start__E                   ./FrameQApp.obj  
     ti_sysbios_knl_Semaphore_Object__create__S ./FrameQApp.obj  
     ti_sysbios_knl_Semaphore_Params__init__S   ./FrameQApp.obj  
     ti_sysbios_knl_Semaphore_pend__E           ./FrameQApp.obj  
     ti_sysbios_knl_Semaphore_post__E           ./FrameQApp.obj  
     ti_sysbios_knl_Task_Object__create__S      ./FrameQApp.obj  
     ti_sysbios_knl_Task_Params__init__S        ./FrameQApp.obj  
     xdc_runtime_Error_check__E                 ./FrameQApp.obj  
     xdc_runtime_Error_init__E                  ./FrameQApp.obj  
     xdc_runtime_System_printf__E               ./FrameQApp.obj  
     xdc_runtime_System_sprintf__E              ./FrameQApp.obj  
     
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "test1.out" not built
     
    >> Compilation failure
    gmake: *** [test1.out] Error 1
    gmake: Target `all' not remade because of errors.
     
    **** Build Finished ****

    There is no Command-line pattern option in C6000 Linker. I am using CCS 5.2.1 version. Do I have to look for any other option in the CCS version that I am using?

  • Many of the missing symbols should be found in the libraries in configPkg/linker.cmd. Can you post the content of that file and also ../frameq_omap3530_dsp_pe64P.cfg?