Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile kernel with bootsplash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
m0llbuz_
n00b
n00b


Joined: 30 Jan 2003
Posts: 21

PostPosted: Tue Feb 04, 2003 1:33 am    Post subject: Can't compile kernel with bootsplash Reply with quote

I have tried this tip:

Boot Splash (background pic ala Suse) TIP of the YEAR!
https://forums.gentoo.org/viewtopic.php?t=26494

I have done everything described in the first post with the kernel gentoo-sources-2.4.19-rc10, but I get this error when compiling:

Code:
In file included from fbcon-splash.c:26:
fbcon-jpegdec.h:41: redefinition of `struct jpeg_decdata'
fbcon-jpegdec.h:65: redefinition of `struct jpeg_decdata'
In file included from fbcon-splash.c:507:
fbcon-jpegdec.h:17: redefinition of `struct jpeg_decdata'
fbcon-jpegdec.h:41: redefinition of `struct jpeg_decdata'
fbcon-jpegdec.h:65: redefinition of `struct jpeg_decdata'
fbcon-splash.c:512: redefinition of `signature'
fbcon-splash.c:31: `signature' previously defined here
fbcon-splash.c:522: redefinition of `linux_splash_size'
fbcon-splash.c:41: `linux_splash_size' previously defined here
fbcon-splash.c:523: redefinition of `decdata'
fbcon-splash.c:42: `decdata' previously defined here
fbcon-splash.c:526: redefinition of `splash_shown'
fbcon-splash.c:45: `splash_shown' previously defined here
fbcon-splash.c:528: redefinition of `splash_default'
fbcon-splash.c:47: `splash_default' previously defined here
fbcon-splash.c:535: redefinition of `splash_init'
fbcon-splash.c:54: `splash_init' previously defined here
fbcon-splash.c:540: redefinition of `__setup_str_splash_init'
fbcon-splash.c:59: `__setup_str_splash_init' previously defined here
fbcon-splash.c:540: redefinition of `__setup_splash_init'
fbcon-splash.c:59: `__setup_splash_init' previously defined here
fbcon-splash.c:544: redefinition of `penguin_off'
fbcon-splash.c:63: `penguin_off' previously defined here
fbcon-splash.c:578: redefinition of `splash_check_jpeg'
fbcon-splash.c:97: `splash_check_jpeg' previously defined here
fbcon-splash.c:598: redefinition of `splash_getraw'
fbcon-splash.c:117: `splash_getraw' previously defined here
fbcon-splash.c:750: redefinition of `splash_prepare'
fbcon-splash.c:270: `splash_prepare' previously defined here
fbcon-splash.c:821: redefinition of `splash_read_proc'
fbcon-splash.c:340: `splash_read_proc' previously defined here
fbcon-splash.c:839: redefinition of `splash_recolor'
fbcon-splash.c:358: `splash_recolor' previously defined here
fbcon-splash.c:859: redefinition of `splash_status'
fbcon-splash.c:378: `splash_status' previously defined here
fbcon-splash.c:893: redefinition of `splash_write_proc'
fbcon-splash.c:412: `splash_write_proc' previously defined here
fbcon-splash.c:947: redefinition of `splash_proc_register'
fbcon-splash.c:466: `splash_proc_register' previously defined here
fbcon-splash.c:957: redefinition of `splash_proc_unregister'
fbcon-splash.c:476: `splash_proc_unregister' previously defined here
In file included from fbcon-splash.c:988:
fbcon-jpegdec.h:17: redefinition of `struct jpeg_decdata'
fbcon-jpegdec.h:41: redefinition of `struct jpeg_decdata'
fbcon-jpegdec.h:65: redefinition of `struct jpeg_decdata'
fbcon-splash.c:993: redefinition of `signature'
fbcon-splash.c:512: `signature' previously defined here
fbcon-splash.c:1003: redefinition of `linux_splash_size'
fbcon-splash.c:522: `linux_splash_size' previously defined here
fbcon-splash.c:1004: redefinition of `decdata'
fbcon-splash.c:523: `decdata' previously defined here
fbcon-splash.c:1007: redefinition of `splash_shown'
fbcon-splash.c:526: `splash_shown' previously defined here
fbcon-splash.c:1009: redefinition of `splash_default'
fbcon-splash.c:528: `splash_default' previously defined here
fbcon-splash.c:1016: redefinition of `splash_init'
fbcon-splash.c:535: `splash_init' previously defined here
fbcon-splash.c:1021: redefinition of `__setup_str_splash_init'
fbcon-splash.c:540: `__setup_str_splash_init' previously defined here
fbcon-splash.c:1021: redefinition of `__setup_splash_init'
fbcon-splash.c:540: `__setup_splash_init' previously defined here
fbcon-splash.c:1025: redefinition of `penguin_off'
fbcon-splash.c:544: `penguin_off' previously defined here
fbcon-splash.c:1059: redefinition of `splash_check_jpeg'
fbcon-splash.c:578: `splash_check_jpeg' previously defined here
fbcon-splash.c:1079: redefinition of `splash_getraw'
fbcon-splash.c:598: `splash_getraw' previously defined here
fbcon-splash.c:1231: redefinition of `splash_prepare'
fbcon-splash.c:751: `splash_prepare' previously defined here
fbcon-splash.c:1302: redefinition of `splash_read_proc'
fbcon-splash.c:821: `splash_read_proc' previously defined here
fbcon-splash.c:1320: redefinition of `splash_recolor'
fbcon-splash.c:839: `splash_recolor' previously defined here
fbcon-splash.c:1340: redefinition of `splash_status'
fbcon-splash.c:859: `splash_status' previously defined here
fbcon-splash.c:1374: redefinition of `splash_write_proc'
fbcon-splash.c:893: `splash_write_proc' previously defined here
fbcon-splash.c:1428: redefinition of `splash_proc_register'
fbcon-splash.c:947: `splash_proc_register' previously defined here
fbcon-splash.c:1438: redefinition of `splash_proc_unregister'
fbcon-splash.c:957: `splash_proc_unregister' previously defined here
{standard input}: Assembler messages:
{standard input}:47: Error: symbol `signature' is already defined
{standard input}:53: Error: symbol `linux_splash_size' is already defined
{standard input}:58: Error: symbol `decdata' is already defined
{standard input}:64: Error: symbol `splash_shown' is already defined
{standard input}:70: Error: symbol `splash_default' is already defined
{standard input}:75: Error: symbol `__setup_str_splash_init' is already defined
{standard input}:81: Error: symbol `__setup_splash_init' is already defined
{standard input}:88: Error: symbol `signature' is already defined
{standard input}:94: Error: symbol `linux_splash_size' is already defined
{standard input}:99: Error: symbol `decdata' is already defined
{standard input}:105: Error: symbol `splash_shown' is already defined
{standard input}:111: Error: symbol `splash_default' is already defined
{standard input}:116: Error: symbol `__setup_str_splash_init' is already defined
{standard input}:122: Error: symbol `__setup_splash_init' is already defined
make[3]: *** [fbcon-splash.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10/drivers'
make: *** [_dir_drivers] Error 2


Should I try the bootsplash ebuild instead? I noticed it's been masked.

Cheers
_________________
I used up all my sick days, so I'm calling in dead.
Back to top
View user's profile Send private message
Spack
n00b
n00b


Joined: 02 Feb 2003
Posts: 32

PostPosted: Tue Feb 04, 2003 2:13 am    Post subject: Reply with quote

There is an ebuild for this now. Try that. Details in the thread you quoted.
Back to top
View user's profile Send private message
m0llbuz_
n00b
n00b


Joined: 30 Jan 2003
Posts: 21

PostPosted: Tue Feb 04, 2003 3:55 pm    Post subject: Reply with quote

Found the problem. I had patched the same source files 3 or 4 times.. :oops: I edited the patch file with emacs at first, and got a bunch of errors when I applied the patch.

Guess I have to read some more about the portage system. I thought "emerge gentoo-sources" would re-install the sources, because emerge unpacked the kernel source tarball again, and the file timestamps were changed in the source tree.

Darth Vader is grinning at me at boot now! :P
_________________
I used up all my sick days, so I'm calling in dead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum