public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Claudio Cuqui <claudio@c3systems.com.br>
To: kvm@vger.kernel.org
Subject: Unable to build kvm-72 + kernel 2.6.26.2
Date: Wed, 20 Aug 2008 12:06:49 -0300	[thread overview]
Message-ID: <48AC3309.4030609@c3systems.com.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]

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'
make[1]: *** [scsi-generic.o] Error 1
make[1]: Leaving directory `/C3Systems/kvm/source-72/qemu'
make: *** [qemu] Error 2

GCC version below:
[root@bluegene source-72]# gcc --version
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The configure line used to build it was:

./configure --prefix=/C3Systems/kvm/bin-72 --with-patched-kernel

Kernel is a vanilla 2.6.26.2 (kernel.org).

Ideas ?

TIA,

Claudio Cuqui




[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3265 bytes --]

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

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

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=48AC3309.4030609@c3systems.com.br \
    --to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox