hello,everyone!
i have the following problems when building the rowboat project.
the steps are as following:
PART1:
1.download the rowboat project with dvsdk and gstreamer supported.
2.build the entire project with the command:
"make TARGET_PRODUCT=beagleboard BUILD_WITH_GST=true dvsdk"
and it really build successfully!
3.but when i changed the Makefile in the directory "~/rowboat-android/external/ti-dsp",some errors are out .the following is what i have done with the Makefile:
replace the line
"all: dsplink_config dsplink_build dsplink_dsp cmem_build sdma_build ce_build fc_build cs_build dmai_build lpm_build ti_gst ti_omx overlay_dmai install"
with the line
"all: dsplink_config dsplink_build dsplink_dsp cmem_build sdma_build ce_build ce_examples_build fc_build cs_build dmai_build lpm_build ti_gst ti_omx overlay_dmai install"
4.build the project with the following command:
"make TARGET_PRODUCT=beagleboard BUILD_WITH_GST=true dvsdk"
5.it also build successfully,but the oupput include a lot msgs blow(ijust list some related msgs):
"...
gmake[1]: `.dlls' is up to date.
======== .dlls [/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/examples/ti/sdo/ce/examples/codecs/videnc_copy] ========
#
# making package.mak (because of package.bld) ...
/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/tconf -Dxdc.path="/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdais_6_25_02_11/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/cetools/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/bios_5_41_00_06/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/dsplink_linux_1_65_00_02/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/cetools/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/biosutils_1_02_02/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/local_power_manager_linux_1_24_02_09/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages;../../../../../.." -Dxdc.root=/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27 -Dxdc.hostOS=Linux -Dconfig.importPath=".;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdais_6_25_02_11/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/cetools/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/bios_5_41_00_06/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/dsplink_linux_1_65_00_02/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/cetools/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/biosutils_1_02_02/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/local_power_manager_linux_1_24_02_09/packages;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages;../../../../../..;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27;/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/etc" -Dxdc.bld.targets="" -DTOOLS= /home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages/xdc/bld/bld.js /home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/config.bld package.bld package.mak prod
building for target C64P ...
building for target GCArmv7A ...
js: "/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages/gnu/targets/ITarget.xs", line 261: Error: /home/hjhua/rowboat-android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-/bin/arm-eabi-gcc cannot be found. Ensure that rootDir for the GCArmv7A target is set correctly in /home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/config.bld
gmake[1]: *** Deleting file `package.mak'
======== .dlls [/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/examples/ti/sdo/ce/examples/codecs/vidtranscode_copy] ========
..."
6.just have a look at the msgs above,it seems as if the file"/home/hjhua/rowboat-android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-/bin/arm-eabi-gcc" can not be found.so i find the config.bld file in the directory "/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16" and make the following changes:
-- replace the line:
"GCArmv7A.rootDir = "" + java.lang.System.getenv("ANDROID_TOOLCHAIN");"
-- with the line:
"GCArmv7A.rootDir = "" + java.lang.System.getenv("ANDROID_TOOLCHAIN_PATH");"
8.build the entire rowboat project with the command "make TARGET_PRODUCT=beagleboard BUILD_WITH_GST=true dvsdk" again
9.the output messages i just list above does not exist,but some error msgs blow is out:
"...
#
# clv7A package/package_ti.sdo.ce.examples.codecs.audenc_copy.c ...
/home/hjhua/rowboat-android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc -c -MD -MF package/lib/lib/audenc_copy/package/package_ti.sdo.ce.examples.codecs.audenc_copy.ov7A.dep -x c -fPIC -Wunused -Wall -fno-strict-aliasing null -march=armv7-a -Dfar= -D__xdc_bld_pkg_c__=package.bld.c -Dxdc_target_name__=GCArmv7A -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_4_4_0 -O2 -I. -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10 -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdais_6_25_02_11/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/cetools/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/bios_5_41_00_06/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/dsplink_linux_1_65_00_02/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/cetools/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/biosutils_1_02_02/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/local_power_manager_linux_1_24_02_09/packages -I/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages -I../../../../../.. -o package/lib/lib/audenc_copy/package/package_ti.sdo.ce.examples.codecs.audenc_copy.ov7A package/package_ti.sdo.ce.examples.codecs.audenc_copy.c
arm-eabi-gcc: null: No such file or directory
gmake[1]: *** [package/lib/lib/audenc_copy/package/package_ti.sdo.ce.examples.codecs.audenc_copy.ov7A] Error 1
gmake[1]: *** Deleting file `package/lib/lib/audenc_copy/package/package_ti.sdo.ce.examples.codecs.audenc_copy.ov7A'
gmake: *** [/home/hjhua/rowboat-android/external/ti-dsp/dvsdk_3_01_00_10/codec_engine_2_25_05_16/examples/ti/sdo/ce/examples/codecs/audenc_copy,.libraries] Error 2
make[1]: *** [ce_examples_build] Error 2
make[1]: Leaving directory `/home/hjhua/rowboat-android/external/ti-dsp'
make: *** [dvsdk] Error 2
root@hjhua-desktop:~/rowboat-android#
"
10.just have a look at the msg above,the line "arm-eabi-gcc: null: No such file or directory" is the key.but the file"/home/hjhua/rowboat-android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc" does really exist.I do not why.can anybody help me out?
PART2:
1.help me out,and my email is "huangjianhuayin@126.com".anyway thanks!