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.

compiling Linux-davinci image

I am using the DM368EVM.., I am trying to get the mt9p031 driver compiled so that I can use Gstreamer.

I am trying to just get the camera running and storing the video on the target, or stream it onto the LCD touch screan that comes with the DM368EVM module.

I follow the instructions at: http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM36x_EVM#Building_and_using_the_MT9P031_CMOS_image_sensor_driver

I am using the latest src from: git clone git://arago-project.org/git/projects/linux-davinci.git linux-davinci

At the tail end after typing "make" I get the error below.

  LD      drivers/media/video/davinci/built-in.o
  CC [M]  drivers/media/video/davinci/vpss.o
drivers/media/video/davinci/vpss.c:28:27: error: mach/hardware.h: No such file or directory
make[4]: *** [drivers/media/video/davinci/vpss.o] Error 1
make[3]: *** [drivers/media/video/davinci] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

How do I solve this error? Or is there another way to stream video from the camera and store it.

Thanx.

Ben