On Thu, Aug 11, 2005 at 02:48:30AM +0100, ctrlER wrote: > Hi, I'm getting the folowing errors when compiling the kernel. > > 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[3]: *** [drivers/i2c/i2c-core.o] Error 1 > make[2]: *** [drivers/i2c] Error 2 > make[1]: *** [drivers] Error 2 > make[1]: Leaving directory `/usr/src/kernel-source-2.6.11' > make: *** [stamp-build] Error 2 > [EMAIL PROTECTED]:/usr/src/linux# > > Any ideas?
At a guess, try compiling with gcc-3.3 instead of gcc-4.0. But unless you have a burning desire to use kernel-source-2.6.11, please try linux-source-2.6.12 which is now in the archive supplied by the linux-2.6 source package. -- Horms -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

