udev with the linux-2.6.38 kernel headers

Andrew Benton b3nton at gmail.com
Sun Mar 20 15:55:47 PDT 2011


Hello World!
I recently tried compiling using the current stable kernel headers
(2.6.38) and udev failed to compile like so:

  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[2]: *** [extras/v4l_id/v4l_id.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
andy:~/udev-166$ 

The attached patch fixes the problem
(mostly from upstream http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=4ace8a43ac2cbbd4d6f5c29fc461c3caa8f8545b)

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udev-166-with-2.6.38.patch
Type: application/octet-stream
Size: 1101 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20110320/4522061a/attachment.obj>


More information about the lfs-dev mailing list