Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to compile Flashcam 1.4.5 from source on Lubuntu 13.04, but it complains:

cc -g -shared -fPIC -o flashcamhook.c
flashcamhook.c:31:28: fatal error: linux/videodev.h: No such file or directory

I have linux-headers-generic installed along with the headers for my current kernel (3.8.0-23-generic). I have installed libv4l-0,libv4lconvert0 and libv4l-dev. Build-essentials is installed.

I tried sym-linking (with absolute paths) videodev.h to libv4l1-videodev.h, then to videodev2.h, but this doesn't help either.

Working directory is /tmp/flashcam-1.4.5 .

What am I missing? Any ideas?

share|improve this question
What directories are you doing this in? Have you linked with absolute paths? – belacqua Jun 7 '13 at 17:01
I'm working in /tmp. When linking, I used absolute paths. – solt87 Jun 7 '13 at 17:27
up vote 0 down vote accepted

Looks like its not possible to find videodev.h because it has been replaced with videodev2.h. More info, here

On my machine, I see this

/usr/src$ find . -name videodev*
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.