From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM-21 on RHEL4: cannot build kernel module Date: Sun, 29 Apr 2007 18:19:15 +0300 Message-ID: <4634B773.7030800@qumranet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Alessandro Sardo Return-path: In-Reply-To: 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 Alessandro Sardo wrote: > Hello list, > > I am trying to compile KVM-21 on RHEL4 U4 (kernel version > is 2.6.9-42.0.10.EL SMP). While I do not have any problem > compiling the 'user' and 'qemu' targets, I cannot seem to > be able to build the kernel module. I would like to point > out that: > > 1) kernel-devel packages are installed > 2) the same problem happens with KVM-13/15/16/17/18/19/20 > 2) the same problem happens with the 2.6.9-42.0.10.EL > non-SMP kernel > > There are several issues here: - 2.6.9 appears to predate some Kbuild changes (like looking for the Kbuild file in the external module directory, and instead going for Makefile). Presumably this is easy to fix. - RHEL 4's kernel is some mix of 2.6.9 and features from future kernels; this may defeat our compatibility detection. This is all fixable, but will require someone with time and determination. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/