[linux-dvb] Compilation issues in kernel 2.6.18

Mauro Carvalho Chehab mchehab at infradead.org
Mon Oct 23 05:00:33 CEST 2006

Em Dom, 2006-10-22 às 16:01 +0100, Peter Siepmann escreveu:
> Julian Scheel wrote:
> > Am Sonntag, 22. Oktober 2006 16:33 schrieb Peter Siepmann:
> >> make bzImage worked fine but make modules finds compilation errors in
> >> drivers/media/common/saa7146_i2c.c and bails out.  Is this a noted
> >> problem?  Is there a corrected version of this file out there somewhere?
> > 
> > Please post the exact error message, without it'll be hard to help you.
> In file included from drivers/media/common/saa7146_i2c.c:2:
> include/media/saa7146_vv.h:187: warning: ‘struct video_device’ declared 
> inside parameter list
> include/media/saa7146_vv.h:187: warning: its scope is only this 
> definition or declaration, which is probably not what you want
> include/media/saa7146_vv.h:188: warning: ‘struct video_device’ declared 
> inside parameter list
> drivers/media/common/saa7146_i2c.c:397: error: unknown field ‘name’ 
> specified in initializer
> drivers/media/common/saa7146_i2c.c:397: warning: initialization from 
> incompatible pointer type
> drivers/media/common/saa7146_i2c.c:398: error: unknown field ‘id’ 
> specified in initializer
> drivers/media/common/saa7146_i2c.c:398: error: ‘I2C_ALGO_SAA7146’ 
> undeclared here (not in a function)
Hmm... I suspect you didn't enabled I2C or V4L support. Can you post
your .config file? Are you compiling just the kernel 2.6.18 or kernel +
v4l-dvb hg tree? 


More information about the linux-dvb mailing list