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.

DVSDK 3.0 - error in compilation

Other Parts Discussed in Thread: OMAP3530

I have downloaded DVSDK 3.0 from the following link. http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_00/latest/index_FDS.html

BIOS, CSL, xcdtools, OMAP35x-PSP-SDK-02.01.03.11 and CGT tools have the same version as mentioned in Rules.make file. While compiling the DVSDK for OMAP3530 EVM (TI linux using 2.6.22 kernel) the following issues have been seen.

 

 

Compiling obj/linux/Cpu.omap3530.o470MV from linux/Cpu.c..
Compiling obj/linux/Display.omap3530.o470MV from linux/Display.c..
Compiling obj/linux/Display_fbdev.omap3530.o470MV from
linux/Display_fbdev.c..
linux/Display_fbdev.c:45:29: error: mach/omapfb.h: No such file or
directory
linux/Display_fbdev.c: In function 'Display_fbdev_create':
linux/Display_fbdev.c:260: error: 'OMAPFB_COLOR_YUV422' undeclared
(first use in this function)
linux/Display_fbdev.c:260: error: (Each undeclared identifier is
reported only once
linux/Display_fbdev.c:260: error: for each function it appears in.)
make[2]: *** [obj/linux/Display_fbdev.omap3530.o470MV] Error 1
make[2]: Leaving directory
`/root/dvsdk_3_00_02_44/dmai_2_00_01_04/packages/ti/sdo/dmai'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/dvsdk_3_00_02_44/dmai_2_00_01_04'
make: *** [dmai] Error 2


I added omapfb.h from 2.6.22.18 kernel the following error occured


linux/omap3530/Framecopy_accel.c:51:32: error: linux/omap_resizer.h: No
such file or directory
linux/omap3530/Framecopy_accel.c: In function 'Framecopy_accel_config':
linux/omap3530/Framecopy_accel.c:78: error: variable 'params' has
initializer but incomplete type
cc1: warnings being treated as errors
linux/omap3530/Framecopy_accel.c:79: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:79: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:80: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:80: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:81: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:81: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:82: error: 'RSZ_INTYPE_YCBCR422_16BIT'
undeclared (first use in this function)
linux/omap3530/Framecopy_accel.c:82: error: (Each undeclared identifier
is reported only once
linux/omap3530/Framecopy_accel.c:82: error: for each function it appears
in.)
linux/omap3530/Framecopy_accel.c:82: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:82: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:83: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:83: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:84: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:84: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:85: warning: excess elements in struct
initializer
linux/omap3530/Framecopy_accel.c:85: warning: (near initialization for
'params')
linux/omap3530/Framecopy_accel.c:86: error: 'RSZ_PIX_FMT_UYVY'
undeclared (first use in this function)
Please help

 

  • Saji said:
    linux/Display_fbdev.c:45:29: error: mach/omapfb.h: No such file or directory

    It sounds like one of your paths in the Rules.make file is not right, this header file does exist within OMAP35x-PSP-SDK-02.01.03.11\src\kernel\linux-02.01.03.11\arch\arm\plat-omap\include\mach so as long as the kernel source tree include path is correct in your Rules.make that header should be properly found. In particular you may want to double check your LINUXKERNEL_INSTALL_DIR value from Rules.make.

  • DVSDK 3.0 is compiled for 2.6.29 kernel. 'make install' command has not given any error or warning messages. When I check the install directory some images and 'ko' files are installed on this directory. There is nothing on 'audio'  and 'video' directory.

    How can I compile and execute sample applications in dmai or demo folders?