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.

Re: recompile vc3 demo -- error

Other Parts Discussed in Thread: SYSBIOS

Thank you both for your replies.

Iain, I have used the commands listed below from the makefile.  I see that your clean is much better obviously and will use that one.  The clean completes without issue.

make clean
make vc3

Tarakesh, there is a bit of more info that goes with my errors.  I get compile errors when it gets to .libraries inside of syslink_02_00_00_68_beta1/ti/syslink/ipc/rtos.  Now when I go to syslink and compile this, it works as expected.  It compiles to the end without errors.

$ cd /opt/thor/dm8168/syslink_02_00_00_68_beta1/ti/syslink/ipc/rtos
$ xdc all XDCARGS="SDK=EZSDK" XDCBUILDCFG="$SYSLINK_ROOT/config.bld" -PR .

But then when it gets to this same area but within the 'make vc3' command, it fails with this error as such...

...  <- lots of compiling before hand   ->   ...

======== .libraries [/opt/dm8168/omx_05_00_00_11/packages/ti/timmosal] ========
gmake[1]: `.libraries' is up to date.
======== .libraries [/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/ipc/rtos] ========
rm -f package/lib/lib/whole_program_debug/ti.syslink.ipc.rtos/../../ClientNotifyMgr.oem3
#
# clem3 ../../ClientNotifyMgr.c ...
/opt/ccsv5/tools/compiler/tms470/bin/cl470 -c  -qq -pdsw225 --endian=little -mv7M3 --abi=eabi -eo.oem3 -ea.sem3 -g -ms --gcc -D___DSPBIOS___ -D___DUCATI_FW___ -DTI_816X_BUILD -DPLATFORM_EVM_SI  -DMAX_RESOLUTION_HD  -DSYSLINK_USE_TILER  -Dxdc_target_name__=M3 -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_whole_program_debug -Dxdc_bld__vers_1_0_4_6_4 -oe --symdebug:dwarf -ms  -I. -I/opt/dm8168/sysbios_6_31_04_27/packages -I/opt/dm8168/framework-components_3_21_00_17_eng/packages -I/opt/dm8168/hdvpss_01_00_01_26/packages -I/opt/dm8168/ipc_1_22_05_27/packages -I/opt/dm8168/syslink_02_00_00_68_beta1 -I/opt/dm8168/xdctools_3_20_08_88/packages -I/opt/dm8168/codec-engine_3_21_00_13_eng/packages -I/opt/dm8168/omx_05_00_00_11/packages -I/opt/dm8168/omx_05_00_00_11/packages/ti/omx/interfaces/openMaxv11 -I. -I/opt/dm8168/codecs-dm816x_5_00_00_00/packages -I/opt/dm8168/codecs-dm816x_5_00_00_00/packages -I/opt/dm8168/codecs-dm816x_5_00_00_00/packages -I/opt/dm8168/codecs-dm816x_5_00_00_00/packages -I/opt/dm8168/omx_05_00_00_11/packages/ti/omx/comp/omxbase -I/opt/dm8168/omx_05_00_00_11/packages/ti/omx/omxcore -I/opt/dm8168/ivahd-hdvicp20api_01_00_00_19/packages -I/opt/dm8168/osal_1_21_00_05_eng/packages -I/opt/dm8168/xdais_7_21_00_01_eng/packages -I/opt/dm8168/linuxutils_3_21_00_02_eng/packages -I/opt/dm8168/uia_1_00_01_05_eng/packages -I/opt/dm8168/xdctools_3_20_08_88/packages -I../../../.. -I/opt/ccsv5/tools/compiler/tms470/include/rts -I/opt/ccsv5/tools/compiler/tms470/include  -fs=./package/lib/lib/whole_program_debug/ti.syslink.ipc.rtos/../.. -fr=./package/lib/lib/whole_program_debug/ti.syslink.ipc.rtos/../.. -fc ../../ClientNotifyMgr.c
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 257: error: identifier "String" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 268: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 278: error: identifier "Ptr" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 314: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 334: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 341: warning: identifier-list parameters may only be used in a function definition
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 369: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 369: error: identifier "String" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 372: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 372: error: identifier "Ptr" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 382: error: identifier "Void" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 393: error: identifier "SizeT" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 409: error: identifier "IArg" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 417: error: identifier "Void" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/GateMP.h", line 417: error: identifier "IArg" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 277: error: expected a type specifier
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 277: error: identifier-list parameters may only be used in a function definition
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 277: error: duplicate parameter name
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 277: error: duplicate parameter name
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 277: error: function returning function is not allowed
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 309: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 309: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 309: error: identifier "Ptr" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 334: error: identifier "UInt" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 334: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 334: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 356: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 356: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 356: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 356: error: function returning function is not allowed
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 372: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 372: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 372: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 372: error: function returning function is not allowed
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 400: error: identifier "Bool" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 400: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 400: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 400: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 417: error: identifier "Bool" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 417: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 417: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 429: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 429: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 444: error: identifier "SizeT" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 444: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 444: error: identifier "Ptr" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 477: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 477: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 478: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 479: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 480: error: identifier "Notify_FnNotifyCbck" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 481: error: identifier "UArg" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 509: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 509: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 510: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 511: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 512: error: identifier "Notify_FnNotifyCbck" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 513: error: identifier "UArg" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 530: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 530: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 530: error: identifier "UInt" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 530: error: function returning function is not allowed
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 568: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 568: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 569: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 570: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 571: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 572: error: identifier "Bool" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 597: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 597: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 597: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 597: error: identifier "UInt32" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 598: error: identifier "Notify_FnNotifyCbck" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 598: error: identifier "UArg" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 617: error: identifier "Int" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 617: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 617: error: identifier "UInt16" is undefined
"/opt/dm8168/ipc_1_22_05_27/packages/ti/ipc/Notify.h", line 617: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 89: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 89: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 89: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 134: error: identifier "IGateProvider_Handle" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 137: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 141: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 146: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 157: error: identifier "String" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 159: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 161: error: identifier "Bool" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 165: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 167: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 169: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 173: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 175: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 177: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 181: error: identifier "UInt16" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 190: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 192: error: identifier "UInt16" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 194: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 198: error: identifier "Ptr" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 202: error: identifier "UInt32" is undefined
"/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/inc/ClientNotifyMgr.h", line 204: error: identifier "UInt32" is undefined
Error limit reached.
100 errors detected in the compilation of "../../ClientNotifyMgr.c".
Compilation terminated.

>> Compilation failure
gmake[1]: *** [package/lib/lib/whole_program_debug/ti.syslink.ipc.rtos/../../ClientNotifyMgr.oem3] Error 1
gmake: *** [/opt/dm8168/syslink_02_00_00_68_beta1/ti/syslink/ipc/rtos,.libraries] Error 2
make[1]: *** [xdcdepmake] Error 2
make[1]: Leaving directory `/opt/dm8168/omx_05_00_00_11/packages'
make: *** [vc3ducatiXdc] Error 2
ubuntu:/opt/dm8168/omx_05_00_00_11/packages$

 

  • And to explain a bit further as to why merge things.  In our project, we need the HDVPSS, OMX and IVAHD components from the SDK11.  And in the SDK77, we need the c6* components along with the EDMA.  And on top of those, the mentioned integrated makefile system from a top level.  So each of these two SDKs have bonuses and neither have everything that is needed for a true DM8168 SDK.  The SDK11 is geared towards the M3s and the SDK77 is geared towards the DSP.  But the DM8168 has both, not one or the other.

    Then you have the idea that each SDK has components that need to be individually configured and built before it is a full system.  So merging SDKs seems possible and I have done just that minus this one demo that I need for my internal project.  Darn Murphy always looking over my shoulder.

    And in the end, I do fully know (and understand and respect) that you only support certain components with certain versions of the dependent components.  But if you ignore the company answer and look at it from an engineer perspective, this isn't something that is impossible.

    8^)

  • To fix this issue...

    in omx_05_00_00_11/packages/ti/omx/build/config.bld on line 51 change to...

    M3.ccOpts.suffix += " -DSYSLINK_USE_TILER -DSYSLINK_BUILD_RTOS ";

     

    I have another error and am debugging this one now. elsewhere in the vc3 compilation.

  • Sorry for the delay;

    Apologies for the delay. Following are the items that you would need to take care.

    1. ti\omx\build\config.bld
    M3.ccOpts.suffix += " -DSYSLINK_BUILD_RTOS ";  (which you have already done).
    2. ti\omx\build\config_ca8.bld
    GCArmv5T.ccOpts.suffix += " -DSYSLINK_BUILD_HLOS ";

    3. vc3\SyslinkCfg.cfg:

    comment out
     var ClientNotifyMgr     = xdc.useModule ('ti.syslink.ipc.rtos.ClientNotifyMgr') ;
    ClientNotifyMgr.maxInstances = 128;

    4. SysLink_setup (  ); should be called before ipc attach in the following function

    Void DomxCore_procInit (Error_Block *eb) of DomxProcMgrIf_BIOS.c file

    For details, please go thru' the syslink documentation (release notes).

    regards

    Tarakesh.

  • THANK YOU SO MUCH!!!

    I normally expect Mondays to not be so great.  But today, I come into work and I see you last posting.  I put the changes into the environment and it builds completely from a clean.  Thus, your post is a savings of one+ weeks of effort for me.  You have made my day Taraesh, thank you.

  • i saw your reply, here is my situation:

    i'm rebuild the VS2 demo on netra,

    my syslink i OK,then ..

    interfaces files complete: Fri Jul 22 11:36:14 CST 2011.
    ======== .libraries [/opt/Netra/sdk5011/xdctools_3_20_07_86/packages/ti/sdo/ipc] ========
    rm -f package/lib/lib/debug/ti.sdo.ipc/Ipc.oe674
    #
    # cle674 Ipc.c ...
    (make directories)

    b/lib/debug/ti.sdo.ipc -fc Ipc.c
    ERROR: bad argument to option -mv: should be one of { 7R4 7M3 7A8 6 4 5e }
    gmake[1]: *** [package/lib/lib/debug/ti.sdo.ipc/Ipc.oe674] Error 1
    gmake: *** [/opt/Netra/sdk5011/xdctools_3_20_07_86/packages/ti/sdo/ipc,.libraries] Error 2
    make[1]: *** [xdcdepmake] Error 2
    make[1]: Leaving directory `/opt/Netra/sdk5011/omx_05_00_00_11/packages'
    make: *** [vs2dspXdc] Error 2
    root@user-desktop

     

    what's it cause?

    besides, i'm working under sdk11.and the folder "cgt470" is incerrect for the makefile,so i change the name into "cgt6x", it works.

  • From the small extract you've given you are trying to compile code for C674x DSP with the ARM gcc compiler - that is why it is giving errors for -mv as you've probably given it -mv674.

    Are you trying to build a standard VS2 demo or have you made some changes to the build command line or components? 

  • i'm building the standard demo VS2,below is my command:

    make cleanall PROFILE_m3vpss=debug PROFILE_m3video=debug ROOTDIR=/opt/Netra/sdk5011/omx_05_00_00_11/packages INTERNAL_SW_ROOT=//opt/Netra/sdk5011/omx_05_00_00_11/packages EXTERNAL_SW_ROOT=/opt/Netra/sdk5011 DEST_ROOT=/opt/814x/release CODESOURCERY_PATH=/opt/toolchain/2009-q1 IPC_MODE=remoteWithHOST

    but when i building ,it shows that can't find "cgt6x", i checked the folders under SDK direction, i found there's only "cgt470", i've no idea of what it for....

    so i changed the name,and also the subfolder "bin", because its executive files are all end with "470",i exchanged ,and the make progress last a while,then, the above happened.

    at the original, i copied the DSP_OMX folder to the SDK folder and substitued the original folders.

    Could there be the problem with the different version?

  • Can you please create a new forum question for this discussion as it is different to the original closed thread. I'll comment on your question there.

  • Definitely there seems to be some mix up. Could you please check the value of "CODEGEN_PATH_M3" in <omx_install_dir>/packages/makerules/env.mk? It should be "$(EXTERNAL_SW_ROOT)/cgt470_4_6_4". This is the original contents in SDK 5.0.0.11 release. If the value is different, please change it to what is given above.

    Regards.