Hi, every body,
I want to build gst-ti-plugin-full-1.02.00 for DM6467 with DVSDK 3.10.00.19, but when I check the document, gst-ti-plugin-full-1.02.00 support DM6467 and DVSDK 2.00.00.22. not support DVSDK 3.10.00.19.
How to build gst-ti-plugin-full-1.02.00 for DM6467 with DVSDK 3.10.00.19?
Build platform - Ubuntu 11.10, compiler arm-2009q1, dvsdk_3_10_00_19, gst-ti-plugin-full-1.02.00
TOP of Rules.make:
# Define target platform.
PLATFORM=dm6467
# The installation directory of the DVSDK.
DVSDK_INSTALL_DIR=/home/ylf/dvsdk/dvsdk_3_10_00_19
Top of Makefile.common in gst-ti-plugin-full-1.02.00
DVSDK_INSTALL_DIR = /home/ylf/dvsdk/dvsdk_3_10_00_19
TARGET_ROOT_DIR = /home/ylf/install
GSTREAMER_DIR = opt/gstreamer
CROSS_COMPILER = CS_2009Q1
GST_TI_PLATFORM = dm6467
Makefile.common modified for DM6467 target:
ifeq ($(GST_TI_PLATFORM), dm6467)
#FIX>
# export XDC_TARGET = gnu.targets.MVArm9
# export XDC_PLATFORM = ti.platforms.evmDM6467
export XDC_TARGET = gnu.targets.arm.GCArmv5T
export XDC_PLATFORM = ti.platforms.evmDM6467
export LINK_XDC_ROOT = $(LINK_INSTALL_DIR)
export MVTOOL_PREFIX = $(CSTOOL_PREFIX)
export MVTOOL_DIR = $(CSTOOL_DIR)
export PLATFORM_XDC = ${XDC_PLATFORM}
export CROSS_COMPILE = ${CSTOOL_PREFIX}
#<FIX
endif
DVSDK, git kernel and examples-r37 all build without error.
gst-ti-plugin-full-1.02.00 seems to build without error UNTIL we get to package gstticodecplugin_dm6467:
make[4]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin'
make[3]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin'
make -C ticodecplugin install
make[3]: Entering directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin'
Making install in m4
make[4]: Entering directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/m4'
make[5]: Entering directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/m4'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/m4'
make[4]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/m4'
Making install in src
make[4]: Entering directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/src'
XDCPATH=".;/home/ylf/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/dsplink_linux_1_64;/home/ylf/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/dmai_2_10_00_12/packages;/packages;;/home/ylf/dvsdk/dvsdk_3_10_00_19/edma3_lld_01_11_00_03/packages;" /home/ylf/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/xs xdc.tools.configuro -c /opt/arm-2009q1 -o gstticodecplugin_dm6467 -t gnu.targets.arm.GCArmv5T -p ti.platforms.evmDM6467 -b /home/ylf/dvsdk/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/config.bld gstticodecplugin_dm6467.cfg
making package.mak (because of package.bld) ...
generating interfaces for package gstticodecplugin_dm6467 (because package/package.xdc.inc is older than package.xdc) ...
configuring gstticodecplugin_dm6467.xv5T from package/cfg/gstticodecplugin_dm6467_xv5T.cfg ...
js: "/home/ylf/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/Engine.xs", line 314: Error: cannot find server package 'ti.sdo.servers.decode' 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: JavaException: xdc.services.global.XDCException: XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.servers.decode' along the path: '/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/src;/home/ylf/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/dsplink_linux_1_64;/home/ylf/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/dmai_2_10_00_12/packages;/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/edma3_lld_01_11_00_03/packages;/home/ylf/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;..;'. Ensure that the package path is set correctly.
"/home/ylf/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/Engine.xs", line 337
"/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/src/gstticodecplugin_dm6467.cfg", line 32
"./package/cfg/gstticodecplugin_dm6467_xv5T.cfg", line 474
"./package/cfg/gstticodecplugin_dm6467_xv5T.cfg", line 429
gmake: *** [package/cfg/gstticodecplugin_dm6467_xv5T.c] Error 1
Warning: directory "/packages" on package path does not exist
js: "/home/ylf/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[4]: *** [gstticodecplugin_dm6467/compiler.opt] Error 1
make[4]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build/ticodecplugin'
make[2]: *** [ticodecplugin] Error 2
make[2]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00/ti_build'
make[1]: *** [ti_build] Error 2
make[1]: Leaving directory `/home/ylf/gst-ti-plugin-full-1.02.00'
make: *** [all] Error 2