Re: NVrec - V4L1 interface ( does mmap() work with bttv 0.8.16? )

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



> > /usr/include/linux/videodev.h:942: warning: `struct file' declared inside parameter list
> > /usr/include/linux/videodev.h:942: warning: its scope is only this definition or declaration, which is probably not what you want.
> > /usr/include/linux/videodev.h:942: warning: `struct inode' declared inside parameter list
> > make: *** [QTrec] Error 1
> > 
> > This may be caused by me doing something wrong when patching the
> > kernel.
>  
>  That is strange.  I am pretty sure 'struct  file' and 'struct inode'
>  should never be visible to userland compiles. Gerd, could you please
>  have a look at this (please let me know if this is actually a fault on
>  my side)?

The #endif /* ifdef __KERNEL__ */ in videodev.h needs to be moved
down a few lines.  Those parts of the include file indead shouldn't
be visible to userland.

  Gerd

-- 
Gerd Knorr <kraxel@xxxxxxxxxxx>





[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