I'm trying to install AVLD 1.4 on Natty.
I've unpacked the files, but when I compile them with make
, it fails:
make -C /lib/modules/2.6.38-8-generic-pae/build M=/home/jmendeth/Downloads/avld_0.1.4 modules make[1]: entering «/usr/src/linux-headers-2.6.38-8-generic-pae» CC [M] /home/jmendeth/Downloads/avld_0.1.4/video_device.o /home/jmendeth/Downloads/avld_0.1.4/video_device.c:23:28: fatal error: linux/videodev.h: No such file or directory compilation terminated. make[2]: *** [/home/jmendeth/Downloads/avld_0.1.4/video_device.o] Error 1 make[1]: *** [_module_/home/jmendeth/Downloads/avld_0.1.4] Error 2 make[1]: leaving «/usr/src/linux-headers-2.6.38-8-generic-pae» make: *** [all] Error 2
I have tried to install libv4l-0
and libv4l-dev
, but still the same error.
If I replace linux/videodev.h
with linux/videodev2.h
on the file, a lot of errors pop out.
Any ideas?
Best Answer
AVLD doesn't appear to be maintained anymore.
A similar video loopback package exists in the repositories which you can install - its called
v4l2loopback-source
.Auto Install
First from a terminal, drop to a root shell
If you havent installed kernel modules before with module-assistant run the following from a terminal
Finally - download and install
v4l2loopback
Manual Install
Download the package - once installed it can be found in
/usr/src/v4l2loopback.tar.bz2
Copy the package to, for example your ~/Downloads folder compile and install
This will create a /dev/video0 or /dev/video1 (etc) device.