I know it's very verbose output, but not-so-hidden in your output is
this line:

> ti.targets.C64P: warning: exec of
> '/home/nandol52/dvevm_1_10/cg6x_6_0_3/bin/cl6x -version'
> failed:java.io.IOException: java.io.IOException:
> /home/nandol52/dvevm_1_10/cg6x_6_0_3/bin/cl6x: cannot execute

That's telling me that the XDC build engine can't find your C6x codegen
tools at "/home/nandol52/dvevm_1_10/cg6x_6_0_3".  (Or if it's there, the
"bin/cl6x" binary isn't executable).

Double check your codegen location.  As described in Codec Engine's
examples/build_instructions.html, user's codegen location is set in
examples/user.bld, via the C64P.rootDir variable.

Chris
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
] On Behalf Of nandol52
> Sent: Friday, December 01, 2006 10:40 PM
> To: [email protected]
> Subject: Example DSP servers build error
> 
> Hi guy.
> 
> I don't know how to solve this cross compile issue
> 
> Please help.
> 
> 
> error massage:
> 
> gmake -C video_copy all
> gmake[1]: Entering directory
> `/home/nandol52/dvevm_1_10/codec_engine_1_02/examples/servers/
video_copy'
> /home/nandol52/dvevm_1_10/xdctools_1_21/xdc
> XDCPATH="/home/nandol52/dvevm_1_10/codec_engine_1_02/examples/
servers/video_
> copy/../..;/home/nandol52/dvevm_1_10/codec_engine_1_02/package
s;/home/nandol
> 52/dvevm_1_10/xdais_5_00/packages;/home/nandol52/dvevm_1_10/ds
plink_1_30_08_
> 02/packages;/home/nandol52/dvevm_1_10/cmem_1_01/packages/;/hom
e/nandol52/dve
> vm_1_10/framework_components_1_00_03/packages;/home/nandol52/d
vevm_1_10/bios
> _5_30/packages" \
>         XDCOPTIONS=v all
> #
> # making package.mak (because of package.bld) ...
> /home/nandol52/dvevm_1_10/xdctools_1_21/tconf -DXDC_OM1= 
> -Dxdc.traceEnable=
> -p /home/nandol52/dvevm_1_10/xdctools_1_21/jre
> -Dxdc.path="/home/nandol52/dvevm_1_10/codec_engine_1_02/exampl
es/servers/vid
> eo_copy/../..;/home/nandol52/dvevm_1_10/codec_engine_1_02/pack
ages;/home/nan
> dol52/dvevm_1_10/xdais_5_00/packages;/home/nandol52/dvevm_1_10
/dsplink_1_30_
> 08_02/packages;/home/nandol52/dvevm_1_10/cmem_1_01/packages/;/
home/nandol52/
> dvevm_1_10/framework_components_1_00_03/packages;/home/nandol5
2/dvevm_1_10/b
> ios_5_30/packages;/home/nandol52/dvevm_1_10/xdctools_1_21/pack
ages;../.."
> -Dxdc.root=/home/nandol52/dvevm_1_10/xdctools_1_21 -Dxdc.hostOS=Linux
> -Dconfig.importPath=".;/home/nandol52/dvevm_1_10/codec_engine_
> 1_02/examples/
> servers/video_copy/../..;/home/nandol52/dvevm_1_10/codec_engin
e_1_02/package
> s;/home/nandol52/dvevm_1_10/xdais_5_00/packages;/home/nandol52
/dvevm_1_10/ds
> plink_1_30_08_02/packages;/home/nandol52/dvevm_1_10/cmem_1_01/
packages/;/hom
> e/nandol52/dvevm_1_10/framework_components_1_00_03/packages;/h
ome/nandol52/d
> vevm_1_10/bios_5_30/packages;/home/nandol52/dvevm_1_10/xdctool
s_1_21/package
> s;../..;/home/nandol52/dvevm_1_10/xdctools_1_21;/home/nandol52
/dvevm_1_10/xd
> ctools_1_21/etc" -Dxdc.bld.targets="" -DTOOLS=
> /home/nandol52/dvevm_1_10/xdctools_1_21/packages/xdc/bld/bld.js
> /home/nandol52/dvevm_1_10/codec_engine_1_02/packages/config.bl
d package.bld
> package.mak
> config.bld: loading user build configuration file
> /home/nandol52/dvevm_1_10/codec_engine_1_02/examples/user.bld
> building for target C64P ...
> ti.targets.C64P: warning: exec of
> '/home/nandol52/dvevm_1_10/cg6x_6_0_3/bin/cl6x -version'
> failed:java.io.IOException: java.io.IOException:
> /home/nandol52/dvevm_1_10/cg6x_6_0_3/bin/cl6x: cannot execute
> #
> # generating interfaces for package servers.video_copy (because
> package/package.xdc.xml is older than package.xdc) ...
> /home/nandol52/dvevm_1_10/xdctools_1_21/jre/bin/java -cp
> "/home/nandol52/dvevm_1_10/xdctools_1_21/iliad.jar:/home/nando
l52/dvevm_1_10
> /xdctools_1_21/antlr.jar:/home/nandol52/dvevm_1_10/xdctools_1_
> 21/js.jar"
> -Dxdc.path="/home/nandol52/dvevm_1_10/codec_engine_1_02/exampl
es/servers/vid
> eo_copy/../..;/home/nandol52/dvevm_1_10/codec_engine_1_02/pack
ages;/home/nan
> dol52/dvevm_1_10/xdais_5_00/packages;/home/nandol52/dvevm_1_10
/dsplink_1_30_
> 08_02/packages;/home/nandol52/dvevm_1_10/cmem_1_01/packages/;/
home/nandol52/
> dvevm_1_10/framework_components_1_00_03/packages;/home/nandol5
2/dvevm_1_10/b
> ios_5_30/packages;/home/nandol52/dvevm_1_10/xdctools_1_21/pack
ages;../.."
> Iliad.CMD.Build  -m package/package.xdc.dep -i package/package.xdc.inc
> package.xdc
> #
> # configuring video_copy.x64P from package/cfg/video_copy_x64P.cfg ...
> /home/nandol52/dvevm_1_10/xdctools_1_21/tconf -DXDC_OM1= 
> -Dxdc.traceEnable=
> -p /home/nandol52/dvevm_1_10/xdctools_1_21/jre
> -Dxdc.path="/home/nandol52/dvevm_1_10/codec_engine_1_02/exampl
es/servers/vid
> eo_copy/../..;/home/nandol52/dvevm_1_10/codec_engine_1_02/pack
ages;/home/nan
> dol52/dvevm_1_10/xdais_5_00/packages;/home/nandol52/dvevm_1_10
/dsplink_1_30_
> 08_02/packages;/home/nandol52/dvevm_1_10/cmem_1_01/packages/;/
home/nandol52/
> dvevm_1_10/framework_components_1_00_03/packages;/home/nandol5
2/dvevm_1_10/b
> ios_5_30/packages;/home/nandol52/dvevm_1_10/xdctools_1_21/pack
ages;../.."
> -Dxdc.root=/home/nandol52/dvevm_1_10/xdctools_1_21 -Dxdc.hostOS=Linux
> -Dconfig.importPath=".;/home/nandol52/dvevm_1_10/codec_engine_
> 1_02/examples/
> servers/video_copy/../..;/home/nandol52/dvevm_1_10/codec_engin
e_1_02/package
> s;/home/nandol52/dvevm_1_10/xdais_5_00/packages;/home/nandol52
/dvevm_1_10/ds
> plink_1_30_08_02/packages;/home/nandol52/dvevm_1_10/cmem_1_01/
packages/;/hom
> e/nandol52/dvevm_1_10/framework_components_1_00_03/packages;/h
ome/nandol52/d
> vevm_1_10/bios_5_30/packages;/home/nandol52/dvevm_1_10/xdctool
s_1_21/package
> s;../..;/home/nandol52/dvevm_1_10/xdctools_1_21;/home/nandol52
/dvevm_1_10/xd
> ctools_1_21/etc
> ;/home/nandol52/dvevm_1_10/bios_5_30/packages/ti/bios/include"
> -Dxdc.bld.targets="" -DTOOLS=
> /home/nandol52/dvevm_1_10/xdctools_1_21/packages/xdc/cfg/cfg.js
> package/cfg/video_copy_x64P video_copy.x64P
> ti.sdo.ce.bioslog.init() ...
> codecs.videnc_copy.close() ...
> ti.sdo.ce.bioslog.close() ...
> ti.sdo.ce.osal.close() ...
> js: 
> "/home/nandol52/dvevm_1_10/xdctools_1_21/packages/xdc/cfg/cfg.
js", line
> 143: exception from uncaught JavaScript throw: Error: 
> incompatible use of
> the target 'ti.targets.C64P', imported version [], 
> ti.targets.rts6000 was
> built using version [1,0,5.2,0,4], ti.sdo.ce.trace was built 
> using version
> [1,0,6.0,3], ti.sdo.ce.osal.alg was built using version [1,0,6.0,3],
> ti.bios.utils was built using version [1,0,6.0,3], ti.bios 
> was built using
> version [1,0,6.0,3], ti.rtdx was built using version [1,0,6.0,3],
> ti.sdo.ce.osal was built using version [1,0,6.0,3], 
> ti.sdo.fc.dskt2 was
> built using version [1,0,6.0,3], ti.sdo.fc.dman3 was built 
> using version
> [1,0,6.0,3], ti.sdo.fc.acpy3 was built using version [1,0,6.0,3],
> ti.sdo.ce.bioslog was built using version [1,0,6.0,3], 
> ti.sdo.ce.node was
> built using version [1,0,6.0,3], ti.sdo.ce was built using version
> [1,0,6.0,3], ti.sdo.ce.video was built using version [1,0,6.0,3]
> gmake: *** [package/cfg/video_copy_x64Pcfg_c.c] Error 1
> gmake: *** Deleting file `package/cfg/video_copy_x64Pcfg_c.c'
> gmake: *** [package/cfg/video_copy_x64Pcfg_c.c] Deleting file
> `package/cfg/video_copy_x64Pcfg.cmd'
> gmake: *** [package/cfg/video_copy_x64Pcfg_c.c] Deleting file
> `package/cfg/video_copy_x64Pcfg.s62'
> gmake[1]: *** [all] error 2
> gmake[1]: Leaving directory
> `/home/nandol52/dvevm_1_10/codec_engine_1_02/examples/servers/
video_copy'
> gmake: *** [all] error 2
> [EMAIL PROTECTED] servers]#
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to