missing videodev.h

Johan Ribenfors
I'm having problems compiling the mini2440 firmware with udev enabled.

Without udev it works fine.

With udev I get an error about a missing videodev.h.  And it's correct,
videodev.h doen't exist, and from reading online it appears to have been
replaced by videodev2.h.  This does exist, and is also required by udev.

It isn't a typo, as removing the videodev.h include results in more compile
errors.

I'm using the 2011.11.1 toolchain and bsp. I've tried 2011.11.0 as well,
but had the same problem.

I've tried kernels 2.6.39 and 3.1.1.

Enabling kernel-headers didn't produce the file in either case.

How do I fix this?


--------------------
target: udev.compile
--------------------

make[1]: Entering directory
`/home/johan/bsp/platform-mini2440/build-target/udev-162'
make --no-print-directory all-recursive
Making all in .
  CC     libudev/libudev-list.lo
  CC     libudev/libudev.lo
  CC     libudev/libudev-util.lo
  CC     libudev/libudev-device.lo
  CC     libudev/libudev-enumerate.lo
  CC     libudev/libudev-monitor.lo
  CC     libudev/libudev-queue.lo
  CC     libudev/libudev-ctrl.lo
  CC     libudev/libudev-device-private.lo
  CC     libudev/libudev-util-private.lo
  CC     libudev/libudev-queue-private.lo
  CC     extras/firmware/extras_firmware_firmware-firmware.o
  CC     extras/ata_id/ata_id.o
  CC     extras/collect/collect.o
  CC     extras/cdrom_id/cdrom_id.o
  CC     extras/edd_id/edd_id.o
  CC     extras/floppy/create_floppy_devices.o
  CC     extras/input_id/input_id.o
  CC     extras/path_id/path_id.o
  CC     extras/fstab_import/fstab_import.o
  CC     extras/scsi_id/scsi_id.o
  CC     extras/scsi_id/scsi_serial.o
  CC     extras/usb_id/usb_id.o
  CC     extras/v4l_id/v4l_id.o
extras/v4l_id/v4l_id.c:31:28: fatal error: linux/videodev.h: No such file
or directory
compilation terminated.
make[3]: *** [extras/v4l_id/v4l_id.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

davef
You might get a faster response posting here:

Community Mailing List for PTXdist Reference Platforms ()
http://blog.gmane.org/gmane.comp.embedded.ptxdist.oselas.community

You could also search that site.  I have seen some recent changes to udev
stuff in PTXdist