From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Davidsen Subject: Re: compiler problem in Read Hat ES 4 Date: Tue, 23 Jan 2007 19:20:06 -0500 Message-ID: <45B6A636.1030502@tmr.com> References: <45ACA2BF.90403@si.ct.upc.edu> <64F9B87B6B770947A9F8391472E0321603496B05@ehost011-8.exch011.intermedia.net> <45AE173F.60400@si.ct.upc.edu> <64F9B87B6B770947A9F8391472E0321603496B06@ehost011-8.exch011.intermedia.net> <45AF30A5.3040401@si.ct.upc.edu> <64F9B87B6B770947A9F8391472E0321603496B09@ehost011-8.exch011.intermedia.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: public-kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f-8ByrlEUxsivZ+VzJOa5vwg@public.gmane.org Return-path: To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org In-Reply-To: <64F9B87B6B770947A9F8391472E0321603496B09-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Uri Lublin wrote: > Hi Frank, > > It seems it would be easier if you'd build kvm on a more recent linux > kernel (version 2.6.16 or later). It wouldn't be ES 4 then. The way the enterprise releases work is that no software is upgraded, therefore you don't find new and exciting changes in the way things work. Instead, any bug fixes or security patches are backported to the original software. > You could not make the kvm modules because 2.6.9 kernel does not use > Kbuild, but expects that information to be in the Makefile. > So... I typed "cd kernel; mv Makefile Makefile.orig; cat Kbuild > Makefile.orig > Makefile; make". > That started building the modules, but include file was > not found. > linux/mutex.h was introduced in version 2.6.16 > > If you insist on 2.6.9, try to replace the mutex with a semaphore > (kvm_main.c and kvm.h). > ES is intended to provide extremely stable platforms for production servers, which normally doesn't make it a good candidate for building new kernel modules. I assume that's why ES is being used. -- Bill Davidsen "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV