LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-03-2006, 02:50 PM   #16
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600

Of course I forgot one thing. Once you have the CentOS kernel built, you should import that config as basis for your newer kernel version. Any wrong entries should be gone.
Care to give me the exact D/L URI of the CentOS .src.rpm kernel you picked?
 
Old 10-03-2006, 02:59 PM   #17
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
heres the kernel source I started with in the first place http://www.stlhosting.com/kernel-2.6...UP_1.0.src.rpm i keep putting it off a new kernel comes out after posting this a newer one came out since then, why i want to learn how to build RPMs so much simplier to post up an RPM for others to install just cant quit figure out how to make one
 
Old 10-03-2006, 03:40 PM   #18
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
heres the kernel source I started with in the first place
Hmm. That's not a CentOS kernel isn't it? Another idea could be to eyeball the .spec file from a Fedora Core kernel-2.6.17.n .src.rpm and see how they munge stuff.
 
Old 10-03-2006, 06:16 PM   #19
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
That spec file from Fedora Core is huge ill see what I get out of that one.

I tried again on 2.6.18 now I get this

+ unset DISPLAY
+ make bzImage
.config:684:warning: trying to assign nonexistent symbol MD_RAID5
.config:686:warning: trying to assign nonexistent symbol MD_RAID6
.config:1343:warning: trying to assign nonexistent symbol STACK_BACKTRACE_COLS
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/config/auto.conf] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67688 (%build)
Bad exit status from /var/tmp/rpm-tmp.67688 (%build)

however if I went in to build it manually using make bzImage it builds fine
 
Old 10-04-2006, 07:27 AM   #20
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
however if I went in to build it manually using make bzImage it builds fine
Well, that certainly seems a step ahead...
 
  


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
need help using rpmbuild. dr_zayus69 Linux - Software 3 04-24-2005 08:49 AM
what should do after rpmbuild? joirnange Linux - Newbie 3 01-15-2005 05:23 AM
summary and description substitutions when doing rpmbuild of Kernel dillybat Programming 0 01-14-2005 12:32 PM
rpmbuild ?? mickeyboa Fedora 1 07-25-2004 10:09 PM
rpmbuild linuxdev Linux - Newbie 1 02-18-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:12 PM.

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