From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Unable to build kvm-72 + kernel 2.6.26.2 Date: Wed, 20 Aug 2008 18:22:53 +0300 Message-ID: <48AC36CD.8090101@qumranet.com> References: <48AC3309.4030609@c3systems.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM list To: Claudio Cuqui Return-path: Received: from il.qumranet.com ([212.179.150.194]:20657 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752629AbYHTPWz (ORCPT ); Wed, 20 Aug 2008 11:22:55 -0400 In-Reply-To: <48AC3309.4030609@c3systems.com.br> Sender: kvm-owner@vger.kernel.org List-ID: Claudio Cuqui wrote: > Hi there ! > > I=B4m trying to install kvm on a FC5-64bits with a custom kernel=20 > (2.6.26.2) - processor Intel Q6700. > > When I run make, I got the following error (after many files compiled= =20 > without any errors): > > gcc -I /C3Systems/kvm/source-72/qemu/../libkvm -DCONFIG_X86 -Wall -O= 2=20 > -g -fno-strict-aliasing -m64 -I. -I/C3Systems/kvm/source-72/qemu -MM= D=20 > -MP -MT scsi-generic.o -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64=20 > -D_LARGEFILE_SOURCE -I/C3Systems/kvm/source-72/qemu/slirp -c -o=20 > scsi-generic.o /C3Systems/kvm/source-72/qemu/hw/scsi-generic.c > In file included from /C3Systems/kvm/source-72/qemu/hw/scsi-generic.c= :46: > /usr/include/scsi/scsi.h:140: error: expected specifier-qualifier-lis= t=20 > before 'u8' > /usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length': > /usr/include/scsi/scsi.h:151: error: 'struct scsi_varlen_cdb_hdr' has= =20 > no member named 'additional_cdb_length' Your /usr/include/scsi/scsi.h is broken. Instead of u8, it should use = __u8. Update your glibc-headers (or whatever package supplies this file). --=20 error compiling committee.c: too many arguments to function