trouble compiling om x86_64
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:
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
Quoted 5 lines · Darrin Ritter
dyngen: ret or jmp expected at the end of
op_bsfw_T0_ccmake[1]: *** [op.h] Error 1
make[1]: Leaving directory `/home/dv/tmp/qemu-0.7.2/i386-user'
make: *** [all] Error 1
Looks like you are using gcc4 which is still unsupported. Try to use gcc3.x
I'll use this message to pinpoint to the imho very nice unofficial FAQ at http://lilly.csoft.net/~jeffryj/cgi-bin/moin.cgi/FrequentlyAskedQuestions where frequently asked questions from the irc channel (#qemu on freenode.net) are collected.
With regards,
Jan
Quoted 7 lines · Jan Marten Simons
Quoted 5 lines · Darrin Ritter
dyngen: ret or jmp expected at the end of
op_bsfw_T0_ccmake[1]: *** [op.h] Error 1
make[1]: Leaving directory `/home/dv/tmp/qemu-0.7.2/i386-user'
make: *** [all] Error 1
Quoted 8 lines
Looks like you are using gcc4 which is still unsupported. Try to use gcc3.x
I'll use this message to pinpoint to the imho very nice unofficial FAQ at http://lilly.csoft.net/~jeffryj/cgi-bin/moin.cgi/FrequentlyAskedQuestions where frequently asked questions from the irc channel (#qemu on freenode.net) are collected.
With regards,
Jan
thanks ./configure ---cc=gcc32 -target-list= x86_64-softmmu enabled me to compile
and modprobe kqemu loaded the kernel module but the system hangs with the following command:
qemu-system-x86_64 -enable-audio -user-net /home/dv/qemu/hd.img
any ideas
Darrin
Quoted 7 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 6 lines · Darrin Ritter
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 errorI 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 :
Quoted 9 lines
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)
Quoted 65 lines
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 CPUx86_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 yesKQEMU Linux module configuration:
kernel sources/lib/modules/2.6.12-1.1398_FC4/buildkbuild type 2.6when I ran make I go the following output error:
gcc -Wall -O2 -g -fno-strict-aliasing -falign-functions=0
(quoted diff) +0
-6-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 -oop.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 -oop.hop.o
dyngen: ret or jmp expected at the end ofop_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 1what do I do to get the program to compile?
thanks Darrin
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel