LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2004, 11:03 AM   #1
jai_joy
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Rep: Reputation: 0
Kernel 2.6.9 make error (after bootsplash patch)


Hi,
I am trying to compile my kernel 2.6.9 (on a Slack 10) and after trying to patch the kernel when I run make all... I get this after some time....

CC drivers/char/vt.o
drivers/char/vt.c:3303: error: redefinition of `con_remap_def_color'
drivers/char/vt.c:3278: error: `con_remap_def_color' previously defined here
make[2]: *** [drivers/char/vt.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2


Google has resulted in nothing....
please help....

thanx in advance....

jai
 
Old 12-06-2004, 11:40 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

what patch did u use???
also did the source work fine without the patches??


regards
 
Old 12-06-2004, 12:54 PM   #3
jai_joy
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Kernel 2.6.9 + bootsplash patch

Hi,
I used the patch availabe with the bootsplash package for Slackware available at www.linuxpackages.net made by pcxz. The patch actually said at quite a few places that the hunk failed

My machine is working beautifully with the old config. (I did back up the old kernel config)there are no probs with the old config.

Jai
 
Old 12-06-2004, 01:03 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
ok
so how did u patch ur kernel
what command did u run

regards
 
Old 12-06-2004, 01:28 PM   #5
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Re: Kernel 2.6.9 + bootsplash patch

Quote:
Originally posted by jai_joy
Hi,
I used the patch availabe with the bootsplash package for Slackware available at www.linuxpackages.net made by pcxz. The patch actually said at quite a few places that the hunk failed

My machine is working beautifully with the old config. (I did back up the old kernel config)there are no probs with the old config.

Jai
If the patch failed to be applied then that's most likely your problem. You sure the patch you used is for the 2.6.9 kernel? If it's not, then you'll most likely have to manually add the patch to get it to work.
 
Old 12-06-2004, 01:48 PM   #6
jai_joy
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Kernel 2.6.9 + Bootsplash

Hi,
There was no patch for 2.6.9 so I applied the patch for 2.6.8.1...
I also applied the patch 2.6.9-rc4 from bootsplash.de
that also didnt work...

I applied the patch using the command (in /usr/src/linux)
patch -p1 < /d/usr/doc/bootsplash/kernel-patch/boot......2.6.9-rc4.diff

Thanks again for all the help...

jai

Last edited by jai_joy; 12-06-2004 at 01:50 PM.
 
Old 12-06-2004, 01:55 PM   #7
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Yeah, that's not going to work. The linux kernel changes drastically from one version to the next thereby the source code within it also changes. The patch program works by finding a certain area of the source file and adding the code in that spot. If that area changes or moves then the patch program usually has no idea how to apply the patch so it aborts. You'll need to wait until someone updates the patches for the 2.6.9 kernel, manually apply them yourself to the kernel sources, or use a kernel that a patch is available for.
 
Old 12-06-2004, 02:19 PM   #8
jai_joy
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks DaHammer...
I guess I will have to wait for someone to work...on the patch...
in the meantime... I am still using 2.6.9 on Slack 10 and that runs beautifully without any problems...

neways.... thanks a lot for the help...to you and masand too....

jai
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bootsplash kernel patch for 2.6.12 wil not work CPUFreak91 Linux - Software 2 09-10-2005 01:35 PM
Orinoco 0-13e patch - make error on Debian 2.4.27 ELSmith Linux - Wireless Networking 3 08-23-2005 04:19 PM
error compiling kernel 2.6.6 with bootsplash patch nagromo Debian 2 12-18-2004 10:51 PM
Patch 2.5.4 for LFS 5.0 error at make. vexer Linux From Scratch 1 11-20-2003 10:19 AM
Kernel Compile error after applyin bootsplash patch h1tman Slackware 0 10-06-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration