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.

Strange XDC Error

What does this mean:

 

 

XDCPATH="/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/examples;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdais_6_00_01/packages;/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/cmem_2_00_01/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/framework_components_2_00_01/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/bios_5_33_02/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/biosutils_1_00_02/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/dm6446_dvsdk_combos_1_35/packages;..;." /home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/xs xdc.tools.configuro -c /opt/montavista4/pro/devkit/arm/v5t_le -o encode_config -t gnu.targets.MVArm9 \
        -p ti.platforms.evmDM6446 encode.cfg
making package.mak (because of package.bld) ...
generating interfaces for package encode_config (because package/package.xdc.inc is older than package.xdc) ...
configuring encode.x470MV from package/cfg/encode_x470MV.cfg ...
ti.sdo.ce.examples.codecs.videnc_copy.close() ...
ti.sdo.ce.osal.close() ...
js: "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/osal/package.xs", line 59: TypeError: Cannot call method "instances" of undefined (/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/osal/package.xs#59)
    "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/cfg/Main.xs", line 200
    "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/cfg/Main.xs", line 174
    "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/cfg/Main.xs", line 154
    "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/xs.js", line 125
gmake: *** [package/cfg/encode_x470MV.c] Error 1

 

 

Have a great day!

 

Take care,

Darwin

  • BTW, I still receive this error, even if I get rid of the video copy codec:

     

     

    XDCPATH="/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/examples;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdais_6_00_01/packages;/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/cmem_2_00_01/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/framework_components_2_00_01/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/bios_5_33_02/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/biosutils_1_00_02/packages;/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/dm6446_dvsdk_combos_1_35/packages;..;." /home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/xs xdc.tools.configuro -c /opt/montavista4/pro/devkit/arm/v5t_le -o encode_config -t gnu.targets.MVArm9 \
            -p ti.platforms.evmDM6446 encode.cfg
    making package.mak (because of package.bld) ...
    generating interfaces for package encode_config (because package/package.xdc.inc is older than package.xdc) ...
    configuring encode.x470MV from package/cfg/encode_x470MV.cfg ...
    ti.sdo.ce.osal.close() ...
    js: "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/osal/package.xs", line 59: TypeError: Cannot call method "instances" of undefined (/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/osal/package.xs#59)
        "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/cfg/Main.xs", line 200
        "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/cfg/Main.xs", line 174
        "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/cfg/Main.xs", line 154
        "/home/darwin/projects/LightSpeed/dvsdk_1_30_01_41/xdctools_3_10_02/packages/xdc/xs.js", line 125
    gmake: *** [package/cfg/encode_x470MV.c] Error 1

     

     

    Have a great day!

     

    Take care,

    Darwin

  • Never mind; I figured it out...

     

    Thanks,

    Darwin

  • These messages are usually fairly cryptic and hard to find out what they mean or what really went wrong, for posterity on the forum I am curious what you had to do to fix this?

  • Just a best guess, but the line containing the error in the osal/package.xs script is within a "if the OSAL has been configured to be a DSP-side, BIOS-based executable" branch.  (We're digging through the expected BIOS-based memory segments).  Given the user's configuro line, I think the intent was to configure an ARM-side executable, so there _aren't_ any BIOS-based memory segments, and we're [errantly] not checking that an object exists before digging through it.

    So my best guess is that the OSAL was misconfigured in the config script.

    FWIW, I think we've cleaned up this error message in newer releases of Codec Engine.

    Chris

  • Hi

    I"m also get this error.

    Did you find who to solve this errror:

     

    configuring ceapp.x470MV from package/cfg/ceapp_x470MV.cfg ...
    js: "/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/Engine.xs", line 129: exception from uncaught JavaScript throw: Error: cannot find server package 'ti.sdo.ce.examples.servers.video_copy.evmDM6446' specified as the third argument to createFromServer(), along the package path. Verify that the package name is correct and that the package is in your package path. Details: Error: can't locate the package ti.sdo.ce.examples.servers.video_copy.evmDM6446 along the path '/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/examples;/home/user/dvsdk_1_30_01_41/xdc_3_00_02/packages;/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/packages;/home/user/dvsdk_1_30_01_41/xdais_6_00_01/packages;/home/user/dvsdk_1_30_01_41/dsplink_140-05p1/packages;/home/user/dvsdk_1_30_01_41/cmem_2_00_01/packages;/home/user/dvsdk_1_30_01_41/framework_components_2_00_01/packages;/home/user/dvsdk_1_30_01_41/xdc_3_00_02/packages;/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/examples/ti/sdo/ce/examples/apps/video_copy/dualcpu/evmDM6446/ceapp/./..;'; try redefining the package path (XDCPATH).
        "/home/user/dvsdk_1_30_01_41/xdc_3_00_02/packages/xdc/xdc.tci", line 153
        "/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/Engine.xs", line 129
        "/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/packages/ti/sdo/ce/Engine.xs", line 152
        "./..cfg", line 26
        "/home/user/dvsdk_1_30_01_41/xdc_3_00_02/include/utils.tci", line 588
        "/home/user/dvsdk_1_30_01_41/xdc_3_00_02/include/utils.tci", line 506
        "./package/cfg/ceapp_x470MV.cfg", line 384
        "./package/cfg/ceapp_x470MV.cfg", line 341
        "/home/user/dvsdk_1_30_01_41/xdc_3_00_02/packages/xdc/cfg/Main.xs", line 182
        "/home/user/dvsdk_1_30_01_41/xdc_3_00_02/packages/xdc/cfg/Main.xs", line 151
        "/home/user/dvsdk_1_30_01_41/xdc_3_00_02/packages/xdc/xs.js", line 144
    gmake: *** [package/cfg/ceapp_x470MV.c] Error 1
    make[1]: *** [ceapp/linker.cmd] Error 2
    make[1]: Leaving directory `/home/user/dvsdk_1_30_01_41/codec_engine_2_00_01/examples/ti/sdo/ce/examples/apps/video_copy/dualcpu/evmDM6446'
    make: *** [all] Error 2

    Thanks

    Eran

  • I am having the same "TypeError: Cannot call method "instances" of undefined".  What did you do to fix it?