Problem Building Kernel Source 2.6.11
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
The software versions are as follows:
binutils 2.16.1-2
bzip2 1.0.2-8
coreutils 5.0.2-2
libc6-dev 2.3.5-4
kernel-package 9.006
gcc 4.0.2
ld 2.16.1
make 3.82
make-kpkg 1.92
Is there something I have overlooked in my configuration that is causing this
to fail?
[Note: The kernel will build without the I2C flags enabled in the kernel.]
Reply to: