Bug#323788: kernel-source-2.6.11: Won't build with gcc-4.0
Package: kernel-source-2.6.11
Version: 2.6.11-7
Severity: normal
make-kpkg fails thus:
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
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages kernel-source-2.6.11 depends on:
ii binutils 2.16.1-2 The GNU assembler, linker and bina
ii bzip2 1.0.2-8 high-quality block-sorting file co
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
Versions of packages kernel-source-2.6.11 recommends:
ii gcc 4:4.0.1-3 The GNU C compiler
ii libc6-dev [libc-dev] 2.3.5-3 GNU C Library: Development Librari
ii make 3.80-10 The GNU version of the "make" util
-- no debconf information
Reply to: