Unix Technical Forum

kernel compiling

This is a discussion on kernel compiling within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, Because i would like to use software-suspend 2.0, i have to patch and recompile the kernel. I've slack ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:46 PM
Jeroen Wolff
 
Posts: n/a
Default kernel compiling

Hi,

Because i would like to use software-suspend 2.0, i have to patch
and recompile the kernel. I've slack 10.0 with 2.4.26 installed (incl.
source) What i would like is to have a .config file wich produce the same
kernel as it is installed with package kernel-ide-2.4.26-i486-4
Does anybody knows where i can find the .config where the kernel-ide is
compiled with.
Thanks!!

Jeroen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:46 PM
Kai Brust
 
Posts: n/a
Default Re: kernel compiling

Jeroen Wolff <jeroen@studiowolff.com> schrieb:
> Hi,
>
> Because i would like to use software-suspend 2.0, i have to patch
> and recompile the kernel. I've slack 10.0 with 2.4.26 installed (incl.
> source) What i would like is to have a .config file wich produce the same
> kernel as it is installed with package kernel-ide-2.4.26-i486-4
> Does anybody knows where i can find the .config where the kernel-ide is
> compiled with.
> Thanks!!


/usr/src/linux/.config and
/boot/config-ide-2.4.26
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:46 PM
Jeroen Wolff
 
Posts: n/a
Default Re: kernel compiling

Thanks.
I've copied /boot/config-ide-2.4.26 to /usr/src/linux/.config
and did a make dep and a make
But there is an error:

rd.c:88: error: `CONFIG_BLK_DEV_RAM_SIZE' undeclared here (not in a
function)

Is there something i can do about it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:46 PM
Kai Brust
 
Posts: n/a
Default Re: kernel compiling

Jeroen Wolff <jeroen@studiowolff.com> schrieb:
> Thanks.
> I've copied /boot/config-ide-2.4.26 to /usr/src/linux/.config
> and did a make dep and a make
> But there is an error:
>
> rd.c:88: error: `CONFIG_BLK_DEV_RAM_SIZE' undeclared here (not in a
> function)
>
> Is there something i can do about it?


You need to run "make oldconfig" first, then continue with the usual
steps to compile the kernel.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com