Re: FlyVideo 3000 and Teletext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In an earlier mail Michael Hunold wrote a fix for this error:

[If you want to use the kernel header file "videodev2.h" for user-space 
applications you have to change

 > #include <linux/time.h> /* need struct timeval */

to

 > #ifdef __KERNEL__
 > #include <linux/time.h> /* need struct timeval */
 > #endif

right at the top of "videodev2.h".]



On Sun, Apr 27, 2003 at 08:45:32PM +0200, Ing. Jozef Sakalos wrote:
> Dear Wieslaw,
> 
> Here are some details of alevt compile errors:
> 
> cc -O2 -s -DVERSION=\"1.6.0\" -DWITH_PNG -I/usr/X11R6/include 
> -I/usr/local/include -W   -c -o vbi.o vbi.c
> In file included from videodev2.h:16,
>                  from videodev.h:14,
>                  from vbi.c:9:
> /usr/include/linux/time.h:106: warning: `FD_SET' redefined
> /usr/include/sys/select.h:89: warning: this is the location of the 
> previous definition
> /usr/include/linux/time.h:107: warning: `FD_CLR' redefined
> /usr/include/sys/select.h:90: warning: this is the location of the 
> previous definition
> /usr/include/linux/time.h:108: warning: `FD_ISSET' redefined
> /usr/include/sys/select.h:91: warning: this is the location of the 
> previous definition
> /usr/include/linux/time.h:109: warning: `FD_ZERO' redefined
> /usr/include/sys/select.h:92: warning: this is the location of the 
> previous definition
> vbi.c:58: warning: `VIDIOC_G_FMT' redefined
> videodev2.h:776: warning: this is the location of the previous 
> definition
> In file included from videodev2.h:16,
>                  from videodev.h:14,
>                  from vbi.c:9:
> /usr/include/linux/time.h:9: redefinition of `struct timespec'
> /usr/include/linux/time.h:88: redefinition of `struct timeval'
> vbi.c:35: redefinition of `struct v4l2_vbi_format'
> vbi.c:47: redefinition of `struct v4l2_format'
> vbi.c: In function `setup_dev':
> vbi.c:589: structure has no member named `type'
> vbi.c:589: `V4L2_TYPE_VBI' undeclared (first use in this function)
> vbi.c:589: (Each undeclared identifier is reported only once
> vbi.c:589: for each function it appears in.)
> vbi.c:600: structure has no member named `flags'
> vbi.c:600: `V4L2_FLAG_STREAMING' undeclared (first use in this 
> function)
> vbi.c:623: structure has no member named `offset'
> vbi.c:641: structure has no member named `flags'
> vbi.c:641: `V4L2_FLAG_READ' undeclared (first use in this function)
> make: *** [vbi.o] Error 1
> 

-- 
                                       Robert L. RAKSI
 
   -- The Microsoft of Borg: Patches Are Futile! --





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux