This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6446 dvsdk building problem

I have download dvsdk from TI's website.

I have installed followed by the sprue66e.pdf.

when I enter the dvsdk dictionary.

then make clean, make.

it appears this error:

 

"/home/davinci/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/Engine.xs", line 341     "/home/davinci/dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/apps/audio_decode1/linux/audio_decode1_dm6446.cfg", line 39     "./package/cfg/audio_decode1_dm6446_x470MV.cfg", line 479     "./package/cfg/audio_decode1_dm6446_x470MV.cfg", line 434 gmake: *** [package/cfg/audio_decode1_dm6446_x470MV.c] Error 1 js: "/home/davinci/dvsdk_2_00_00_22/xdctools_3_10_03/packages/xdc/tools/Cmdr.xs", line 40: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. make[3]: *** [linux/audio_decode1_dm6446_config/compiler.opt] error 1 make[3]: Leaving directory `/home/davinci/dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/apps/audio_decode1' make[2]: *** [audio_decode1/.dm6446_al] 错误 2 make[2]: Leaving directory `/home/davinci/dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/apps' make[1]: *** [dm6446_al] error 2 make[1]: Leaving directory `/home/davinci/dvsdk_2_00_00_22/dmai_1_20_00_06' make: *** [dmai] error 2

 

  • #============================================================================== 
    # DMAI Stand-Alone Build Configuration
    #============================================================================== 
    ifndef DMAI_INSTALL_DIR
       $(error DMAI_INSTALL_DIR must be set to the DMAI installation directory prior to building DMAI)
    endif
    
    #------------------------------------------------------------------------------ 
    # If this DMAI installation is part of a DVSDK, include the top level DVSDK
    # Rules.make.  Otherwise, configure the build environment with reasonable
    # values for a stand-alone build.
    #------------------------------------------------------------------------------ 
    -include $(DMAI_INSTALL_DIR)/../Rules.make
    
    ifndef DVSDK_INSTALL_DIR
    
    #------------------------------------------------------------------------------ 
    # DVSDK SOFTWARE COMPONENTS:
    #
    #    Set the locations of the DVSDK installations and all required software
    #    components.  Software component locations are specified with an
    #    environment variable (e.g. CE_INSTALL_DIR).  This variable is typically
    #    set to be the most recent version of the software supported by DMAI.  If a
    #    platform requires an older version of a software component, this variable
    #    is overridden on a per-platform basis.
    #
    #    Example:
    #               CE_INSTALL_DIR=<path to most recent release supported by DMAI>
    #    dm355_al:  CE_INSTALL_DIR=<path to older CE release needed by DM355>
    #
    #    Note that each platform override designation contains a suffix such as
    #    "_al" or "_db".  This is to designate the operating system environment
    #    for that platform.  The following operating system environments are
    #    currently supported:
    #
    #      al:  ARM/Linux
    #      db:  DSP/BIOS
    #
    #    This designation is required as some ARM+DSP platforms may support running
    #    DMAI under multiple environments.
    #------------------------------------------------------------------------------ 
               DVSDK_2_00_INSTALL_DIR=$(HOME)/dvsdk_2_00_00_22
               DVSDK_2_05_INSTALL_DIR=$(HOME)/dvsdk_2_05_00_14
               DVSDK_3_00_INSTALL_DIR=$(HOME)/dvsdk_3_00_00_29
    
    # Where the Codec Engine package is installed.
               CE_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/codec_engine_2_23_01
    dm357_al:  CE_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/codec_engine_2_23_01
    o3530_al:  CE_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/codec_engine_2_23_01
    
    # Where the DSP Link package is installed.
               LINK_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dsplink-1_61_03-prebuilt
    dm357_al:  LINK_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/dsplink-1_61_03-prebuilt
    o3530_al:  LINK_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/dsplink-1_61_03-prebuilt
    
    # Where the CMEM (contiguous memory allocator) package is installed.
               CMEM_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/linuxutils_2_23_01
    dm357_al:  CMEM_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/linuxutils_2_23_01
    o3530_al:  CMEM_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/linuxutils_2_23_01
    
    # Where Framework Components product is installed
               FC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/framework_components_2_23_01
    dm357_al:  FC_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/framework_components_2_23_01
    o3530_al:  FC_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/framework_components_2_23_01
    
    # Where the BIOS utilities are installed.
               BIOSUTILS_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/biosutils_1_01_00
    dm357_al:  BIOSUTILS_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/biosutils_1_01_00
    o3530_al:  BIOSUTILS_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/biosutils_1_01_00
    
    # Where the Local Power Management product is installed
    o3530_al:  LPM_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/local_power_manager_1_20_01
    
    # Where the XDAIS package is installed.
               XDAIS_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/xdais_6_23
    dm357_al:  XDAIS_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/xdais_6_23
    o3530_al:  XDAIS_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/xdais_6_23
    
    # Where the RTSC tools package is installed.
               XDC_INSTALL_DIR=$(HOME)/xdctools_3_10_03
    
    # Where DSP/BIOS is installed
               BIOS_INSTALL_DIR=$(HOME)/bios_5_33_03
    o3530_al:  BIOS_INSTALL_DIR=$(HOME)/bios_5_33_03
    
    # Where RTDX is installed
               RTDX_INSTALL_DIR=$(HOME)/rtdx_2_00_01
    
    # Where EDMA3 LLD is installed
               EDMA3_LLD_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/edma3_lld_1_05_00
    
    # Linux support libraries installation directory
    o3530_al:  LINUXLIBS_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/linuxlibs
    
    # Linux kernel installation directory
               LINUXKERNEL_INSTALL_DIR=/home/davinci/workdir/lsp/ti-davinci/linux-2.6.18_pro500
    o3530_al:  LINUXKERNEL_INSTALL_DIR=$(HOME)/OMAP35x_SDK_1.0.2/src/linux/kernel_org/2.6_kernel
    
    # Where codecs are installed
    dm6467_al: CODEC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dm6467_dvsdk_combos_2_02
    dm355_al:  CODEC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dm355_codecs_1_13_000
    dm6446_al: CODEC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dm6446_dvsdk_combos_2_02
    dm357_al:  CODEC_INSTALL_DIR=$(DVSDK_2_05_INSTALL_DIR)/dm357_codecs_1_00_004
    o3530_al:  CODEC_INSTALL_DIR=$(DVSDK_3_00_INSTALL_DIR)/omap3530_dvsdk_combos_3_16
    dm6437_db: CODEC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dm6446_dvsdk_combos_2_02
    dm6446_db: CODEC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dm6446_dvsdk_combos_2_02
    dm6467_db: CODEC_INSTALL_DIR=$(DVSDK_2_00_INSTALL_DIR)/dm6467_dvsdk_combos_2_02
    
    #------------------------------------------------------------------------------ 
    # TI C6000 CODEGEN DEVELOPMENT TOOLS:
    #    Set the location of the TI C6000 codegen tools.
    #------------------------------------------------------------------------------ 
               CODEGEN_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cg6x_6_0_21
    
    #------------------------------------------------------------------------------ 
    # MONTAVISTA DEVELOPMENT TOOLS:
    #    Set the location of the MontaVista Linux components.
    #------------------------------------------------------------------------------ 
               MVTOOL_INSTALL_DIR=/opt/mv_pro_5.0
               MVTOOL_DIR=$(MVTOOL_INSTALL_DIR)/montavista/pro/devkit/arm/v5t_le
               MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le-
    
    #------------------------------------------------------------------------------ 
    # CODE SOURCERY DEVELOPMENT TOOLS:
    #    Set the location of the Code Sourcery Linux components.
    #------------------------------------------------------------------------------ 
               CSTOOL_DIR=$(HOME)/arm-2007q3
               CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-
    
    #------------------------------------------------------------------------------ 
    # WORK-AROUNDS:
    #     The following are settings needed to work-around temporary issues during
    #     development.
    #------------------------------------------------------------------------------ 
    
    # The xDM 1.x G711 codec for DM355 isn't located in the standard codec
    # directory.  Add an additional directory to the XDC_PATH so the sample apps
    # can find it.
    dm355_al:  USER_XDC_PATH=$(CE_INSTALL_DIR)/examples
    
    #------------------------------------------------------------------------------ 
    # USER_XDC_PATH:
    #    Pre-pend the following paths to the XDC path used when building the
    #    DMAI sample applications.
    #------------------------------------------------------------------------------ 
    USER_XDC_PATH=$(DVSDK_INSTALL_DIR)/xdctools_3_10_03
    
    #------------------------------------------------------------------------------ 
    # TARGET FILESYSTEM:
    #     Where to copy the resulting executables and data to (when executing
    #     'make install') in a proper file structure. This EXEC_DIR should either
    #     be visible from the target, or you will have to copy this (whole)
    #     directory onto the target filesystem.
    #------------------------------------------------------------------------------ 
    EXEC_DIR=/home/davinci/workdir/filesys/opt/dvsdk/$(PLATFORM)
    
    endif
    

     

    rules for dmai

  • The problem is solved by using "make everything".