hi,
I used genSever create a server including h264 codec. Then I copied link.cmd file from package "ti.sdo.server.cs" .
And the problems come.
"/opt/dvsdk/xdctools_3_16_03_36/xdc" XDCOPTIONS= XDCARGS="CODEGEN_INSTALL_DIR=\"/opt/dvsdk/cgt6x_6_1_14\"" --xdcpath="/opt/dvsdk/xdctools_3_16_03_36/packages\;/opt/dvsdk/codec-engine_2_26_02_11/packages\;/opt/dvsdk/framework-components_2_26_00_01/packages\;/opt/dvsdk/dsplink_1_65_00_02\;/opt/dvsdk/codecs-omap3530_4_02_00_00/packages\;/opt/dvsdk/dspbios_5_41_03_17/packages\;/opt/dvsdk/biosutils_1_02_02/packages\;/opt/dvsdk/edma3lld_01_11_00_03/packages\;/opt/dvsdk/xdais_6_26_01_03/packages\;/opt/dvsdk/linuxutils_2_26_01_02/packages\;/opt/dvsdk/linuxutils_2_26_01_02/packages\;/opt/dvsdk/cgt6x_6_1_14\;/opt/dvsdk/local-power-manager_1_24_02_09/packages\;/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr\;/opt/dvsdk/c6accel_1_01_00_06/soc/packages\;/opt/dvsdk/c6run_0_95_02_02\;/opt/dvsdk/omap35x_graphics_sdk_4.00.00.01/packages;/opt/dvsdk/codecs-omap3530_4_02_00_00/packages"
making package.mak (because of package.bld) ...
building for target C64P ...
generating interfaces for package servers.h264enc (because package/package.xdc.inc is older than package.xdc) ...
configuring bin/h264enc.x64P from package/cfg/bin/h264enc_x64P.cfg ...
platform = ti.platforms.evm3530
undefined.createMemMapFile(): progName = bin/h264enc_x64P
NOTE: You can find the complete server data sheet in ./package/info/bin/h264enc.x64P.DataSheet.html
---------------------------------------------------------------------------------------------------
Warning: incompatible use of package 'ti.sdo.edma3.rm' [in /opt/dvsdk/edma3lld_01_11_00_03/packages/ti/sdo/edma3/rm/]: version of the loaded package 'ti.sdo.edma3.rm' is [01, 03, 07], while 'ti.sdo.fc.dman3' [in /opt/dvsdk/framework-components_2_26_00_01/packages/ti/sdo/fc/dman3/] was built with 'ti.sdo.edma3.rm' [01, 03, 08, 1276531399079], while 'ti.sdo.fc.edma3' [in /opt/dvsdk/framework-components_2_26_00_01/packages/ti/sdo/fc/edma3/] was built with 'ti.sdo.edma3.rm' [01, 03, 08, 1276531399079]
algRecs[H264VENC_TI_IH264VENC] = ti.sdo.ce.video1.IVIDENC1
Auto register ti.sdo.fc.ires.edma3chan.EDMA3CHAN
will link with ti.sdo.codecs.h264enc:lib_production/h264venc_prod.l64P
will link with ti.sdo.ce.video1:lib/release/viddec1.a64P;lib/release/videnc1.a64P
will link with ti.sdo.ce.bioslog:lib/release/bioslog.a64P
will link with ti.sdo.ce:lib/release/ce.a64P
will link with ti.sdo.ce.alg:lib/release/Algorithm_BIOS.a64P
will link with ti.sdo.ce.ipc.bios:lib/release/ipc_bios.a64P
will link with ti.sdo.ce.osal.bios:lib/osal_bios.a64P
will link with ti.sdo.ce.osal.bios:lib/osal_bios_pwrm.a64P
will link with ti.bios.utils:lib/utils.a64P
will link with ti.sdo.fc.acpy3:lib/release/acpy3.a64P
will link with ti.sdo.fc.memutils:lib/release/memutils.a64P
will link with ti.sdo.ce.utils.xdm:lib/release/XdmUtils.a64P
will link with ti.sdo.ce.node:lib/release/node.a64P
will link with ti.sdo.fc.ires.edma3chan:lib/release/edma3Chan.a64P
will link with ti.sdo.fc.dman3:lib/release/dman3RMCfg.a64P
will link with ti.sdo.fc.edma3:lib/release/edma3.a64P
will link with ti.sdo.fc.rman:lib/release/rman.a64P
will link with ti.sdo.fc.dskt2:lib/release/dskt2.a64P
will link with ti.sdo.utils.trace:lib/release/gt.a64P
will link with ti.sdo.fc.ires.nullresource:lib/release/nullres.a64P
Inside EDMA3 RM getLibs
will link with ti.sdo.edma3.rm:lib/omap35xx/Release/edma3_rm_bios.lib
cl64P package/cfg/bin/h264enc_x64P.c ...
cl64P main.c ...
cl64P package/cfg/bin/h264enc_x64Pcfg_c.c ...
asm64P package/cfg/bin/h264enc_x64Pcfg.s62 ...
lnk64P bin/h264enc.x64P ...
"package/cfg/bin/h264enc_x64P.xdl", line 219: warning: absolute symbol
"_H264VENC_TI_load0" being redefined
"package/cfg/bin/h264enc_x64P.xdl", line 220: warning: absolute symbol
"_H264VENC_TI_run0" being redefined
"package/cfg/bin/h264enc_x64P.xdl", line 221: warning: absolute symbol
"_H264VENC_TI_size0" being redefined
"link.cmd", line 4: warning: memory range not found: L1PSRAM on page 0
"link.cmd", line 4: error: no valid memory range available for placement of
"UNION_1"
"link.cmd", line 4: error: run placement fails for object "UNION_1", size 0x0
(page 0)
"package/cfg/bin/h264enc_x64P.xdl", line 218: warning: memory range not found:
undefined on page 0
"package/cfg/bin/h264enc_x64P.xdl", line 218: error: no valid memory range
available for placement of "h264_enc_L1psram"
"package/cfg/bin/h264enc_x64P.xdl", line 218: error: run placement fails for
object "h264_enc_L1psram", size 0x0 (page 0)
"package/cfg/bin/h264enc_x64P.xdl", line 219: warning: absolute symbol
"_H264VENC_TI_load0" being redefined
"package/cfg/bin/h264enc_x64P.xdl", line 220: warning: absolute symbol
"_H264VENC_TI_run0" being redefined
"package/cfg/bin/h264enc_x64P.xdl", line 221: warning: absolute symbol
"_H264VENC_TI_size0" being redefined
error: errors encountered during linking; "bin/h264enc.x64P" not built
gmake: *** [bin/h264enc.x64P] Error 1
make: *** [all] Error 2
A.The first warning that I mark orange color seems the versions not matched. But I am sure I built them that used the same components.
B. How to fix this?
C. How to fill and modiy the link.cmd file. What document should I read?
thx