public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM-61/62 build fails on SLES 10
@ 2008-02-29 16:20 M.J. Rutter
  2008-02-29 18:07 ` M.J. Rutter
  0 siblings, 1 reply; 8+ messages in thread
From: M.J. Rutter @ 2008-02-29 16:20 UTC (permalink / raw)
  To: kvm-devel

Whereas KVM-60 builds "out of the box" on SLES 10 SP1 (assuming gcc 3.4 is 
installed), KVM-61 and KVM-62 don't. They fail with:

make[1]: Entering directory `/scratch/KVM/kvm-61/kernel'
# include header priority 1) INUX 2) ERNELDIR 3) include-compat
make -C /lib/modules/2.6.16.54-0.2.5-smp/build M=`pwd` \
        LINUXINCLUDE="-I`pwd`/include -Iinclude -I`pwd`/include-compat \
        -include include/linux/autoconf.h" \
        "$@"
make[2]: Entering directory 
`/usr/src/linux-2.6.16.54-0.2.5-obj/x86_64/smp'
make -C ../../../linux-2.6.16.54-0.2.5 
O=../linux-2.6.16.54-0.2.5-obj/x86_64/smp
  LD      /scratch/KVM/kvm-61/kernel/built-in.o
  CC [M]  /scratch/KVM/kvm-61/kernel/svm.o
In file included from <command line>:1:
/scratch/KVM/kvm-61/kernel/external-module-compat.h:10:28: error: 
linux/compiler.h: No such file or directory
/scratch/KVM/kvm-61/kernel/external-module-compat.h:12:26: error: 
linux/string.h: No such file or directory

Trying to fiddle the include path to ensure that it finds 
/usr/src/linux/include then produces an error for linux/clocksource.h.

SLES 10 SP1 uses a kernel whose version is 2.6.16.54-0.2.5-smp, i.e. 
2.6.16 plus various back-ported bits. However, SLES 10 SP1 is the current 
version of SuSE Linux Enterprise Server, so in some sense this is current.

KVM was configured with

./configure --prefix=/usr/local/kvm/kvm-61 \
  --qemu-cc=/scratch/gcc-3.4/bin/gcc-3.4

Michael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-04 22:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 16:20 KVM-61/62 build fails on SLES 10 M.J. Rutter
2008-02-29 18:07 ` M.J. Rutter
2008-03-02 11:31   ` Alexey Eremenko
2008-03-02 21:19     ` Alexander Graf
2008-03-04 15:19     ` M.J. Rutter
2008-03-04 15:38       ` Alexey Eremenko
2008-03-04 15:51         ` Tomas Rusnak
2008-03-04 22:48           ` Dor Laor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox