Bug#324368: kernel-source-2.6.10: kernel doesn't build (gcc 4.0, fbmem.c / fb.h)
On Sun, Aug 21, 2005 at 09:26:13PM +0200, Alexandre Pineau wrote:
> Package: kernel-source-2.6.10
> Version: 2.6.10-6
> Severity: important
>
> I cannot build the kernel 2.6.10 with gcc 4.0.1-3 and
> linux-kernel-headers_2.6.13+0rc3-1.1_i386.deb.
>
> I have the following error:
>
> In file included from drivers/video/fbmem.c:48:
> include/linux/fb.h:860: error: array type has incomplete element type
> drivers/video/fbmem.c: In function 'fb_get_buffer_offset':
> drivers/video/fbmem.c:178: warning: pointer targets in initialization
> differ in signedness
> make[2]: *** [drivers/video/fbmem.o] Error 1
>
> I dont know if it's an issue in gcc, in the kernel or in kernel headers.
Its an issue with the kernel. 2.6.10 does not compile cleanly
with gcc-4.0. 2.6.10 is being debricated and is no longer supported,
please consider using 2.6.12 or later. If you really need to
compile 2.6.10 for some reason, please use gcc-3.3.
Thanks
--
Horms
Reply to: