public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* compilation on ubuntu 32 bit host?
@ 2006-11-10 12:18 Gildas
       [not found] ` <b2ace7f20611100418i6e94ed5ehaaadeda5a708009e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Gildas @ 2006-11-10 12:18 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

Has anyone managed to compile kvm on an ubuntu 32 bit host? (using the
tarball kvm-2 available on sourceforge)

I have the following:

gn1@mbp18006i:~/install/kvm-2$ ./configure --qemu-cc=/usr/bin/gcc-3.4
ls: /usr/bin/gcc3*: No such file or directory
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/gn1/install/kvm-2/qemu
C compiler        /usr/bin/gcc-3.4
Host C compiler   gcc
make              make
install           install
host CPU          i386
host big endian   no
target list       unknown-softmmu
gprof enabled     no
profiler          no
static build      no
SDL support       yes
SDL static link   no
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      no
DSound support    no
FMOD support      no
kqemu support     no
kvm support       yes
Documentation     no
Unsupported target CPU
gn1@mbp18006i:~/install/kvm-2$ make
make -C kernel
make[1]: Entering directory `/home/gn1/install/kvm-2/kernel'
make -C /lib/modules/`uname -r`/build M=`pwd` "$@"
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-27-686'
  CC [M]  /home/gn1/install/kvm-2/kernel/kvm_main.o
In file included from /home/gn1/install/kvm-2/kernel/kvm_main.c:18:
/home/gn1/install/kvm-2/kernel/kvm.h:11:25: error: linux/mutex.h: No
such file or directory
In file included from /home/gn1/install/kvm-2/kernel/kvm_main.c:18:
/home/gn1/install/kvm-2/kernel/kvm.h:163: error: field 'mutex' has
incomplete type
/home/gn1/install/kvm-2/kernel/kvm.h: In function 'page_header':
/home/gn1/install/kvm-2/kernel/kvm.h:377: error: 'struct page' has no
member named 'private'
/home/gn1/install/kvm-2/kernel/kvm_main.c: In function 'vcpu_load':
/home/gn1/install/kvm-2/kernel/kvm_main.c:449: warning: implicit
declaration of function 'mutex_lock'
/home/gn1/install/kvm-2/kernel/kvm_main.c:451: warning: implicit
declaration of function 'mutex_unlock'
/home/gn1/install/kvm-2/kernel/kvm_main.c: In function 'kvm_dev_open':
/home/gn1/install/kvm-2/kernel/kvm_main.c:561: warning: implicit
declaration of function 'mutex_init'
make[3]: *** [/home/gn1/install/kvm-2/kernel/kvm_main.o] Error 1
make[2]: *** [_module_/home/gn1/install/kvm-2/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-27-686'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gn1/install/kvm-2/kernel'
make: *** [kernel] Error 2

My system is a ubuntu 6.06 installed on a macbookpro, using ubuntu
kernel 2.6.15-27-686

I have the following packages installed:
- zlib1g-dev 1.2.3-6ubuntu4
- uuid-dev 1.2-1.38-2ubuntu2
- linux-kernel-headers 2.6.11.2-0ubuntu18
- e2fslibs-dev 1.38-2ubuntu2
-  libsdl-gfx1.2-dev 2.0.13-1
-  libsdl1.2-dev 1.2.9-0.0ubuntu2
- linux-source-2.6.15 2.6.15-27.48

(this system runs a locally compiled qemu 0.8.2 + kqemu)

Cheers
Gildas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

end of thread, other threads:[~2006-11-15  9:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 12:18 compilation on ubuntu 32 bit host? Gildas
     [not found] ` <b2ace7f20611100418i6e94ed5ehaaadeda5a708009e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-10 15:04   ` Anthony Liguori
2006-11-10 16:02   ` Avi Kivity
     [not found]     ` <4554A2A6.8020509-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-10 16:14       ` Gildas
     [not found]         ` <b2ace7f20611100814o8438c3dybdf9a00b5ee512d3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-10 16:29           ` Avi Kivity
2006-11-14 13:42   ` Gildas
     [not found]     ` <b2ace7f20611140542of22cf8alc7efdfd0af6be6c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-14 13:51       ` Avi Kivity
     [not found]         ` <4559C9D7.2050107-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-14 13:59           ` Gildas
     [not found]             ` <b2ace7f20611140559s303a26bcr425506a2f2711390-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-14 14:16               ` Avi Kivity
     [not found]                 ` <4559CFBE.1020903-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-15  9:52                   ` Ubunto live cd (was: Re: compilation on ubuntu 32 bit host?) Avi Kivity
2006-11-14 14:32               ` compilation on ubuntu 32 bit host? Avi Kivity
     [not found]                 ` <4559D38A.9080802-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-14 15:14                   ` Avi Kivity
     [not found]                     ` <4559DD41.4010305-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-14 15:39                       ` Avi Kivity
2006-11-14 16:35                       ` Muli Ben-Yehuda
     [not found]                         ` <20061114163556.GA6848-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
2006-11-14 16:37                           ` Avi Kivity

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