Problem: On Debian Wheezy Kernel 3.0 the compile of older video4linux (like mjpg-streamer) scripts fails with message, cause linux/videodev.h was replaced by linux/videodev2.h
Error Message at "make" compile: ...linux/videodev.h : no such file or directory
Solution:
- download last sources of mjpg-streamer-experimental and extract to /usr/src/mjpg-streamer/
- sudo cd /usr/src/mjpg-streamer/ and sudo make clean all, if fails then
- sudo apt-cache search videodev.h shows libvideo-ivtv-perl
- sudo aptitude install libvideo-ivtv-perl
- try recompile if fails..
- updatedb && locate videodev.h, shows not found ?? then..
- updatedb && locate videodev2.h, videodev2.h is found? then
- cp /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
- try recompile, if libjpeg errors appear then install
- sudo aptitude install libjpeg62-dev, the development libraries
- recompile..now the webcam should work..