How to build QEMU from git
Hi --
I ran into a problem running the qemu-0.15 and I was told that the problem was fixed in the 1.0 release candidate. I don't find a package with the RC on http://wiki.qemu.org/Download,
so I cloned the git repo and tried to build qemu.
I didn't find any instructions on how to build qemu on the wiki, so I winged it with the following configure:
configure \ --enable-sdl \ --enable-curses \ --enable-curl \ --enable-kvm \ --enable-nptl \ --enable-uuid \ --enable-linux-aio \ --enable-io-thread \ --enable-debug
Is this correct, or is there a better set of options?
When I run make, there are a number of compiles which fail because of variables being set but not used. I've modified the code to eliminate some of them to allow the build to continue. Is there a simpler way around this?
After getting past these issues, libhw32/serial.o is not being built:
make[1]: *** No rule to make target ../libhw32/serial.o', needed by qemu'. Stop. make[1]: Leaving directory `/local/eager/source/qemu/build/i386-softmmu'
make: *** [subdir-i386-softmmu] Error
Is there a fix for this problem?
Signature · 2 lines
Michael Eager [email protected] 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
Quoted 3 lines
I ran into a problem running the qemu-0.15 and I was told that the problem was fixed in the 1.0 release candidate. I don't find a package with the RC on http://wiki.qemu.org/Download,
There is a qemu-1.0-rc1 on the page now. :)
Regards,
chenwj
Signature · 4 lines
Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2011/11/8 Michael Eager <[email protected]>:
Quoted 21 lines
Hi --
I ran into a problem running the qemu-0.15 and I was told that the problem was fixed in the 1.0 release candidate. I don't find a package with the RC on http://wiki.qemu.org/Download,
so I cloned the git repo and tried to build qemu.I didn't find any instructions on how to build qemu on the wiki, so I winged it with the following configure:
configure \
--enable-sdl \
--enable-curses \
--enable-curl \
--enable-kvm \
--enable-nptl \
--enable-uuid \
--enable-linux-aio \
--enable-io-thread \
--enable-debug
Quoted 2 lines
Is this correct, or is there a better set of options?
If you want faster, you can use --target-list option. Then other targets will not be compiled.
Quoted 18 lines
When I run make, there are a number of compiles which fail because of variables being set but not used. I've modified the code to eliminate some of them to allow the build to continue. Is there a simpler way around this?
After getting past these issues,
libhw32/serial.ois not being built:
make[1]: *** No rule to make target../libhw32/serial.o', needed byqemu'. Stop.
make[1]: Leaving directory `/local/eager/source/qemu/build/i386-softmmu'
make: *** [subdir-i386-softmmu] ErrorIs there a fix for this problem?
--
Michael Eager [email protected]
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
Signature · 2 lines
Regards Robert Wang