All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Claudio Cuqui <claudio@c3systems.com.br>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: Unable to build kvm-72 + kernel 2.6.26.2
Date: Wed, 20 Aug 2008 18:22:53 +0300	[thread overview]
Message-ID: <48AC36CD.8090101@qumranet.com> (raw)
In-Reply-To: <48AC3309.4030609@c3systems.com.br>

Claudio Cuqui wrote:
> Hi there !
>
> I´m trying to install kvm on a FC5-64bits with a custom kernel 
> (2.6.26.2) - processor Intel Q6700.
>
> When I run make, I got the following error (after many files compiled 
> without any errors):
>
> gcc -I /C3Systems/kvm/source-72/qemu/../libkvm  -DCONFIG_X86 -Wall -O2 
> -g -fno-strict-aliasing  -m64 -I. -I/C3Systems/kvm/source-72/qemu -MMD 
> -MP -MT scsi-generic.o -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE_SOURCE -I/C3Systems/kvm/source-72/qemu/slirp -c -o 
> 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-list 
> 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 
> 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).

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2008-08-20 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20 15:06 Unable to build kvm-72 + kernel 2.6.26.2 Claudio Cuqui
2008-08-20 15:22 ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48AC36CD.8090101@qumranet.com \
    --to=avi@qumranet.com \
    --cc=claudio@c3systems.com.br \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.