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.

Porting to 2.6.37+

Other Parts Discussed in Thread: OMAP3530

 error: implicit declaration of function ‘init_MUTEX_LOCKED’

 error: implicit declaration of function ‘init_MUTEX’

 

Solution: replace init_MUTEX(tmp); by sema_init(tmp, 1); and init_MUTEX_LOCKED(tmp); by sema_init(tmp, 0);

 

cd ~/ti/dvsdk/dvsdk_3_01_00_10/

./local_power_manager_linux_1_24_02_09/packages/ti/bios/power/modules/omap3530/lpm/lpm_driver.c

./linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c

 

 

error: linux/videodev.h not found

 

solution:

In the 2.6.38 kernel (used in Ubuntu Natty), the 'linux/videoinput.h' header file is no longer available. This breaks the compilation.

The fix requires the installation of the 'libv4l-dev' package, which provides a replacement 'libv4l1-videodev.h' header.

 

 

dvsdk lpm sdma dmai