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

Re: Problem Building Kernel Source 2.6.11



On Sun, Aug 21, 2005 at 01:50:32AM -0700, Keith Schweikhard wrote:
> Hello,
> I am trying to build a 2.6.11 kernel with I2C options enabled.  I started the 
> build process using the configuration file I had for my 2.6.10 kernel.  I 
> added the following I2C flags to the existing kernel configuration:
> <M> I2C Support
> <M> I2C Device Interfaces
> <M> Intel 801
> ACPI is selected in the kernel with module support for button, processor, 
> thermal, fan and video.
> 
> I started the build with a make-kpkg clean
> make-kpkg --revision=1.0.0 kernel_image.
> 
> The make process generates the following errors:
> 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

Hi Keith,

2.6.11 does not compile cleanly with gcc-4.0 and is in the process
of being debricated from the debian archive. Please either use
linux-source-2.6.12, or compile with gcc-3.3

-- 
Horms



Reply to: