LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   BIG problems trying to compile a new kernel (https://www.linuxquestions.org/questions/linux-general-1/big-problems-trying-to-compile-a-new-kernel-134758/)

ludwig W 01-14-2004 11:33 AM

BIG problems trying to compile a new kernel
 
Hi,

I read a thousand HOWTO's about making a new kernel and I just can't seem to do it and was wondering if someone could tell me where I'm going wrong.

I've got a fresh install of RH9 and have installed a new kernel source (2.5.75).
I've made a new symlink ln -s /usr/src/linux-x.x.x /usr/src/
then I do make mrproper
then make xconfig
I then load one of the .configs that came with the RH9 kernel source since I figure this will be ok, save and do
make bzImage

that part goes ok.
Then, I go to make modules and whilst it is doing this,I notice some warnings to the effect that something is 'deprecated'.I notice about 20 of these warnings and when making modules has finished,I get several errors reported.Things like :
make: ***[driver/char/xxxx] Error 1

if I try and make modules_install it won't do it and spits out more errors at me.

Can someone offer some advice please?
I've spent about 4 solid days trying to figure this out.

thanks,
Ludwig

qanopus 01-14-2004 11:58 AM

1) Why on earth are you trying to install 2.5.75??????? For heavens sake dude, that is the unstable branche that alraidy produced a stable series. Either go with 2.6.x or the 2.4.x but not 2.5.x
2) If you have the .config file of RH 9, why didn't you just copy that file to the kernel source directories and do "make oldconfig"

I would doownload the latest STABLE (which is 2.6.1 btw) and install that.

ludwig W 01-14-2004 12:21 PM

Quote:

1) Why on earth are you trying to install 2.5.75??????? For heavens sake dude, that is the unstable branche that alraidy produced a stable series. Either go with 2.6.x or the 2.4.x but not 2.5.x
oh.
I didn't know it was unstable.
I thought all the kernels at Kernel.org were ok to download.

Quote:

2) If you have the .config file of RH 9, why didn't you just copy that file to the kernel source directories and do "make oldconfig"
Forgive me,but I'm new to this.
So,if you put a .config file in the kernel source directory and do "make oldconfig" it sets it up for you automatically,without you having to load it into that xconfig thingy?

thanks for your help,
Ludwig


All times are GMT -5. The time now is 02:22 PM.