Hi All:
I am trying to build ti-dmai under openembedded, and my target board is dm365-evm, when building davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/apps/speech_decode1, I get the following error:
======== Building speech_decode1 ========
| Configuring application using linux/speech_decode1_dm365.cfg
|
| /opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-xdctools-native/xs xdc.tools.configuro -t gnu.targets.arm.GCArmv5T -p ti.platforms.evmDM365 -b ../../../../../../packages/config.bld -o linux/speech_decode1_dm365_config linux/speech_decode1_dm365.cfg
| making package.mak (because of package.bld) ...
| generating interfaces for package speech_decode1_dm365_config (because package/package.xdc.inc is older than package.xdc) ...
| configuring speech_decode1_dm365.xv5T from package/cfg/speech_decode1_dm365_xv5T.cfg ...
| will link with ti.sdo.dmai:lib/dmai_linux_dm365.a470MV
| will link with ti.sdo.ce.image1:lib/release/imgdec1.av5T;lib/release/imgenc1.av5T
| will link with ti.sdo.ce.image:lib/release/image.av5T
| will link with ti.sdo.ce.video2:lib/release/viddec2.av5T
| will link with ti.sdo.ce.video1:lib/release/viddec1.av5T;lib/release/videnc1.av5T
| will link with ti.sdo.ce.video:lib/release/video.av5T
| will link with ti.sdo.ce.audio1:lib/release/auddec1.av5T;lib/release/audenc1.av5T
| will link with ti.sdo.ce.audio:lib/release/audio.av5T
| will link with ti.sdo.ce.speech1:lib/release/sphdec1.av5T;lib/release/sphenc1.av5T
| will link with ti.sdo.ce.speech:lib/release/speech.av5T
| will link with ti.sdo.ce:lib/release/ce.av5T
| will link with ti.sdo.ce.alg:lib/release/Algorithm_noOS.av5T;lib/release/alg.av5T
| will link with ti.sdo.ce.ipc.linux:lib/release/ipc_linux.av5T
| will link with ti.sdo.ce.osal.linux:lib/release/osal_linux_470.av5T
| will link with ti.sdo.fc.acpy3:lib/release/acpy3.a470MV
| will link with ti.sdo.fc.dman3:lib/release/dman3Cfg.a470MV
| will link with lib/release/rmm.a470MV;lib/release/smgr.a470MV;lib/release/rmmp.a470MV;lib/release/smgrmp.a470MV;lib/release/shm.a470MV
| will link with ti.sdo.fc.memutils:lib/release/memutils.av5T
| will link with ti.sdo.linuxutils.cmem:lib/cmem.a470MV
| will link with ti.sdo.ce.node:lib/release/node.av5T
| will link with ti.sdo.ce.utils.xdm:lib/release/XdmUtils.av5T
| will link with ti.sdo.utils.trace:lib/release/gt.av5T
| clv5T package/cfg/speech_decode1_dm365_xv5T.c ...
| Compiling appMain.dm365.o470MV from appMain.c..
| /opt/oe/platform/dm365-cwlinux-external/cross/armv5te/bin/arm-linux-gcc -g -Wall -Werror -DNDEBUG -I/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/kernel/include -c -march=armv5t -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codec-engine/examples" -I"/opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codec-engine/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-framework-components/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-dsplink-module/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-xdais/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-linuxutils/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codecs/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-dspbios-native/packages" -I"/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codec-engine/cetools/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-xdctools-native/packages" -I"/opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/apps/speech_decode1/linux/speech_decode1_dm365_config/.." -Dxdc_target_types__="gnu/targets/arm/std.h" -Dxdc_target_name__=GCArmv5T -Dxdc_cfg__header__="/opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/apps/speech_decode1/linux/speech_decode1_dm365_config/package/cfg/speech_decode1_dm365_xv5T.h" -DNDEBUG -I/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/kernel/include -o appMain.dm365.o470MV appMain.c
| Compiling linux/main.dm365.o470MV from linux/main.c..
| /opt/oe/platform/dm365-cwlinux-external/cross/armv5te/bin/arm-linux-gcc -g -Wall -Werror -DNDEBUG -I/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/kernel/include -c -march=armv5t -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codec-engine/examples" -I"/opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codec-engine/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-framework-components/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-dsplink-module/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-xdais/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-linuxutils/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codecs/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-dspbios-native/packages" -I"/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/ti-codec-engine/cetools/packages" -I"/opt/oe/platform/dm365-cwlinux-external/staging/i686-linux/ti-xdctools-native/packages" -I"/opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/apps/speech_decode1/linux/speech_decode1_dm365_config/.." -Dxdc_target_types__="gnu/targets/arm/std.h" -Dxdc_target_name__=GCArmv5T -Dxdc_cfg__header__="/opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/apps/speech_decode1/linux/speech_decode1_dm365_config/package/cfg/speech_decode1_dm365_xv5T.h" -DNDEBUG -I/opt/oe/platform/dm365-cwlinux-external/staging/dm365-linux/kernel/include -o linux/main.dm365.o470MV linux/main.c
|
| Linking linux/speech_decode1_dm365.x470MV from appMain.dm365.o470MV linux/main.dm365.o470MV linux/speech_decode1_dm365_config/linker.cmd..
| /opt/oe/platform/dm365-cwlinux-external/cross/armv5te/bin/arm-linux-gcc -lpthread -lm -L/opt/oe/platform/dm365-cwlinux-external/staging/armv5te-linux/usr/lib -lasound -Wl,-Map,linux/speech_decode1_dm365.x470MV.map -o linux/speech_decode1_dm365.x470MV appMain.dm365.o470MV linux/main.dm365.o470MV linux/speech_decode1_dm365_config/linker.cmd
| /opt/oe/platform/dm365-cwlinux-external/work/dm365-linux/ti-dmai-svnr426-r32c/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/apps/speech_decode1/linux/speech_decode1_dm365_config/package/cfg/speech_decode1_dm365_xv5T.ov5T:(.data.rel+0x34): undefined reference to `G711DEC_SUN_IG711DEC'
| collect2: ld returned 1 exit status
| make[3]: *** [linux/speech_decode1_dm365.x470MV] Error 1
after check, it seems the g711 isn't linked in the linker.cmd file, if I add the g711 to the linker.cmd file manully and compile it again, it works, but that is not the correct way to do, and I believe that it should be added by the xs program, can anyone give me some hits about what is wrong?
Thanks in advance,
Patrick