Bug#232107: linux-kernel-headers: linux/videodev2.h:432 gives syntax errors with gcc-3.2 and 3.3
On Tue, Feb 10, 2004 at 11:31:13PM +0100, Achim Bohnet wrote:
> Package: linux-kernel-headers
> Version: 2.5.999-test7-bk-15
> Severity: normal
>
> *** Please type your report below this line ***
>
> I've tried on sarge to build konference app and run during build into
> the following problem:
>
> In file included from /usr/include/linux/videodev.h:8,
> from /usr/include/ptlib/unix/ptlib/videoio.h:106,
> from /usr/include/ptlib/video.h:83,
> from /usr/include/ptlib/unix/ptlib/video.h:66,
> from /usr/include/ptlib.h:267,
> from ../konference_part.h:8,
> from configdialog.cpp:32:
> /usr/include/linux/videodev2.h:432: error: syntax error before `;' token
> /usr/include/linux/videodev2.h:500: error: 'v4l2_std_id' is used as a
> type, but
> is not defined as a type.
> /usr/include/linux/videodev2.h:518: error: syntax error before `;' token
> /usr/include/linux/videodev2.h:555: error: syntax error before `;' token
>
> I've tried with gcc-3.2 and gcc-3.3 as well as with libpt-dev 1.4.11
> and 1.5.2. Always the same. Because konference compiles on other distros,
> according to kde-apps.org comments, I'll assume that it's a problem
> with debian kernel headers.
Details:
What compiler options?
What other headers are included?
I bet this is another of those g++ -ansi -pedantic programs. That
causes Linux headers not to define u64 - correctly, because in strict
ANSI mode 64-bit integers are not required to be supported. I have no
idea how you expect to use an interface with 64-bit data members in a
compilation mode which does not support 64-bit numbers without a
warning.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: