[ivtv-devel] linux/ivtv.h:48: error: expected ':', ',', '; ', '}' or?'__attribute__' before '*' token

Axel Thimm Axel.Thimm at ATrpms.net
Mon Aug 11 13:25:37 CEST 2008


On Mon, Aug 11, 2008 at 01:59:10PM +0300, Axel Thimm wrote:
> On Mon, Aug 11, 2008 at 08:05:48AM +0200, Hans Verkuil wrote:
> > On Monday 11 August 2008 06:47:20 Axel Thimm wrote:
> > > linux/ivtv.h:48: error: expected ':', ',', ';', '}' or
> > > '__attribute__' before '*' token
> > >

> > Which kernel will fedora 10 be using? 2.6.27? Since that kernel strips 
> > __user from headers when it installs them.
> 
> Yes, it will be 2.6.27, currently at 2.6.27rc2.git1.
> 
> > That means that when ivtv.h is included the #define __user in 
> > videodev2.h was also stripped so the __user attribute as used in ivtv.h 
> > is no longer known and the compiler trips on that. The fix is to remove 
> > __user from ivtv.h.
> 
> OK, thanks! I'll do that conditionally for F10 upwards.

Or would it hurt stripping __user always, e.g. for F9 (2.6.25.x based)
as well?
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://ivtvdriver.org/pipermail/ivtv-devel/attachments/20080811/ceb67d50/attachment.bin 


More information about the ivtv-devel mailing list