[Kstars-devel] compile error in webcam
Jasem Mutlaq
mutlaqja at ikarustech.com
Mon Apr 17 23:07:55 CEST 2006
--- Jason Harris <kstars at 30doradus.org> wrote:
> Hi,
>
> As a workaround, I just made the following change:
>
> Index: videodev2.h
>
===================================================================
> --- videodev2.h (revision 530804)
> +++ videodev2.h (working copy)
> @@ -484,7 +484,8 @@
> * A N A L O G V I D E O S T A N D A R D
> */
>
> -typedef __u64 v4l2_std_id;
> +//typedef __u64 v4l2_std_id;
> +typedef unsigned long long v4l2_std_id;
>
> /* one bit for each */
> #define V4L2_STD_PAL_B
> ((v4l2_std_id)0x00000001)
>
>
> But, I guess that is probably not portable to all
> architectures...
__u64 and friends apparently cannot be used in 'user
space'. I had to 'clean' the videodev2.h header, which
is designed for kernel space to be used in user space.
Not sure about portability.
Cheers,
Jasem
More information about the Kstars-devel
mailing list