* Unable to build kvm-72 + kernel 2.6.26.2
@ 2008-08-20 15:06 Claudio Cuqui
2008-08-20 15:22 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Claudio Cuqui @ 2008-08-20 15:06 UTC (permalink / raw)
To: kvm
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to build kvm-72 + kernel 2.6.26.2
2008-08-20 15:06 Unable to build kvm-72 + kernel 2.6.26.2 Claudio Cuqui
@ 2008-08-20 15:22 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-08-20 15:22 UTC (permalink / raw)
To: Claudio Cuqui; +Cc: KVM list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-20 15:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox