OpenVZ Forum


Home » General » Support » Compile kernel
Re: Compile kernel [message #1020 is a reply to message #979] Thu, 26 January 2006 14:30 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Basically you have two options:

1. Use compat-gcc-33 to compile your kernel module. I assume something like this will do the trick:
yum install compat-gcc-33
make CC=gcc33


2. Rebuild our kernel with your default GCC version:
rpmbuild --rebuild --target=i686 ovzkernel*.src.rpm

If you use x86_64, fix --target argument accordingly (or do not use it at all as this will be a default on that platform).


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ensim
Next Topic: kernel oops.
Goto Forum:
  


Current Time: Sat Aug 17 03:11:14 GMT 2024

Total time taken to generate the page: 0.02844 seconds