The kernel version is 2.6.11.12 and Gcc version is 4.0.0 the error is given below CC [M] drivers/i2c/i2c-core.o In file included from drivers/i2c/i2c-core.c:29: include/linux/i2c.h:58: error: array type has incomplete element type include/linux/i2c.h:197: error: array type has incomplete element type drivers/i2c/i2c-core.c: In function ?i2c_transfer?: drivers/i2c/i2c-core.c:594: error: type of formal parameter 2 is incomplete drivers/i2c/i2c-core.c: In function ?i2c_master_send?: drivers/i2c/i2c-core.c:620: error: type of formal parameter 2 is incomplete drivers/i2c/i2c-core.c: In function ?i2c_master_recv?: drivers/i2c/i2c-core.c:649: error: type of formal parameter 2 is incomplete make[2]: *** [drivers/i2c/i2c-core.o] Error 1 make[1]: *** [drivers/i2c] Error 2 make: *** [drivers] Error 2 Best Ashok --- Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote: > On Thu, 2006-05-04 at 16:14 +0100, Ashok Sharma > wrote: > > There is a problem with Gcc4 and Kernel > build/compile. > > > most 2.6 kernels I tried compile just fine with > gcc4.x.... > > you need to be more specific, which exact kernel and > what is the exact > problem (just cut and paste) you have? > > ___________________________________________________________ NEW - Yahoo! 360 ? Your one place to blog, create, publish and share! http://uk.360.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/