Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

questions about recompiling kernel

Status
Not open for further replies.

jlynch1

Technical User
Dec 20, 2001
100
IE
I am running redhat linux 7.3 which comes with kernel version 2.4.18-3.

I need to run a kernel version of 2.2.19 or lower in order to use divert sockets. A patch is applied to this kernel and it is then compiled with the divert socket options.

I am having trouble compiling such as getting errors when i try making the bzImage. I have read somewhere that there are issues relating to compiling with the version of gcc on redhat 7.3 which is 2.96 and 2.2.x kernels. How would i get around this ?

I would appreciate any help and would like to hear from anyone who has recompiled linux with divert sockets support.

 
I have never tried to downgrade a kernel before, but you might have to run a different OS to do this. I would imagine that a lot of the programs that RH73 is running is built for the 2.4 kernel. Why don't you try RH6 instead.


ChrisP
 
---I need to run a kernel version of 2.2.19 or lower in order to use divert sockets. A patch is applied to this kernel and it is then compiled with the divert socket options.

Ok.

---I am having trouble compiling such as getting errors when i try making the bzImage.

What are the errors? Are they the "wwont fit on floppy error?

-I have read somewhere that there are issues relating to compiling with the version of gcc on redhat 7.3 which is 2.96 and 2.2.x kernels. How would i get around this ?

First, go download GCC 2.95.* (any version will do). Get the RPM if you can, to keep dependancies correct. Third, uninstall GCC 2.96 , and then install 2.95 . Idiot Redhat and Mandrake BOTH put in unstable _testing_versions of the GCC compiler. Compiling most anything harder than printf will fail.

---I would appreciate any help and would like to hear from anyone who has recompiled linux with divert sockets support.

I haven't used that specific patch, but I've installed a few different modules/patches like the low latency with Alsa :) Now thats NICE. Pretty much, just follow teh readme/install files and you'll be OK. I'm assuming you've compiled your kernel before, righ? If you haven't, I can add a bit of things..

Ja, ne
Krale
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top