]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix compilation on x86_64
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 31 Mar 2011 20:33:02 +0000 (22:33 +0200)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Apr 2011 04:14:31 +0000 (07:14 +0300)
commite227ea5006015cde158def727c2b7f60c7b10541
treea73317e17a164e4c1cdc48ce55159bc366ff9a25
parentcad1862cd0da7bb4706a55beee05c7848371eff0
kvm tools: Fix compilation on x86_64

Compilation on x86_64 failed with:
[...]
In file included from /usr/include/features.h:386:0,
                 from /usr/include/stdint.h:26,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/stdint.h:3,
                 from include/kvm/e820.h:4,
                 from bios/e820.c:1:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file
or directory
compilation terminated.
make: *** [bios/bios-rom.bin] Error 1

This is caused by a typo in the Makefile and because gnu/stubs.h (and
friends) expect to see __x86_64__. That's trivial to fix.

Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile