Nadeem,

        Thank you for providing the necessary information to assist in 
debugging this issue.

        You need to build the LSP first.  The reason why the 
asm/arch/davinci_vdce.h isn't found is because the LSP has not been configured 
for the DM6467 and built yet.  The act of performing the following in the LSP 
will create the softlinks "asm" and "arch" in the ./include directory.

        Please execute the following.

> cd ${HOME}/workdir/lsp/ti-davinci/linux-2.6.10_mvl401_LSP_01_30_00_082
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm646x_defconfig
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
> cd ${HOME}/dvsdk_1_40_00_31
> make


Brandon Azbell 
Texas Instruments 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of N Ahmed
Sent: Saturday, October 25, 2008 2:16 AM
To: [email protected]
Subject: trouble building dvdsk software


Hello,

I am currently evaluating the DM6467 EVM. I have downloaded the latest version 
1.40.00.31 of the dvsk software from TI's website.  I am following the 
instructions in section 4.6 of the getting started guide.  When I run a make 
command, the compile breaks when it cannot find davinci_vdce.h (included below) 
. I've checked the paths in my Rules.make file (included below) and everything 
appears okay.  Am I missing something?  Any help appreciated.

Best regards,

-Nadeem Ahmed

Make output:

[EMAIL PROTECTED]:~/dvsdk_1_40_00_31$ make make -C 
/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06 dm6467_al
make[1]: Entering directory `/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06'
make[2]: Entering directory 
`/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06/packages/ti/sdo/dmai'
Compiling obj/Buffer.dm6467.o470MV from Buffer.c..
Compiling obj/BufferGfx.dm6467.o470MV from BufferGfx.c..
Compiling obj/BufTab.dm6467.o470MV from BufTab.c..
Compiling obj/Ccv.dm6467.o470MV from Ccv.c..
Compiling obj/ColorSpace.dm6467.o470MV from ColorSpace.c..
Compiling obj/Framecopy.dm6467.o470MV from Framecopy.c..
Compiling obj/Loader.dm6467.o470MV from Loader.c..
Compiling obj/VideoStd.dm6467.o470MV from VideoStd.c..
Compiling obj/ce/Adec.dm6467.o470MV from ce/Adec.c..
Compiling obj/ce/Aenc.dm6467.o470MV from ce/Aenc.c..
Compiling obj/ce/Sdec1.dm6467.o470MV from ce/Sdec1.c..
Compiling obj/ce/Sdec.dm6467.o470MV from ce/Sdec.c..
Compiling obj/ce/Senc.dm6467.o470MV from ce/Senc.c..
Compiling obj/ce/Vdec2.dm6467.o470MV from ce/Vdec2.c..
Compiling obj/ce/Vdec.dm6467.o470MV from ce/Vdec.c..
Compiling obj/ce/Venc1.dm6467.o470MV from ce/Venc1.c..
Compiling obj/ce/Venc.dm6467.o470MV from ce/Venc.c..
Compiling obj/linux/Capture.dm6467.o470MV from linux/Capture.c..
Compiling obj/linux/Cpu.dm6467.o470MV from linux/Cpu.c..
Compiling obj/linux/Display.dm6467.o470MV from linux/Display.c..
Compiling obj/linux/Display_fbdev.dm6467.o470MV from linux/Display_fbdev.c..
Compiling obj/linux/Display_v4l2.dm6467.o470MV from linux/Display_v4l2.c..
Compiling obj/linux/Dmai.dm6467.o470MV from linux/Dmai.c..
Compiling obj/linux/Fifo.dm6467.o470MV from linux/Fifo.c..
Compiling obj/linux/Pause.dm6467.o470MV from linux/Pause.c..
Compiling obj/linux/Rendezvous.dm6467.o470MV from linux/Rendezvous.c..
Compiling obj/linux/Sound.dm6467.o470MV from linux/Sound.c..
Compiling obj/linux/_SysFs.dm6467.o470MV from linux/_SysFs.c..
Compiling obj/linux/Time.dm6467.o470MV from linux/Time.c..
Compiling obj/linux/_VideoBuf.dm6467.o470MV from linux/_VideoBuf.c..
Compiling obj/linux/dm6467/Blend.dm6467.o470MV from linux/dm6467/Blend.c..
linux/dm6467/Blend.c:20:35: asm/arch/davinci_vdce.h: No such file or directory
linux/dm6467/Blend.c: In function `Blend_config':
linux/dm6467/Blend.c:99: error: `vdce_params_t' undeclared (first use in this 
function)
linux/dm6467/Blend.c:99: error: (Each undeclared identifier is reported only 
once
linux/dm6467/Blend.c:99: error: for each function it appears in.)
linux/dm6467/Blend.c:99: error: parse error before "params"
linux/dm6467/Blend.c:142: error: `params' undeclared (first use in this 
function)
linux/dm6467/Blend.c:142: error: `VDCE_OPERATION_POST_CODECMODE' undeclared 
(first use in this function)
linux/dm6467/Blend.c:145: error: `VDCE_GET_DEFAULT' undeclared (first use in 
this function)
linux/dm6467/Blend.c:151: error: `VDCE_CCV_MODE_420_422' undeclared (first use 
in this function)
linux/dm6467/Blend.c:192: error: `VDCE_OPERATION_BLENDING' undeclared (first 
use in this function)
linux/dm6467/Blend.c:250: error: `VDCE_PROGRESSIVE' undeclared (first use in 
this function)
linux/dm6467/Blend.c:251: error: `VDCE_FRAME_MODE' undeclared (first use in 
this function)
linux/dm6467/Blend.c:262: error: `VDCE_SET_PARAMS' undeclared (first use in 
this function)
linux/dm6467/Blend.c: In function `Blend_execute':
linux/dm6467/Blend.c:282: error: `vdce_address_start_t' undeclared (first use 
in this function)
linux/dm6467/Blend.c:282: error: parse error before "params"
linux/dm6467/Blend.c:319: error: `params' undeclared (first use in this 
function)
linux/dm6467/Blend.c:319: error: `VDCE_BUF_IN' undeclared (first use in this 
function)
linux/dm6467/Blend.c:326: error: `VDCE_BUF_OUT' undeclared (first use in this 
function)
linux/dm6467/Blend.c:333: error: `VDCE_BUF_BMP' undeclared (first use in this 
function)
linux/dm6467/Blend.c:343: error: `VDCE_START' undeclared (first use in this 
function)
make[2]: *** [obj/linux/dm6467/Blend.dm6467.o470MV] Error 1
make[2]: Leaving directory 
`/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06/packages/ti/sdo/dmai'
make[1]: *** [dm6467_al] Error 2
make[1]: Leaving directory `/home/davinci/dvsdk_1_40_00_31/dmai_1_10_00_06'
make: *** [dmai] Error 2
[EMAIL PROTECTED]:~/dvsdk_1_40_00_31$ 


Rules.make:

#
# This make variable must be set before the demos or examples # can be built.  
It must be set to either dm355, dm6446 or dm6467 #
PLATFORM=dm6467
ifndef PLATFORM
   $(error PLATFORM must be set in Rules.make to dm355,dm6467, or dm6446 before 
building the demos) endif

# The installation directory of the DVSDK  dvsdk_1_40_00_31.
DVSDK_INSTALL_DIR=${HOME}/dvsdk_1_40_00_31

# For backwards compatibility
DVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)

# Where the Davinci Multimedia Application Interface is installed
DMAI_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dmai_1_10_00_06

# Where the Codec Engine package is installed.
CE_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codec_engine_2_10_01

# Where the XDAIS package is installed.
XDAIS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdais_6_10_01

# Where the DSP Link package is installed.
LINK_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dsplink-davinci-v1.50-prebuilt

# Where the CMEM (contiguous memory allocator) package is installed.
CMEM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cmem_2_10

# Where the codec servers are installed (dm6446) or codecs (dm355) ifneq 
($(PLATFORM),dm355)
   CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm6467_dvsdk_combos_1_15
else
   CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/__CODEC_VERS__
endif

# Where the RTSC tools package is installed.
#XDC_INSTALL_DIR=${HOME}/xdc_3_00_06
XDC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdc_3_00_06

# Where Framework Components product is installed
FC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/framework_components_2_10_01

# Where DSP/BIOS is installed
#BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/
BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/bios_5_32_01

# The directory that points to your kernel source directory.
#LINUXKERNEL_INSTALL_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.10_mvl401_LSP_01_30_00_082
LINUXKERNEL_INSTALL_DIR=${HOME}/workdir/lsp/ti-davinci/linux-2.6.10_mvl401_LSP_01_30_00_082

# The prefix to be added before the GNU compiler tools (optionally including # 
path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-".
MVTOOL_DIR=/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le
MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le-

# 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}/workdir/filesys/opt/dvsdk
EXEC_DIR=${HOME}/workdir/filesys/opt/dvsdk/$(PLATFORM)

_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to