Skip to contentSkip to conversation

kernel compile error in bootsplash.c

DISCUSSION J. B. 4 participants 6 messages Aug 27, 2005

lore
Share & tools
lore

J. B.

author
#0 lore raw

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

author
#1 lore raw

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?

Quoted 43 lines

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

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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

#2 lore raw
In reply to J. B.
Quoted 4 lines · On Sat, 27 Aug 2005 19:53:35 +0200 (CEST) J. B. wrote:

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

This is in a vendor kernel, right?
So please take it up with that vendor.

Kernels from kernel.org don't contain drivers/video/bootsplash/*

Quoted 26 lines

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

Quoted 8 lines

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
-----------------------------------------------------

---
~Randy

author
#3 lore raw

if got it from
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
and applied some patches

Quoted 56 lines

----------------------------------------
From: Randy.Dunlap <[email protected]>
Sent: Sat Aug 27 20:34:27 CEST 2005
To: J. B. <[email protected]>
Subject: Re: kernel compile error in bootsplash.c

Quoted 4 lines · On Sat, 27 Aug 2005 19:53:35 +0200 (CEST) J. B. wrote:

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

This is in a vendor kernel, right? So please take it up with that vendor.

Kernels from kernel.org don't contain drivers/video/bootsplash/*

Quoted 26 lines

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

Quoted 8 lines

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
-----------------------------------------------------

Quoted 2 lines

---
~Randy

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

#4 lore raw
Quoted 3 lines · J. B.

if got it from
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
and applied some patches

"some patches" could be anything. Please don't waste our time with bug reports for randomly patched kernels.

Lee

#5 lore raw
In reply to J. B.
Quoted 3 lines · J. B.

if got it from
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
and applied some patches

The problem resides in the "some patches" then - as Randy said,
bootsplash.c isn't in kernel.org kernels.

Quoted 45 lines
Quoted 45 lines

----------------------------------------
From: Randy.Dunlap <[email protected]>
Sent: Sat Aug 27 20:34:27 CEST 2005
To: J. B. <[email protected]>
Subject: Re: kernel compile error in bootsplash.c

Quoted 4 lines · On Sat, 27 Aug 2005 19:53:35 +0200 (CEST) J. B. wrote:

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

This is in a vendor kernel, right? So please take it up with that vendor.

Kernels from kernel.org don't contain drivers/video/bootsplash/*

Quoted 25 lines

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

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

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

--alessandro

"Not every smile means I'm laughing inside"

(Wallflowers - "From The Bottom Of My Heart")