Re: kernel compile error in bootsplash.c

From: J. B.
Date: Sat Aug 27 2005 - 13:21:25 EST


I googled some more and seem to have found the reason of the error:

http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html

It is related to gcc 4.0 which indeed i did an apt-get update for.

But is there a patch avail for my 2.6.10 kernel-source?


>
> I try to compile a 2.6.10 kernel but it stops with an error
> in bootsplash.c. I have everything set in my .config file in /usr/src/linux for bootsplash support.
>
> Anybody an idea. Where should i start to look? I am a newbie in kernel world
>
> in file included from drivers/video/bootsplash/bootsplash.c:18:
> include/linux/fb.h:869: error: array type has incomplete element type
> drivers/video/bootsplash/bootsplash.c:37: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:38: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:39: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:40: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:41: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:42: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:43: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:44: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:45: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:46: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:47: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:48: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:49: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:50: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c:52: warning: pointer targets in initialization differ in signedness
> drivers/video/bootsplash/bootsplash.c: In function 'splash_verbose':
> drivers/video/bootsplash/bootsplash.c:572: warning: pointer targets in passing argument 1 of 'splashcopy' differ in signedness
> drivers/video/bootsplash/bootsplash.c:572: warning: pointer targets in passing argument 2 of 'splashcopy' differ in signedness
> drivers/video/bootsplash/bootsplash.c: In function 'splash_prepare':
> drivers/video/bootsplash/bootsplash.c:642: warning: pointer targets in passing argument 1 of 'splashcopy' differ in signedness
> drivers/video/bootsplash/bootsplash.c: In function 'splash_write_proc':
> drivers/video/bootsplash/bootsplash.c:788: warning: pointer targets in passing argument 1 of 'boxit' differ in signedness
> drivers/video/bootsplash/bootsplash.c:789: warning: pointer targets in passing argument 1 of 'boxit' differ in signedness
> make[5]: *** [drivers/video/bootsplash/bootsplash.o] Error 1
> make[4]: *** [drivers/video/bootsplash] Error 2
> make[3]: *** [drivers/video] Error 2
> make[2]: *** [drivers] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.10'
> make[1]: *** [stamp-build] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.10'
> make: *** [stamp-buildpackage] Error 2
> -----------------------------------------------------
> Mail.be, WebMail and Virtual Office
> http://www.mail.be
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/