Bug#325014: Bug#325006: kernel-source 2.6.11 fails to compile with kernel-package on AMD64
merge 325006 325004 325011 325014
tag 325006 +wontfix
tag 325004 +wontfix
tag 325011 +wontfix
tag 325014 +wontfix
thanks
On Thu, Aug 25, 2005 at 02:42:50PM +0000, Howard Shane wrote:
> Package: kernel-source-2.6.11
> Version: 2.6.11-7
>
> I get the following error upon attempting to compile using make-kpkg:
>
> In file included from fs/compat_ioctl.c:69,
> from arch/x86_64/ia32/ia32_ioctl.c:14:
> include/linux/i2c.h:58: error: array type has incomplete element type
> include/linux/i2c.h:197: error: array type has incomplete element type
> make[2]: *** [arch/x86_64/ia32/ia32_ioctl.o] Error 1
> make[1]: *** [arch/x86_64/ia32] Error 2
> make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
> make: *** [stamp-build] Error 2
>
> on a fresh install of amd64 unstable branch.
Hi Howard,
This problem is is caused by 2.6.11 not being able to be compiled
by gcc-4.0 which is the default compiler. You can resolve this problem
by compiling with gcc-3.3. And this can be achived by installing
gcc-3.3 and editing the top-level Makefile in the kenrel tree to
replace instances of gcc with gcc-3.3. This problem has already
been resolved upstream in 2.6.12, and you are encoraged
to use linux-source-2.6.12 if possible as 2.6.11 is debricated
and will soon be removed from the archive.
--
Horms
Reply to: