camserv fails to build its v4l capture module and thus cannot capture v4l video.
This is due to the v4l headers missing from the kernel package.
Steps to Reproduce:
1. Install kernel 3.0.6
2. Emerge camserv
3. Setup camserv to capture from /dev/video0
camserv fails to run with the error 'cannot load libvideo_v4l.so'
Should have started capturing from /dev/video0
I attempted to include the v4l header file from libv4l2 as per bug with motion (376225), but no go. The libvide_v4l.so library now builds, but on running camserv I now get -
'(V4L) GCAP && GWIN: Invalid argument'
instead, so whilst that is progress, I'm unsure what further work is needed from here.
Please attach build.log
Well, I've fixed this somewhat:
Now it will use libv4l1-videodev.h from media-libs/libv4l instead of linux/videodev.h from linux-headers
The module gets installed:
$ qlist camserv |grep v4l
But that doesn't mean it will run on modern kernels, you need to run something like 2.6.37 to get a kernel that still has Video4Linux version 1
Since 2.6.38 it was removed
So closing this bug now as FIXED, but opening another bug for the package removal
See bug 417333 for removal process. Unless someone is willing to port this from v4l1 to v4l2 (or libv4l's compability libraries).