Bug#218438: linux-kernel-headers: Video4Linux becomes uncompilable
On Fri, Oct 31, 2003 at 12:22:08PM +0100, Zdenek Kabelac wrote:
> Package: linux-kernel-headers
> Version: 2.5.999-test7-bk-5
> Severity: normal
>
> Hi
>
> It looks to me, that latest package makes some problem when
> compiling application which are doing something with Video4Linux.
>
> As the API is still mostly the same I'm suspecting there
> some serious problems with uncompilability of the headers itself.
>
> Just try to compile packages like mplayer/aviplay/ffmpeg.
>
> Also from my point of view (developer of avifile) these new headers
> contain prohibited C++ keywords inside of them - thus makes them
> hardly compilable with C++ compiler (yes even a C++ program
> might want to use v4l interface)
>
> Someone really should consider to clean all these headers.
>
> Also what's the point to put there zillion of 'warnings' about
> not using kernel headers in user-space apps. when simply there
> is no other way know to me to communicate with v4l interface.
Sure there is: write a set of v4l headers which can be safely included
from userspace. Or you could even copy a set of them which did work.
We're shipping the headers unmodified from the 2.6 kernel. If they're
broken there, then either a userspace version needs to be made or they
need to be fixed.
Also, you didn't give me either a list of headers or any exact error
output, so that doesn't give me much to work with.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: