qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] trouble compiling om x86_64


From: Darrin Ritter
Subject: Re: [Qemu-devel] trouble compiling om x86_64
Date: Mon, 24 Oct 2005 20:52:42 +0930
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Darrin Ritter wrote:

hi
first of all sorry if this is posted on the wrong forum as I tried to join the user forum and got a 404 error

I have been using the qemu binary file on my FC4 machine without a hitch and now I am trying to compile on an amd 64 machine so i can get kqemu working.
I downloaded the files :

qemu-0.7.2.tar.gz <http://fabrice.bellard.free.fr/qemu/qemu-0.7.2.tar.gz>

kqemu-0.7.2.tar.gz <http://fabrice.bellard.free.fr/qemu/kqemu-0.7.2.tar.gz>

and then unpacked qemu into a directory then cd into the qemu directory and unpacked the kqemu with tar -zxvf ../kqemu-0.7.2.tar.gz.


I then did ./configure --target-list=i386-user , as I only really wanted i386 virtual machine and I go the following output:

correcting myself I need to compile with ./configure --target-list= x86_64-softmmu to get kqemu (helps to RTFM)

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/dv/tmp/qemu-0.7.2
C compiler gcc
Host C compiler gcc
make make
host CPU x86_64
host big endian no
target list i386-user
gprof enabled no
static build no
SDL support yes
SDL static link yes
mingw32 support no
Adlib support no
FMOD support no
kqemu support yes

KQEMU Linux module configuration:
kernel sources /lib/modules/2.6.12-1.1398_FC4/build
kbuild type 2.6


when I ran make I go the following output error:

gcc -Wall -O2 -g -fno-strict-aliasing -falign-functions=0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/home/dv/tmp/qemu-0.7.2/target-i386 -I/home/dv/tmp/qemu-0.7.2 -I/home/dv/tmp/qemu-0.7.2/linux-user -I/home/dv/tmp/qemu-0.7.2/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/dv/tmp/qemu-0.7.2/fpu -I/home/dv/tmp/qemu-0.7.2/slirp -c -o op.o /home/dv/tmp/qemu-0.7.2/target-i386/op.c
In file included from /home/dv/tmp/qemu-0.7.2/target-i386/op.c:22:
/home/dv/tmp/qemu-0.7.2/target-i386/exec.h: In function ‘helper_fldt’:
/home/dv/tmp/qemu-0.7.2/target-i386/exec.h:477: warning: cast to pointer from integer of different size
/home/dv/tmp/qemu-0.7.2/target-i386/exec.h: In function ‘helper_fstt’:
/home/dv/tmp/qemu-0.7.2/target-i386/exec.h:482: warning: cast to pointer from integer of different size
/home/dv/tmp/qemu-0.7.2/target-i386/op.c: In function ‘op_goto_tb0’:
/home/dv/tmp/qemu-0.7.2/target-i386/op.c:1300: warning: cast to pointer from integer of different size
/home/dv/tmp/qemu-0.7.2/target-i386/op.c: In function ‘op_goto_tb1’:
/home/dv/tmp/qemu-0.7.2/target-i386/op.c:1305: warning: cast to pointer from integer of different size
../dyngen -o op.h op.o
dyngen: ret or jmp expected at the end of op_bsfw_T0_cc
make[1]: *** [op.h] Error 1
make[1]: Leaving directory `/home/dv/tmp/qemu-0.7.2/i386-user'
make: *** [all] Error 1


what do I do to get the program to compile?

thanks Darrin




_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel







reply via email to

[Prev in Thread] Current Thread [Next in Thread]