【记录】在Ubuntu 13.04上为arm平台安装QEMU

【背景】

折腾:

【记录】尝试用QEMU模拟ARM开发板去加载并运行Uboot,kernel,rootfs

期间,需要现在Ubuntu 13.04这个host上安装QEMU。

【折腾过程】

1.先去确保自己对于opt拥有操作权限:

crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt -lha
total 16K
drwxr-xr-x  4 root   root 4.0K Aug  7 02:56 .
drwxr-xr-x 23 root   root 4.0K Aug 11 19:32 ..
drwxr-xr-x 11 crifan root 4.0K Aug 11 20:06 crosscompile
drwxr-xr-x  5 crifan root 4.0K Aug  7 20:19 crosstool-ng
crifan@ubuntu:qemu-1.6.0-rc3$ sudo chown -R crifan /opt
crifan@ubuntu:qemu-1.6.0-rc3$ ls / -lha
total 104K
drwxr-xr-x  23 root   root 4.0K Aug 11 19:32 .
drwxr-xr-x  23 root   root 4.0K Aug 11 19:32 ..
drwxr-xr-x   2 root   root 4.0K Aug 11 19:30 bin
drwxr-xr-x   3 root   root 4.0K Aug 14 22:28 boot
drwxr-xr-x   2 root   root 4.0K Aug  6 19:43 cdrom
drwxr-xr-x  15 root   root 4.3K Aug 14 22:54 dev
drwxr-xr-x 143 root   root  12K Aug 14 22:54 etc
drwxr-xr-x   4 root   root 4.0K Aug  7 01:04 home
lrwxrwxrwx   1 root   root   32 Aug 11 19:32 initrd.img -> boot/initrd.img-3.8.0-27-generic
lrwxrwxrwx   1 root   root   33 Aug 11 19:32 initrd.img.old -> /boot/initrd.img-3.8.0-27-generic
drwxr-xr-x  22 root   root 4.0K Aug  6 20:53 lib
drwx------   2 root   root  16K Aug  6 19:41 lost+found
drwxr-xr-x   4 root   root 4.0K Aug  7 18:44 media
drwxr-xr-x   3 root   root 4.0K Aug  7 02:38 mnt
drwxr-xr-x   4 crifan root 4.0K Aug  7 02:56 opt
dr-xr-xr-x 188 root   root    0 Aug 14 22:53 proc
drwx------  12 root   root 4.0K Aug  7 00:57 root
drwxr-xr-x  24 root   root  820 Aug 14 22:54 run
drwxr-xr-x   2 root   root  12K Aug 14 22:25 sbin
drwxr-xr-x   2 root   root 4.0K Jun 11  2012 selinux
drwxr-xr-x   2 root   root 4.0K Apr 24 10:02 srv
dr-xr-xr-x  13 root   root    0 Aug 14 22:53 sys
drwxrwxrwt  10 root   root 4.0K Aug 15 01:42 tmp
drwxr-xr-x  10 root   root 4.0K Apr 24 10:02 usr
drwxr-xr-x  13 root   root 4.0K Aug 14 22:44 var
lrwxrwxrwx   1 root   root   29 Aug 11 19:32 vmlinuz -> boot/vmlinuz-3.8.0-27-generic
lrwxrwxrwx   1 root   root   29 Aug 11 19:32 vmlinuz.old -> boot/vmlinuz-3.8.0-27-generic
crifan@ubuntu:qemu-1.6.0-rc3$ 

2.再去安装QEMU,结果第一步配置,就出现“zlib check failed”的错误:

【已解决】Ubuntu下安装QEMU在配置时出错:ERROR: zlib check failed

3.后来又出现“glib-2.12 required to compile QEMU”的错误:

【已解决】Ubuntu下配置QEMU出错:ERROR: glib-2.12 required to compile QEMU

4.解决了上述问题,就可以正常配置了:

crifan@ubuntu:qemu-1.6.0-rc3$ ./configure --prefix=/opt/qemu --target-list=arm-softmmu,arm-linux-user --enable-debug
Install prefix    /opt/qemu
BIOS directory    /opt/qemu/share/qemu
binary directory  /opt/qemu/bin
library directory /opt/qemu/lib
libexec directory /opt/qemu/libexec
include directory /opt/qemu/include
config directory  /opt/qemu/etc
local state directory   /opt/qemu/var
Manual directory  /opt/qemu/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3
C compiler        cc
Host C compiler   cc
Objective-C compiler cc
CFLAGS            -g 
QEMU_CFLAGS       -fPIE -DPIE -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -I$(SRC_PATH)/pixman/pixman -I$(BUILD_DIR)/pixman/pixman -I$(SRC_PATH)/dtc/libfdt
LDFLAGS           -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m32 -g 
make              make
install           install
python            python
smbd              /usr/sbin/smbd
host CPU          i386
host big endian   no
target list       arm-softmmu arm-linux-user
tcg debug enabled yes
gprof enabled     no
sparse enabled    no
strip binaries    no
profiler          no
static build      no
-Werror enabled   no
pixman            internal
SDL support       no
GTK support       no
curses support    yes
curl support      no
mingw32 support   no
Audio drivers     oss
Block whitelist (rw) 
Block whitelist (ro) 
Mixer emulation   no
VirtFS support    no
VNC support       yes
VNC TLS support   no
VNC SASL support  no
VNC JPEG support  no
VNC PNG support   no
VNC WS support    no
xen support       no
brlapi support    no
bluez  support    no
Documentation     yes
GUEST_BASE        yes
PIE               yes
vde support       no
Linux AIO support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       yes
RDMA support      no
TCG interpreter   no
fdt support       yes
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
sigev_thread_id   yes
uuid support      no
libcap-ng support no
vhost-net support yes
vhost-scsi support yes
Trace backend     nop
Trace output file trace-<pid>
spice support     no (/)
rbd support       no
xfsctl support    no
nss used          no
libusb            no
usb net redir     no
GLX support       no
libiscsi support  no
build guest agent yes
seccomp support   no
coroutine backend ucontext
GlusterFS support no
virtio-blk-data-plane no
gcov              gcov
gcov enabled      no
TPM support       no
libssh2 support   no
TPM passthrough   no
QOM debugging     yes
crifan@ubuntu:qemu-1.6.0-rc3$ 

5.看到上述,很多东西默认都没选上,比如usb,所以,想到了,再去看看当前支持哪些配置:

crifan@ubuntu:qemu-1.6.0-rc3$ ./configure --help

Usage: configure [options]
Options: [defaults in brackets after descriptions]

Standard options:
  --help                   print this message
  --prefix=PREFIX          install in PREFIX [/usr/local]
  --interp-prefix=PREFIX   where to find shared libraries, etc.
                           use %M for cpu name [/usr/gnemul/qemu-%M]
  --target-list=LIST       set target list (default: build everything)
                           Available targets:  alpha-softmmu arm-softmmu 
                           cris-softmmu i386-softmmu lm32-softmmu m68k-softmmu 
                           microblaze-softmmu microblazeel-softmmu mips-softmmu 
                           mips64-softmmu mips64el-softmmu mipsel-softmmu 
                           moxie-softmmu or32-softmmu ppc-softmmu ppc64-softmmu 
                           ppcemb-softmmu s390x-softmmu sh4-softmmu 
                           sh4eb-softmmu sparc-softmmu sparc64-softmmu 
                           unicore32-softmmu x86_64-softmmu xtensa-softmmu 
                           xtensaeb-softmmu alpha-linux-user arm-linux-user 
                           armeb-linux-user cris-linux-user i386-linux-user 
                           m68k-linux-user microblaze-linux-user 
                           microblazeel-linux-user mips-linux-user 
                           mips64-linux-user mips64el-linux-user 
                           mipsel-linux-user mipsn32-linux-user 
                           mipsn32el-linux-user or32-linux-user ppc-linux-user 
                           ppc64-linux-user ppc64abi32-linux-user 
                           s390x-linux-user sh4-linux-user sh4eb-linux-user 
                           sparc-linux-user sparc32plus-linux-user 
                           sparc64-linux-user unicore32-linux-user 
                           x86_64-linux-user

Advanced options (experts only):
  --source-path=PATH       path of source code [/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3]
  --cross-prefix=PREFIX    use PREFIX for compile tools []
  --cc=CC                  use C compiler CC [cc]
  --host-cc=CC             use C compiler CC [cc] for code run at
                           build time
  --objcc=OBJCC            use Objective-C compiler OBJCC [cc]
  --extra-cflags=CFLAGS    append extra C compiler flags QEMU_CFLAGS
  --extra-ldflags=LDFLAGS  append extra linker flags LDFLAGS
  --make=MAKE              use specified make [make]
  --install=INSTALL        use specified install [install]
  --python=PYTHON          use specified python [python]
  --smbd=SMBD              use specified smbd [/usr/sbin/smbd]
  --static                 enable static build [no]
  --mandir=PATH            install man pages in PATH
  --datadir=PATH           install firmware in PATH/qemu
  --docdir=PATH            install documentation in PATH/qemu
  --bindir=PATH            install binaries in PATH
  --libdir=PATH            install libraries in PATH
  --sysconfdir=PATH        install config in PATH/qemu
  --localstatedir=PATH     install local state in PATH (set at runtime on win32)
  --with-confsuffix=SUFFIX suffix for QEMU data inside datadir and sysconfdir [/qemu]
  --enable-debug-tcg       enable TCG debugging
  --disable-debug-tcg      disable TCG debugging (default)
  --enable-debug-info       enable debugging information (default)
  --disable-debug-info      disable debugging information
  --enable-debug           enable common debug build options
  --enable-sparse          enable sparse checker
  --disable-sparse         disable sparse checker (default)
  --disable-strip          disable stripping binaries
  --disable-werror         disable compilation abort on warning
  --disable-sdl            disable SDL
  --enable-sdl             enable SDL
  --disable-gtk            disable gtk UI
  --enable-gtk             enable gtk UI
  --disable-virtfs         disable VirtFS
  --enable-virtfs          enable VirtFS
  --disable-vnc            disable VNC
  --enable-vnc             enable VNC
  --disable-cocoa          disable Cocoa (Mac OS X only)
  --enable-cocoa           enable Cocoa (default on Mac OS X)
  --audio-drv-list=LIST    set audio drivers list:
                           Available drivers: oss alsa sdl esd pa fmod
  --block-drv-whitelist=L  Same as --block-drv-rw-whitelist=L
  --block-drv-rw-whitelist=L
                           set block driver read-write whitelist
                           (affects only QEMU, not qemu-img)
  --block-drv-ro-whitelist=L
                           set block driver read-only whitelist
                           (affects only QEMU, not qemu-img)
  --enable-mixemu          enable mixer emulation
  --disable-xen            disable xen backend driver support
  --enable-xen             enable xen backend driver support
  --disable-xen-pci-passthrough
  --enable-xen-pci-passthrough
  --disable-brlapi         disable BrlAPI
  --enable-brlapi          enable BrlAPI
  --disable-vnc-tls        disable TLS encryption for VNC server
  --enable-vnc-tls         enable TLS encryption for VNC server
  --disable-vnc-sasl       disable SASL encryption for VNC server
  --enable-vnc-sasl        enable SASL encryption for VNC server
  --disable-vnc-jpeg       disable JPEG lossy compression for VNC server
  --enable-vnc-jpeg        enable JPEG lossy compression for VNC server
  --disable-vnc-png        disable PNG compression for VNC server (default)
  --enable-vnc-png         enable PNG compression for VNC server
  --disable-vnc-ws         disable Websockets support for VNC server
  --enable-vnc-ws          enable Websockets support for VNC server
  --disable-curses         disable curses output
  --enable-curses          enable curses output
  --disable-curl           disable curl connectivity
  --enable-curl            enable curl connectivity
  --disable-fdt            disable fdt device tree
  --enable-fdt             enable fdt device tree
  --disable-bluez          disable bluez stack connectivity
  --enable-bluez           enable bluez stack connectivity
  --disable-slirp          disable SLIRP userspace network connectivity
  --disable-kvm            disable KVM acceleration support
  --enable-kvm             enable KVM acceleration support
  --disable-rdma           disable RDMA-based migration support
  --enable-rdma            enable RDMA-based migration support
  --enable-tcg-interpreter enable TCG with bytecode interpreter (TCI)
  --enable-system          enable all system emulation targets
  --disable-system         disable all system emulation targets
  --enable-user            enable supported user emulation targets
  --disable-user           disable all user emulation targets
  --enable-linux-user      enable all linux usermode emulation targets
  --disable-linux-user     disable all linux usermode emulation targets
  --enable-bsd-user        enable all BSD usermode emulation targets
  --disable-bsd-user       disable all BSD usermode emulation targets
  --enable-guest-base      enable GUEST_BASE support for usermode
                           emulation targets
  --disable-guest-base     disable GUEST_BASE support
  --enable-pie             build Position Independent Executables
  --disable-pie            do not build Position Independent Executables
  --fmod-lib               path to FMOD library
  --fmod-inc               path to FMOD includes
  --oss-lib                path to OSS library
  --enable-uname-release=R Return R for uname -r in usermode emulation
  --cpu=CPU                Build for host CPU [i386]
  --disable-uuid           disable uuid support
  --enable-uuid            enable uuid support
  --disable-vde            disable support for vde network
  --enable-vde             enable support for vde network
  --disable-linux-aio      disable Linux AIO support
  --enable-linux-aio       enable Linux AIO support
  --disable-cap-ng         disable libcap-ng support
  --enable-cap-ng          enable libcap-ng support
  --disable-attr           disables attr and xattr support
  --enable-attr            enable attr and xattr support
  --disable-blobs          disable installing provided firmware blobs
  --enable-docs            enable documentation build
  --disable-docs           disable documentation build
  --disable-vhost-net      disable vhost-net acceleration support
  --enable-vhost-net       enable vhost-net acceleration support
  --enable-trace-backend=B Set trace backend
                           Available backends: nop, ust, ftrace, dtrace, stderr, simple
  --with-trace-file=NAME   Full PATH,NAME of file to store traces
                           Default:trace-<pid>
  --disable-spice          disable spice
  --enable-spice           enable spice
  --enable-rbd             enable building the rados block device (rbd)
  --disable-libiscsi       disable iscsi support
  --enable-libiscsi        enable iscsi support
  --disable-smartcard-nss  disable smartcard nss support
  --enable-smartcard-nss   enable smartcard nss support
  --disable-libusb         disable libusb (for usb passthrough)
  --enable-libusb          enable libusb (for usb passthrough)
  --disable-usb-redir      disable usb network redirection support
  --enable-usb-redir       enable usb network redirection support
  --disable-guest-agent    disable building of the QEMU Guest Agent
  --enable-guest-agent     enable building of the QEMU Guest Agent
  --disable-seccomp        disable seccomp support
  --enable-seccomp         enables seccomp support
  --with-coroutine=BACKEND coroutine backend. Supported options:
                           gthread, ucontext, sigaltstack, windows
  --enable-glusterfs       enable GlusterFS backend
  --disable-glusterfs      disable GlusterFS backend
  --enable-gcov            enable test coverage analysis with gcov
  --gcov=GCOV              use specified gcov [gcov]
  --enable-tpm             enable TPM support
  --disable-libssh2        disable ssh block device support
  --enable-libssh2         enable ssh block device support

NOTE: The object files are built at the place where configure is launched
crifan@ubuntu:qemu-1.6.0-rc3$ 

可以看出,东西还是很多的。

且去看了看上述的

–target-list

和arm相关的,也的确只有此处配置中用到的那两个:

arm-softmmu

arm-linux-user

6.然后可以直接去make安装了。

(教程说是 make -s,应该是–silence的意思,我此处要看看输出的,所以不加-s)

crifan@ubuntu:qemu-1.6.0-rc3$ make
  GEN   arm-softmmu/config-devices.mak
  GEN   arm-linux-user/config-devices.mak
  GEN   config-all-devices.mak
  GEN   config-host.h
(cd /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/pixman; autoreconf -v --install)
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
configure.ac:61: warning: AC_INIT: not a literal: "pixman@lists.freedesktop.org"
configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:146: the top level
configure.ac:161: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:161: the top level
configure.ac:194: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:194: the top level
configure.ac:246: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:246: the top level
configure.ac:296: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:296: the top level
configure.ac:328: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:328: the top level
configure.ac:370: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:370: the top level
configure.ac:409: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:409: the top level
configure.ac:449: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:449: the top level
configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:526: the top level
configure.ac:552: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:552: the top level
autoreconf: configure.ac: tracing
configure.ac:61: warning: AC_INIT: not a literal: "pixman@lists.freedesktop.org"
configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:146: the top level
configure.ac:161: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:161: the top level
configure.ac:194: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:194: the top level
configure.ac:246: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:246: the top level
configure.ac:296: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:296: the top level
configure.ac:328: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:328: the top level
configure.ac:370: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:370: the top level
configure.ac:409: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:409: the top level
configure.ac:449: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:449: the top level
configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:526: the top level
configure.ac:552: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:552: the top level
autoreconf: running: libtoolize --install --copy
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:61: warning: AC_INIT: not a literal: "pixman@lists.freedesktop.org"
configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:146: the top level
configure.ac:161: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:161: the top level
configure.ac:194: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:194: the top level
configure.ac:246: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:246: the top level
configure.ac:296: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:296: the top level
configure.ac:328: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:328: the top level
configure.ac:370: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:370: the top level
configure.ac:409: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:409: the top level
configure.ac:449: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:449: the top level
configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:526: the top level
configure.ac:552: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:552: the top level
autoreconf: running: /usr/bin/autoconf
configure.ac:61: warning: AC_INIT: not a literal: "pixman@lists.freedesktop.org"
configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:146: the top level
configure.ac:161: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:161: the top level
configure.ac:194: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:194: the top level
configure.ac:246: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:246: the top level
configure.ac:296: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:296: the top level
configure.ac:328: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:328: the top level
configure.ac:370: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:370: the top level
configure.ac:409: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:409: the top level
configure.ac:449: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:449: the top level
configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:526: the top level
configure.ac:552: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:552: the top level
autoreconf: running: /usr/bin/autoheader
configure.ac:61: warning: AC_INIT: not a literal: "pixman@lists.freedesktop.org"
configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:146: the top level
configure.ac:161: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:161: the top level
configure.ac:194: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:194: the top level
configure.ac:246: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:246: the top level
configure.ac:296: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:296: the top level
configure.ac:328: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:328: the top level
configure.ac:370: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:370: the top level
configure.ac:409: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:409: the top level
configure.ac:449: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:449: the top level
configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:526: the top level
configure.ac:552: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:552: the top level
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:61: warning: AC_INIT: not a literal: "pixman@lists.freedesktop.org"
configure.ac:146: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:146: the top level
configure.ac:161: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:161: the top level
configure.ac:194: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:194: the top level
configure.ac:246: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:246: the top level
configure.ac:296: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:296: the top level
configure.ac:328: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:328: the top level
configure.ac:370: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:370: the top level
configure.ac:409: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:409: the top level
configure.ac:449: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:449: the top level
configure.ac:526: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:526: the top level
configure.ac:552: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:552: the top level
configure.ac:62: installing `./missing'
pixman/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
(cd pixman; CFLAGS="-g  -fPIC -m32  " /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/pixman/configure  --disable-gtk --disable-shared --enable-static)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for getisax... no
checking whether byte ordering is bigendian... no
checking for inline... inline
checking size of long... 4
checking whether __SUNPRO_C is declared... no
checking whether __amd64 is declared... no
checking for perl... /usr/bin/perl
checking for -fvisibility... yes
checking for -xldscope (Sun compilers)... no
checking whether to use MMX intrinsics... yes
checking whether to use SSE2 intrinsics... yes
checking whether to use VMX/Altivec intrinsics... no
checking whether to use ARM SIMD assembler... no
checking whether to use ARM NEON assembler... no
checking whether to use GNU-style inline assembler... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for posix_memalign... yes
checking for __thread... yes
configure: creating ./config.status
config.status: creating pixman-1.pc
config.status: creating pixman-1-uninstalled.pc
config.status: creating Makefile
config.status: creating pixman/Makefile
config.status: creating pixman/pixman-version.h
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
Making all in pixman
/usr/bin/perl ./make-combine.pl 8 < ./pixman-combine.h.template > pixman-combine32.h || ( pixman-combine32.h; exit 1)
/usr/bin/perl ./make-combine.pl 8 < ./pixman-combine.c.template > pixman-combine32.c || ( pixman-combine32.c; exit 1)
/usr/bin/perl ./make-combine.pl 16 < ./pixman-combine.h.template > pixman-combine64.h || ( pixman-combine64.h; exit 1)
/usr/bin/perl ./make-combine.pl 16 < ./pixman-combine.c.template > pixman-combine64.c || ( pixman-combine64.c; exit 1)
make  all-am
  CC     pixman-access.lo
  CC     pixman-access-accessors.lo
  CC     pixman-cpu.lo
  CC     pixman-gradient-walker.lo
  CC     pixman-region16.lo
  CC     pixman-region32.lo
  CC     pixman-image.lo
  CC     pixman-implementation.lo
  CC     pixman-combine32.lo
  CC     pixman-combine64.lo
  CC     pixman-general.lo
  CC     pixman.lo
  CC     pixman-fast-path.lo
pixman-fast-path.c: In function 'fast_composite_add_n_8888_8888_ca':
pixman-fast-path.c:366:19: warning: variable 'srca' set but not used [-Wunused-but-set-variable]
  CC     pixman-solid-fill.lo
  CC     pixman-conical-gradient.lo
  CC     pixman-linear-gradient.lo
  CC     pixman-radial-gradient.lo
  CC     pixman-bits-image.lo
  CC     pixman-utils.lo
  CC     pixman-edge.lo
  CC     pixman-edge-accessors.lo
  CC     pixman-trap.lo
pixman-trap.c: In function 'pixman_add_traps':
pixman-trap.c:238:9: warning: variable 'width' set but not used [-Wunused-but-set-variable]
pixman-trap.c: In function 'pixman_rasterize_trapezoid':
pixman-trap.c:355:20: warning: variable 'x_off_fixed' set but not used [-Wunused-but-set-variable]
pixman-trap.c:352:9: warning: variable 'width' set but not used [-Wunused-but-set-variable]
  CC     pixman-timer.lo
  CC     pixman-matrix.lo
  CC     libpixman_mmx_la-pixman-mmx.lo
pixman-mmx.c: In function 'mmx_composite_over_n_8888_8888_ca':
pixman-mmx.c:1270:19: warning: variable 'srca' set but not used [-Wunused-but-set-variable]
pixman-mmx.c: In function 'mmx_composite_over_8888_n_8888':
pixman-mmx.c:1380:11: warning: variable 'srca' set but not used [-Wunused-but-set-variable]
pixman-mmx.c: In function 'mmx_composite_src_n_8_8888':
pixman-mmx.c:2104:9: warning: variable 'vdest' set but not used [-Wunused-but-set-variable]
pixman-mmx.c:2036:17: warning: variable 'vsrca' set but not used [-Wunused-but-set-variable]
pixman-mmx.c: In function 'mmx_composite_over_n_8888_0565_ca':
pixman-mmx.c:2527:19: warning: variable 'srca' set but not used [-Wunused-but-set-variable]
pixman-mmx.c: In function 'mmx_composite_in_n_8_8':
pixman-mmx.c:2666:12: warning: variable 'm' set but not used [-Wunused-but-set-variable]
  CCLD   libpixman-mmx.la
  CC     libpixman_sse2_la-pixman-sse2.lo
pixman-sse2.c: In function 'sse2_composite_add_n_8888_8888_ca':
pixman-sse2.c:3151:20: warning: variable 'mmx_alpha' set but not used [-Wunused-but-set-variable]
pixman-sse2.c:3141:19: warning: variable 'srca' set but not used [-Wunused-but-set-variable]
pixman-sse2.c: In function 'sse2_composite_over_n_8_0565':
pixman-sse2.c:4265:19: warning: variable 'srca' set but not used [-Wunused-but-set-variable]
pixman-sse2.c: In function 'sse2_composite_in_n_8_8':
pixman-sse2.c:4866:13: warning: variable 'sa' set but not used [-Wunused-but-set-variable]
pixman-sse2.c: In function 'sse2_composite_add_n_8_8':
pixman-sse2.c:5080:13: warning: variable 'sa' set but not used [-Wunused-but-set-variable]
  CCLD   libpixman-sse2.la
  CCLD   libpixman-1.la
Making all in test
  CC     a1-trap-test.o
  CCLD   a1-trap-test
  CC     region-test.o
  CC     utils.o
  CCLD   region-test
  CC     fetch-test.o
  CCLD   fetch-test
  CC     oob-test.o
  CCLD   oob-test
  CC     window-test.o
  CCLD   window-test
  CC     trap-crasher.o
  CCLD   trap-crasher
  CC     alphamap.o
  CCLD   alphamap
  CC     blitters-test.o
  CCLD   blitters-test
  CC     scaling-test.o
  CCLD   scaling-test
  CC     composite.o
  CCLD   composite
	 DEP tests/dumptrees.c
	 DEP tests/trees.S
	 DEP tests/testutils.c
	 DEP tests/value-labels.c
	 DEP tests/asm_tree_dump.c
	 DEP tests/truncated_property.c
	 DEP tests/path_offset_aliases.c
	 DEP tests/add_subnode_with_nops.c
	 DEP tests/dtbs_equal_unordered.c
	 DEP tests/dtb_reverse.c
	 DEP tests/dtbs_equal_ordered.c
	 DEP tests/extra-terminating-null.c
	 DEP tests/incbin.c
	 DEP tests/boot-cpuid.c
	 DEP tests/phandle_format.c
	 DEP tests/path-references.c
	 DEP tests/references.c
	 DEP tests/string_escapes.c
	 DEP tests/del_node.c
	 DEP tests/del_property.c
	 DEP tests/setprop.c
	 DEP tests/set_name.c
	 DEP tests/rw_tree1.c
	 DEP tests/open_pack.c
	 DEP tests/nopulate.c
	 DEP tests/mangle-layout.c
	 DEP tests/move_and_save.c
	 DEP tests/sw_tree1.c
	 DEP tests/nop_node.c
	 DEP tests/nop_property.c
	 DEP tests/setprop_inplace.c
	 DEP tests/notfound.c
	 DEP tests/get_alias.c
	 DEP tests/node_offset_by_compatible.c
	 DEP tests/node_check_compatible.c
	 DEP tests/node_offset_by_phandle.c
	 DEP tests/node_offset_by_prop_value.c
	 DEP tests/parent_offset.c
	 DEP tests/supernode_atdepth_offset.c
	 DEP tests/get_path.c
	 DEP tests/get_phandle.c
	 DEP tests/getprop.c
	 DEP tests/get_name.c
	 DEP tests/path_offset.c
	 DEP tests/subnode_offset.c
	 DEP tests/find_property.c
	 DEP tests/root_node.c
	 DEP tests/get_mem_rsv.c
	 DEP libfdt/fdt_strerror.c
	 DEP libfdt/fdt_rw.c
	 DEP libfdt/fdt_sw.c
	 DEP libfdt/fdt_wip.c
	 DEP libfdt/fdt_ro.c
	 DEP libfdt/fdt.c
	 DEP ftdump.c
	 LEX convert-dtsv0-lexer.lex.c
	 DEP convert-dtsv0-lexer.lex.c
	 DEP util.c
	 DEP srcpos.c
	 BISON dtc-parser.tab.c
	 DEP dtc-parser.tab.c
	 LEX dtc-lexer.lex.c
	 DEP dtc-lexer.lex.c
	 DEP treesource.c
	 DEP livetree.c
	 DEP fstree.c
	 DEP flattree.c
	 DEP dtc.c
	 DEP data.c
	 DEP checks.c
	CHK version_gen.h
	UPD version_gen.h
	 DEP dtc.c
	CHK version_gen.h
	 CC libfdt/fdt.o
	 CC libfdt/fdt_ro.o
	 CC libfdt/fdt_wip.o
	 CC libfdt/fdt_sw.o
	 CC libfdt/fdt_rw.o
	 CC libfdt/fdt_strerror.o
	 AR libfdt/libfdt.a
ar: creating libfdt/libfdt.a
a - libfdt/fdt.o
a - libfdt/fdt_ro.o
a - libfdt/fdt_wip.o
a - libfdt/fdt_sw.o
a - libfdt/fdt_rw.o
a - libfdt/fdt_strerror.o
  GEN   qemu-options.def
  GEN   qmp-commands.h
  GEN   qapi-types.h
  GEN   qapi-visit.h
  GEN   trace/generated-events.h
  GEN   trace/generated-tracers.h
  GEN   tests/test-qapi-types.h
  GEN   tests/test-qapi-visit.h
  GEN   tests/test-qmp-commands.h
make  all-recursive
Making all in pixman
make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in test
make[3]: Nothing to be done for `all'.
	CHK version_gen.h
  GEN   qemu-options.texi
  GEN   qemu-monitor.texi
  GEN   qemu-img-cmds.texi
  GEN   qemu-doc.html
  GEN   qemu-tech.html
  GEN   qemu.1
  GEN   qemu-img.1
  GEN   qemu-nbd.8
  GEN   QMP/qmp-commands.txt
  GEN   qapi-types.c
  GEN   qga/qapi-generated/qga-qapi-types.h
  GEN   qga/qapi-generated/qga-qapi-visit.h
  GEN   qga/qapi-generated/qga-qmp-commands.h
  CC    qapi-types.o
  GEN   qapi-visit.c
  CC    qapi-visit.o
  CC    qga/commands.o
  CC    qga/guest-agent-command-state.o
  CC    qga/main.o
  CC    qga/commands-posix.o
  CC    qga/channel-posix.o
  GEN   qga/qapi-generated/qga-qapi-types.c
  CC    qga/qapi-generated/qga-qapi-types.o
  GEN   qga/qapi-generated/qga-qapi-visit.c
  CC    qga/qapi-generated/qga-qapi-visit.o
  GEN   qga/qapi-generated/qga-qmp-marshal.c
  CC    qga/qapi-generated/qga-qmp-marshal.o
  CC    qapi/qapi-visit-core.o
  CC    qapi/qapi-dealloc-visitor.o
  CC    qapi/qmp-input-visitor.o
  CC    qapi/qmp-output-visitor.o
  CC    qapi/qmp-registry.o
  CC    qapi/qmp-dispatch.o
  CC    qapi/string-input-visitor.o
  CC    qapi/string-output-visitor.o
  CC    qapi/opts-visitor.o
  CC    qobject/qint.o
  CC    qobject/qstring.o
  CC    qobject/qdict.o
  CC    qobject/qlist.o
  CC    qobject/qfloat.o
  CC    qobject/qbool.o
  CC    qobject/qjson.o
  CC    qobject/json-lexer.o
  CC    qobject/json-streamer.o
  CC    qobject/json-parser.o
  CC    qobject/qerror.o
  GEN   trace/generated-events.c
  CC    trace/generated-events.o
  CC    trace/default.o
  CC    trace/control.o
  GEN   trace/generated-tracers.c
  CC    trace/generated-tracers.o
  CC    util/osdep.o
  CC    util/cutils.o
  CC    util/unicode.o
  CC    util/qemu-timer-common.o
  CC    util/oslib-posix.o
  CC    util/qemu-thread-posix.o
  CC    util/event_notifier-posix.o
  CC    util/qemu-openpty.o
  CC    util/envlist.o
  CC    util/path.o
  CC    util/host-utils.o
  CC    util/cache-utils.o
  CC    util/module.o
  CC    util/bitmap.o
  CC    util/bitops.o
  CC    util/hbitmap.o
  CC    util/fifo8.o
  CC    util/acl.o
  CC    util/error.o
  CC    util/qemu-error.o
  CC    util/compatfd.o
  CC    util/iov.o
  CC    util/aes.o
  CC    util/qemu-config.o
  CC    util/qemu-sockets.o
  CC    util/uri.o
  CC    util/notify.o
  CC    util/qemu-option.o
  CC    util/qemu-progress.o
  CC    util/hexdump.o
  CC    util/crc32c.o
  AR    libqemuutil.a
  CC    stubs/arch-query-cpu-def.o
  CC    stubs/clock-warp.o
  CC    stubs/cpu-get-clock.o
  CC    stubs/cpu-get-icount.o
  CC    stubs/dump.o
  CC    stubs/fdset-add-fd.o
  CC    stubs/fdset-find-fd.o
  CC    stubs/fdset-get-fd.o
  CC    stubs/fdset-remove-fd.o
  CC    stubs/gdbstub.o
  CC    stubs/get-fd.o
  CC    stubs/get-vm-name.o
  CC    stubs/iothread-lock.o
  CC    stubs/migr-blocker.o
  CC    stubs/mon-is-qmp.o
  CC    stubs/mon-printf.o
  CC    stubs/mon-print-filename.o
  CC    stubs/mon-protocol-event.o
  CC    stubs/mon-set-error.o
  CC    stubs/pci-drive-hot-add.o
  CC    stubs/reset.o
  CC    stubs/set-fd-handler.o
  CC    stubs/slirp.o
  CC    stubs/sysbus.o
  CC    stubs/vm-stop.o
  CC    stubs/vmstate.o
  CC    stubs/cpus.o
  AR    libqemustub.a
  LINK  qemu-ga
  CC    qemu-nbd.o
  CC    async.o
  CC    thread-pool.o
  CC    nbd.o
  CC    block.o
  CC    blockjob.o
  CC    main-loop.o
  CC    iohandler.o
  CC    qemu-timer.o
  CC    aio-posix.o
  CC    qemu-io-cmds.o
  CC    qemu-coroutine.o
  CC    qemu-coroutine-lock.o
  CC    qemu-coroutine-io.o
  CC    qemu-coroutine-sleep.o
  CC    coroutine-ucontext.o
  CC    block/raw.o
  CC    block/cow.o
  CC    block/qcow.o
  CC    block/vdi.o
  CC    block/vmdk.o
  CC    block/cloop.o
  CC    block/dmg.o
  CC    block/bochs.o
  CC    block/vpc.o
  CC    block/vvfat.o
  CC    block/qcow2.o
  CC    block/qcow2-refcount.o
  CC    block/qcow2-cluster.o
  CC    block/qcow2-snapshot.o
  CC    block/qcow2-cache.o
  CC    block/qed.o
  CC    block/qed-gencb.o
  CC    block/qed-l2-cache.o
  CC    block/qed-table.o
  CC    block/qed-cluster.o
  CC    block/qed-check.o
  CC    block/vhdx.o
  CC    block/parallels.o
  CC    block/blkdebug.o
  CC    block/blkverify.o
  CC    block/snapshot.o
  CC    block/qapi.o
  CC    block/raw-posix.o
  CC    block/nbd.o
  CC    block/sheepdog.o
  LINK  qemu-nbd
  GEN   qemu-img-cmds.h
  CC    qemu-img.o
  LINK  qemu-img
  CC    qemu-io.o
  LINK  qemu-io
  CC    qemu-bridge-helper.o
  LINK  qemu-bridge-helper
  CC    blockdev.o
  CC    blockdev-nbd.o
  CC    readline.o
  CC    qdev-monitor.o
  CC    device-hotplug.o
  CC    os-posix.o
  CC    migration.o
  CC    migration-tcp.o
  CC    qemu-char.o
  CC    block-migration.o
  CC    page_cache.o
  CC    xbzrle.o
  CC    migration-exec.o
  CC    migration-unix.o
  CC    migration-fd.o
  CC    bt-host.o
  CC    bt-vhci.o
  CC    dma-helpers.o
  CC    vl.o
  CC    tpm.o
  GEN   qmp-marshal.c
  CC    qmp-marshal.o
  CC    qmp.o
  CC    hmp.o
  CC    qemu-log.o
  CC    tcg-runtime.o
  CC    audio/audio.o
  CC    audio/noaudio.o
  CC    audio/wavaudio.o
  CC    audio/mixeng.o
  CC    audio/ossaudio.o
  CC    audio/wavcapture.o
  CC    backends/rng.o
  CC    backends/rng-egd.o
  CC    backends/rng-random.o
  CC    backends/msmouse.o
  CC    block/stream.o
  CC    block/commit.o
  CC    block/mirror.o
  CC    block/backup.o
  CC    disas/arm.o
  CC    disas/i386.o
  CC    fsdev/qemu-fsdev-dummy.o
  CC    fsdev/qemu-fsdev-opts.o
  CC    net/net.o
  CC    net/queue.o
  CC    net/checksum.o
  CC    net/util.o
  CC    net/hub.o
  CC    net/socket.o
  CC    net/dump.o
  CC    net/eth.o
  CC    net/tap.o
  CC    net/tap-linux.o
  CC    net/slirp.o
  CC    qom/object.o
  CC    qom/container.o
  CC    qom/qom-qobject.o
  CC    qom/cpu.o
  CC    slirp/cksum.o
  CC    slirp/if.o
  CC    slirp/ip_icmp.o
  CC    slirp/ip_input.o
  CC    slirp/ip_output.o
  CC    slirp/dnssearch.o
  CC    slirp/slirp.o
  CC    slirp/mbuf.o
  CC    slirp/misc.o
  CC    slirp/sbuf.o
  CC    slirp/socket.o
  CC    slirp/tcp_input.o
  CC    slirp/tcp_output.o
  CC    slirp/tcp_subr.o
  CC    slirp/tcp_timer.o
  CC    slirp/udp.o
  CC    slirp/bootp.o
  CC    slirp/tftp.o
  CC    slirp/arp_table.o
  CC    ui/keymaps.o
  CC    ui/console.o
  CC    ui/cursor.o
  CC    ui/input.o
  CC    ui/qemu-pixman.o
  CC    ui/curses.o
  CC    ui/vnc.o
  CC    ui/d3des.o
  CC    ui/vnc-enc-zlib.o
  CC    ui/vnc-enc-hextile.o
  CC    ui/vnc-enc-tight.o
  CC    ui/vnc-palette.o
  CC    ui/vnc-enc-zrle.o
  CC    ui/vnc-jobs.o
  CC    hw/audio/es1370.o
  CC    hw/audio/ac97.o
  CC    hw/audio/intel-hda.o
  CC    hw/audio/hda-codec.o
  CC    hw/audio/wm8750.o
  CC    hw/audio/pl041.o
  CC    hw/audio/lm4549.o
  CC    hw/audio/marvell_88w8618.o
  CC    hw/block/block.o
  CC    hw/block/cdrom.o
  CC    hw/block/hd-geometry.o
  CC    hw/block/m25p80.o
  CC    hw/block/nand.o
  CC    hw/block/pflash_cfi01.o
  CC    hw/block/pflash_cfi02.o
  CC    hw/block/ecc.o
  CC    hw/block/onenand.o
  CC    hw/block/nvme.o
  CC    hw/bt/core.o
  CC    hw/bt/l2cap.o
  CC    hw/bt/sdp.o
  CC    hw/bt/hci.o
  CC    hw/bt/hid.o
  CC    hw/bt/hci-csr.o
  CC    hw/char/tpci200.o
  CC    hw/char/ipoctal232.o
  CC    hw/char/ipack.o
  CC    hw/char/pl011.o
  CC    hw/char/serial.o
  CC    hw/char/serial-isa.o
  CC    hw/char/serial-pci.o
  CC    hw/char/virtio-console.o
  CC    hw/char/cadence_uart.o
  CC    hw/char/imx_serial.o
  CC    hw/core/qdev.o
  CC    hw/core/qdev-properties.o
  CC    hw/core/irq.o
  CC    hw/core/ptimer.o
  CC    hw/core/sysbus.o
  CC    hw/core/null-machine.o
  CC    hw/core/loader.o
  CC    hw/core/qdev-properties-system.o
  CC    hw/display/ads7846.o
  CC    hw/display/pl110.o
  CC    hw/display/ssd0303.o
  CC    hw/display/ssd0323.o
  CC    hw/display/blizzard.o
  CC    hw/display/exynos4210_fimd.o
  CC    hw/display/framebuffer.o
  CC    hw/display/tc6393xb.o
  CC    hw/dma/pl080.o
  CC    hw/dma/pl330.o
  CC    hw/gpio/max7310.o
  CC    hw/gpio/pl061.o
  CC    hw/gpio/zaurus.o
  CC    hw/i2c/core.o
  CC    hw/i2c/smbus.o
  CC    hw/i2c/smbus_eeprom.o
  CC    hw/i2c/versatile_i2c.o
  CC    hw/i2c/bitbang_i2c.o
  CC    hw/i2c/exynos4210_i2c.o
  CC    hw/ide/core.o
  CC    hw/ide/atapi.o
  CC    hw/ide/qdev.o
  CC    hw/ide/pci.o
  CC    hw/ide/microdrive.o
  CC    hw/ide/ahci.o
  CC    hw/ide/ich.o
  CC    hw/input/hid.o
  CC    hw/input/lm832x.o
  CC    hw/input/pl050.o
  CC    hw/input/ps2.o
  CC    hw/input/stellaris_input.o
  CC    hw/input/tsc2005.o
  CC    hw/intc/pl190.o
  CC    hw/intc/imx_avic.o
  CC    hw/intc/realview_gic.o
  CC    hw/intc/arm_gic_common.o
  CC    hw/intc/arm_gic.o
  CC    hw/isa/isa-bus.o
  CC    hw/misc/max111x.o
  CC    hw/misc/tmp105.o
  CC    hw/misc/pci-testdev.o
  CC    hw/misc/arm_l2x0.o
  CC    hw/net/ne2000.o
  CC    hw/net/eepro100.o
  CC    hw/net/pcnet-pci.o
  CC    hw/net/pcnet.o
  CC    hw/net/e1000.o
  CC    hw/net/rtl8139.o
  CC    hw/net/vmxnet_tx_pkt.o
  CC    hw/net/vmxnet_rx_pkt.o
  CC    hw/net/vmxnet3.o
  CC    hw/net/smc91c111.o
  CC    hw/net/lan9118.o
  CC    hw/net/xgmac.o
  CC    hw/net/cadence_gem.o
  CC    hw/net/stellaris_enet.o
  CC    hw/nvram/eeprom93xx.o
  CC    hw/nvram/fw_cfg.o
  CC    hw/pci-bridge/pci_bridge_dev.o
  CC    hw/pci-bridge/ioh3420.o
  CC    hw/pci-bridge/xio3130_upstream.o
  CC    hw/pci-bridge/xio3130_downstream.o
  CC    hw/pci-bridge/i82801b11.o
  CC    hw/pci-host/pam.o
  CC    hw/pci-host/versatile.o
  CC    hw/pci/pci.o
  CC    hw/pci/pci_bridge.o
  CC    hw/pci/msix.o
  CC    hw/pci/msi.o
  CC    hw/pci/shpc.o
  CC    hw/pci/slotid_cap.o
  CC    hw/pci/pci_host.o
  CC    hw/pci/pcie_host.o
  CC    hw/pci/pcie.o
  CC    hw/pci/pcie_aer.o
  CC    hw/pci/pcie_port.o
  CC    hw/pci/pci-stub.o
  CC    hw/scsi/scsi-disk.o
  CC    hw/scsi/scsi-generic.o
  CC    hw/scsi/scsi-bus.o
  CC    hw/scsi/lsi53c895a.o
  CC    hw/scsi/megasas.o
  CC    hw/scsi/vmw_pvscsi.o
  CC    hw/scsi/esp.o
  CC    hw/scsi/esp-pci.o
  CC    hw/sd/pl181.o
  CC    hw/sd/ssi-sd.o
  CC    hw/sd/sd.o
  CC    hw/sd/sdhci.o
  CC    hw/ssi/pl022.o
  CC    hw/ssi/ssi.o
  CC    hw/ssi/xilinx_spips.o
  CC    hw/timer/arm_timer.o
  CC    hw/timer/arm_mptimer.o
  CC    hw/timer/cadence_ttc.o
  CC    hw/timer/ds1338.o
  CC    hw/timer/pl031.o
  CC    hw/timer/twl92230.o
  CC    hw/timer/imx_epit.o
  CC    hw/timer/imx_gpt.o
  CC    hw/usb/core.o
  CC    hw/usb/combined-packet.o
  CC    hw/usb/bus.o
  CC    hw/usb/desc.o
  CC    hw/usb/libhw.o
  CC    hw/usb/hcd-uhci.o
  CC    hw/usb/hcd-ohci.o
  CC    hw/usb/hcd-ehci.o
  CC    hw/usb/hcd-ehci-pci.o
  CC    hw/usb/hcd-ehci-sysbus.o
  CC    hw/usb/hcd-xhci.o
  CC    hw/usb/hcd-musb.o
  CC    hw/usb/dev-hub.o
  CC    hw/usb/dev-hid.o
  CC    hw/usb/dev-wacom.o
  CC    hw/usb/dev-storage.o
  CC    hw/usb/dev-uas.o
  CC    hw/usb/dev-audio.o
  CC    hw/usb/dev-serial.o
  CC    hw/usb/dev-network.o
  CC    hw/usb/dev-bluetooth.o
  CC    hw/usb/dev-smartcard-reader.o
  CC    hw/usb/ccid-card-passthru.o
  CC    hw/usb/host-linux.o
  CC    hw/usb/host-legacy.o
  CC    hw/virtio/virtio-rng.o
  CC    hw/virtio/virtio-pci.o
  CC    hw/virtio/virtio-bus.o
  CC    hw/virtio/virtio-mmio.o
  CC    hw/watchdog/watchdog.o
  CC    hw/watchdog/wdt_i6300esb.o
  GEN   arm-softmmu/hmp-commands.h
  GEN   arm-softmmu/qmp-commands-old.h
  GEN   arm-softmmu/config-target.h
  CC    arm-softmmu/exec.o
  CC    arm-softmmu/translate-all.o
  CC    arm-softmmu/cpu-exec.o
  CC    arm-softmmu/tcg/tcg.o
  CC    arm-softmmu/tcg/optimize.o
  CC    arm-softmmu/fpu/softfloat.o
  CC    arm-softmmu/disas.o
  GEN   arm-softmmu/gdbstub-xml.c
  CC    arm-softmmu/gdbstub-xml.o
  CC    arm-softmmu/kvm-stub.o
  CC    arm-softmmu/arch_init.o
  CC    arm-softmmu/cpus.o
  CC    arm-softmmu/monitor.o
  CC    arm-softmmu/gdbstub.o
  CC    arm-softmmu/balloon.o
  CC    arm-softmmu/ioport.o
  CC    arm-softmmu/qtest.o
  CC    arm-softmmu/device_tree.o
  CC    arm-softmmu/memory.o
  CC    arm-softmmu/savevm.o
  CC    arm-softmmu/cputlb.o
  CC    arm-softmmu/memory_mapping.o
  CC    arm-softmmu/dump.o
  CC    arm-softmmu/xen-stub.o
  CC    arm-softmmu/hw/arm/boot.o
  CC    arm-softmmu/hw/arm/collie.o
  CC    arm-softmmu/hw/arm/exynos4_boards.o
  CC    arm-softmmu/hw/arm/gumstix.o
  CC    arm-softmmu/hw/arm/highbank.o
  CC    arm-softmmu/hw/arm/integratorcp.o
  CC    arm-softmmu/hw/arm/kzm.o
  CC    arm-softmmu/hw/arm/mainstone.o
  CC    arm-softmmu/hw/arm/musicpal.o
  CC    arm-softmmu/hw/arm/nseries.o
  CC    arm-softmmu/hw/arm/omap_sx1.o
  CC    arm-softmmu/hw/arm/palm.o
  CC    arm-softmmu/hw/arm/pic_cpu.o
  CC    arm-softmmu/hw/arm/realview.o
  CC    arm-softmmu/hw/arm/spitz.o
  CC    arm-softmmu/hw/arm/stellaris.o
  CC    arm-softmmu/hw/arm/tosa.o
  CC    arm-softmmu/hw/arm/versatilepb.o
  CC    arm-softmmu/hw/arm/vexpress.o
  CC    arm-softmmu/hw/arm/xilinx_zynq.o
  CC    arm-softmmu/hw/arm/z2.o
  CC    arm-softmmu/hw/arm/armv7m.o
  CC    arm-softmmu/hw/arm/exynos4210.o
  CC    arm-softmmu/hw/arm/pxa2xx.o
  CC    arm-softmmu/hw/arm/pxa2xx_gpio.o
  CC    arm-softmmu/hw/arm/pxa2xx_pic.o
  CC    arm-softmmu/hw/arm/omap1.o
  CC    arm-softmmu/hw/arm/omap2.o
  CC    arm-softmmu/hw/arm/strongarm.o
  CC    arm-softmmu/target-arm/arm-semi.o
  CC    arm-softmmu/target-arm/machine.o
  CC    arm-softmmu/target-arm/kvm-stub.o
  CC    arm-softmmu/target-arm/translate.o
  CC    arm-softmmu/target-arm/op_helper.o
  CC    arm-softmmu/target-arm/helper.o
  CC    arm-softmmu/target-arm/cpu.o
  CC    arm-softmmu/target-arm/neon_helper.o
  CC    arm-softmmu/target-arm/iwmmxt_helper.o
  CC    arm-softmmu/target-arm/gdbstub.o
  CC    arm-softmmu/hw/block/virtio-blk.o
  CC    arm-softmmu/hw/char/exynos4210_uart.o
  CC    arm-softmmu/hw/char/omap_uart.o
  CC    arm-softmmu/hw/char/virtio-serial-bus.o
  CC    arm-softmmu/hw/cpu/arm11mpcore.o
  CC    arm-softmmu/hw/cpu/a9mpcore.o
  CC    arm-softmmu/hw/cpu/a15mpcore.o
  CC    arm-softmmu/hw/display/omap_dss.o
  CC    arm-softmmu/hw/display/omap_lcdc.o
  CC    arm-softmmu/hw/display/pxa2xx_lcd.o
  CC    arm-softmmu/hw/display/vga.o
  CC    arm-softmmu/hw/dma/omap_dma.o
  CC    arm-softmmu/hw/dma/soc_dma.o
  CC    arm-softmmu/hw/dma/pxa2xx_dma.o
  CC    arm-softmmu/hw/gpio/omap_gpio.o
  CC    arm-softmmu/hw/i2c/omap_i2c.o
  CC    arm-softmmu/hw/input/pxa2xx_keypad.o
  CC    arm-softmmu/hw/input/tsc210x.o
  CC    arm-softmmu/hw/intc/armv7m_nvic.o
  CC    arm-softmmu/hw/intc/exynos4210_gic.o
  CC    arm-softmmu/hw/intc/exynos4210_combiner.o
  CC    arm-softmmu/hw/intc/omap_intc.o
  CC    arm-softmmu/hw/misc/vfio.o
  CC    arm-softmmu/hw/misc/arm_sysctl.o
  CC    arm-softmmu/hw/misc/a9scu.o
  CC    arm-softmmu/hw/misc/cbus.o
  CC    arm-softmmu/hw/misc/exynos4210_pmu.o
  CC    arm-softmmu/hw/misc/imx_ccm.o
  CC    arm-softmmu/hw/misc/mst_fpga.o
  CC    arm-softmmu/hw/misc/omap_clk.o
  CC    arm-softmmu/hw/misc/omap_gpmc.o
  CC    arm-softmmu/hw/misc/omap_l4.o
  CC    arm-softmmu/hw/misc/omap_sdrc.o
  CC    arm-softmmu/hw/misc/omap_tap.o
  CC    arm-softmmu/hw/misc/pxa2xx_pcmcia.o
  CC    arm-softmmu/hw/misc/zynq_slcr.o
  CC    arm-softmmu/hw/net/virtio-net.o
  CC    arm-softmmu/hw/net/vhost_net.o
  CC    arm-softmmu/hw/scsi/virtio-scsi.o
  CC    arm-softmmu/hw/scsi/vhost-scsi.o
  CC    arm-softmmu/hw/sd/omap_mmc.o
  CC    arm-softmmu/hw/sd/pxa2xx_mmci.o
  CC    arm-softmmu/hw/ssi/omap_spi.o
  CC    arm-softmmu/hw/timer/exynos4210_mct.o
  CC    arm-softmmu/hw/timer/exynos4210_pwm.o
  CC    arm-softmmu/hw/timer/exynos4210_rtc.o
  CC    arm-softmmu/hw/timer/omap_gptimer.o
  CC    arm-softmmu/hw/timer/omap_synctimer.o
  CC    arm-softmmu/hw/timer/pxa2xx_timer.o
  CC    arm-softmmu/hw/timer/tusb6010.o
  CC    arm-softmmu/hw/virtio/virtio.o
  CC    arm-softmmu/hw/virtio/virtio-balloon.o
  CC    arm-softmmu/hw/virtio/vhost.o
  LINK  arm-softmmu/qemu-system-arm
  GEN   arm-linux-user/config-target.h
  CC    arm-linux-user/exec.o
  CC    arm-linux-user/translate-all.o
  CC    arm-linux-user/cpu-exec.o
  CC    arm-linux-user/tcg/tcg.o
  CC    arm-linux-user/tcg/optimize.o
  CC    arm-linux-user/fpu/softfloat.o
  CC    arm-linux-user/disas.o
  GEN   arm-linux-user/gdbstub-xml.c
  CC    arm-linux-user/gdbstub-xml.o
  CC    arm-linux-user/kvm-stub.o
  CC    arm-linux-user/gdbstub.o
  CC    arm-linux-user/thunk.o
  CC    arm-linux-user/user-exec.o
  CC    arm-linux-user/linux-user/main.o
  CC    arm-linux-user/linux-user/syscall.o
  CC    arm-linux-user/linux-user/strace.o
  CC    arm-linux-user/linux-user/mmap.o
  CC    arm-linux-user/linux-user/signal.o
  CC    arm-linux-user/linux-user/elfload.o
  CC    arm-linux-user/linux-user/linuxload.o
  CC    arm-linux-user/linux-user/uaccess.o
  CC    arm-linux-user/linux-user/cpu-uname.o
  CC    arm-linux-user/linux-user/flatload.o
  CC    arm-linux-user/target-arm/arm-semi.o
  CC    arm-linux-user/target-arm/kvm-stub.o
  CC    arm-linux-user/target-arm/translate.o
  CC    arm-linux-user/target-arm/op_helper.o
  CC    arm-linux-user/target-arm/helper.o
  CC    arm-linux-user/target-arm/cpu.o
  CC    arm-linux-user/target-arm/neon_helper.o
  CC    arm-linux-user/target-arm/iwmmxt_helper.o
  CC    arm-linux-user/target-arm/gdbstub.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11_cpdo.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11_cpdt.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11_cprt.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpopcode.o
  CC    arm-linux-user/linux-user/arm/nwfpe/single_cpdo.o
  CC    arm-linux-user/linux-user/arm/nwfpe/double_cpdo.o
  CC    arm-linux-user/linux-user/arm/nwfpe/extended_cpdo.o
  LINK  arm-linux-user/qemu-arm
  CPP   optionrom/multiboot.asm
  AS    optionrom/multiboot.o
  Building optionrom/multiboot.img
  Building optionrom/multiboot.raw
  Signing optionrom/multiboot.bin
  CPP   optionrom/linuxboot.asm
  AS    optionrom/linuxboot.o
  Building optionrom/linuxboot.img
  Building optionrom/linuxboot.raw
  Signing optionrom/linuxboot.bin
  CPP   optionrom/kvmvapic.asm
  AS    optionrom/kvmvapic.o
  Building optionrom/kvmvapic.img
  Building optionrom/kvmvapic.raw
  Signing optionrom/kvmvapic.bin
crifan@ubuntu:qemu-1.6.0-rc3$ 

其中,注意到有对应的:

LINK arm-softmmu/qemu-system-arm

LINK arm-linux-user/qemu-arm

7.再去(不用sudo)make install安装:

crifan@ubuntu:qemu-1.6.0-rc3$ make install
make  all-recursive
Making all in pixman
make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in test
make[3]: Nothing to be done for `all'.
	CHK version_gen.h
install -d -m 0755 "/opt/qemu/share/doc/qemu"
install -c -m 0644 qemu-doc.html  qemu-tech.html "/opt/qemu/share/doc/qemu"
install -c -m 0644 QMP/qmp-commands.txt "/opt/qemu/share/doc/qemu"
install -d -m 0755 "/opt/qemu/share/man/man1"
install -c -m 0644 qemu.1 "/opt/qemu/share/man/man1"
install -c -m 0644 qemu-img.1 "/opt/qemu/share/man/man1"
install -d -m 0755 "/opt/qemu/share/man/man8"
install -c -m 0644 qemu-nbd.8 "/opt/qemu/share/man/man8"
install -d -m 0755 "/opt/qemu/share/qemu"
install -d -m 0755 "/opt/qemu/etc/qemu"
install -c -m 0644 /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/sysconfigs/target/target-x86_64.conf "/opt/qemu/etc/qemu"
install -d -m 0755 "/opt/qemu/var"/run
install -d -m 0755 "/opt/qemu/bin"
libtool --quiet --mode=install install -c -m 0755  qemu-ga qemu-nbd qemu-img qemu-io  "/opt/qemu/bin"
install -d -m 0755 "/opt/qemu/libexec"
libtool --quiet --mode=install install -c -m 0755  qemu-bridge-helper "/opt/qemu/libexec"
set -e; for x in bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin acpi-dsdt.aml q35-acpi-dsdt.aml ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom qemu-icon.bmp qemu_logo_no_text.svg bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb multiboot.bin linuxboot.bin kvmvapic.bin s390-zipl.rom s390-ccw.img spapr-rtas.bin slof.bin palcode-clipper; do \
		install -c -m 0644 /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/pc-bios/$x "/opt/qemu/share/qemu"; \
	done
install -d -m 0755 "/opt/qemu/share/qemu/keymaps"
set -e; for x in da     en-gb  et  fr     fr-ch  is  lt  modifiers  no  pt-br  sv ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr bepo; do \
		install -c -m 0644 /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/pc-bios/keymaps/$x "/opt/qemu/share/qemu/keymaps"; \
	done
for d in arm-softmmu arm-linux-user; do \
	make -C $d install || exit 1 ; \
        done
make[1]: Entering directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-softmmu'
install -m 755 qemu-system-arm "/opt/qemu/bin"
make[1]: Leaving directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-softmmu'
make[1]: Entering directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-linux-user'
install -m 755 qemu-arm "/opt/qemu/bin"
make[1]: Leaving directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-linux-user'
crifan@ubuntu:qemu-1.6.0-rc3$ 

8.再去确认一下:

crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/ -lha
total 28K
drwxr-xr-x 7 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 5 crifan root   4.0K Aug 15 02:51 ..
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 bin
drwxr-xr-x 3 crifan crifan 4.0K Aug 15 02:51 etc
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 libexec
drwxr-xr-x 5 crifan crifan 4.0K Aug 15 02:51 share
drwxr-xr-x 3 crifan crifan 4.0K Aug 15 02:51 var
crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/bin -lha
total 26M
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 7 crifan crifan 4.0K Aug 15 02:51 ..
-rwxr-xr-x 1 crifan crifan 3.2M Aug 15 02:51 qemu-arm
-rwxr-xr-x 1 crifan crifan 778K Aug 15 02:51 qemu-ga
-rwxr-xr-x 1 crifan crifan 2.0M Aug 15 02:51 qemu-img
-rwxr-xr-x 1 crifan crifan 2.0M Aug 15 02:51 qemu-io
-rwxr-xr-x 1 crifan crifan 1.9M Aug 15 02:51 qemu-nbd
-rwxr-xr-x 1 crifan crifan  17M Aug 15 02:51 qemu-system-arm
crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/etc/ -lha
total 12K
drwxr-xr-x 3 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 7 crifan crifan 4.0K Aug 15 02:51 ..
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 qemu
crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/etc/qemu/ -lha
total 8.0K
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 3 crifan crifan 4.0K Aug 15 02:51 ..
-rw-r--r-- 1 crifan crifan    0 Aug 15 02:51 target-x86_64.conf
crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/libexec/ -lha
total 32K
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 7 crifan crifan 4.0K Aug 15 02:51 ..
-rwxr-xr-x 1 crifan crifan  23K Aug 15 02:51 qemu-bridge-helper
crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/var/ -lha
total 12K
drwxr-xr-x 3 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 7 crifan crifan 4.0K Aug 15 02:51 ..
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 run
crifan@ubuntu:qemu-1.6.0-rc3$ ls /opt/qemu/var/run/ -lha
total 8.0K
drwxr-xr-x 2 crifan crifan 4.0K Aug 15 02:51 .
drwxr-xr-x 3 crifan crifan 4.0K Aug 15 02:51 ..
crifan@ubuntu:qemu-1.6.0-rc3$ 

可见,就有了:

qemu-system-arm

供后期使用了。

9.再把对应的路径:

/opt/qemu/bin

加到我的.bashrc中:

#PATH=$PATH:/opt/crosstool-ng/bin:/opt/crosscompile/xscale/gcc-4.6.0-glibc-2.9/bin:/opt/crosscompile/curl/bin:/opt/crosscompile/pcre/bin:/usr/lib/jvm/java-1.7.0-openjdk-i386/
PATH=$PATH:/opt/crosstool-ng/bin:/opt/crosscompile/xscale/gcc-4.6.0-glibc-2.9/bin:/opt/crosscompile/curl/bin:/opt/crosscompile/pcre/bin:/usr/lib/jvm/java-1.7.0-openjdk-i386/:/opt/qemu/bin

使其生效,确认能找到qemu-system-arm,顺带看看其help:

crifan@ubuntu:qemu-1.6.0-rc3$ qemu-
qemu-arm         qemu-ga          qemu-img         qemu-io          qemu-nbd         qemu-system-arm  
crifan@ubuntu:qemu-1.6.0-rc3$ qemu-system-arm --help
QEMU emulator version 1.5.93, Copyright (c) 2003-2008 Fabrice Bellard
usage: qemu-system-arm [options] [disk_image]

'disk_image' is a raw hard disk image for IDE hard disk 0

Standard options:
-h or -help     display this help and exit
-version        display version information and exit
-machine [type=]name[,prop[=value][,...]]
                selects emulated machine ('-machine help' for list)
                property accel=accel1[:accel2[:...]] selects accelerator
                supported accelerators are kvm, xen, tcg (default: tcg)
                kernel_irqchip=on|off controls accelerated irqchip support
                kvm_shadow_mem=size of KVM shadow MMU
                dump-guest-core=on|off include guest memory in a core dump (default=on)
                mem-merge=on|off controls memory merge support (default: on)
-cpu cpu        select CPU ('-cpu help' for list)
-smp [cpus=]n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets]
                set the number of CPUs to 'n' [default=1]
                maxcpus= maximum number of total cpus, including
                offline CPUs for hotplug, etc
                cores= number of CPU cores on one socket
                threads= number of threads on one CPU core
                sockets= number of discrete sockets in the system
-numa node[,mem=size][,cpus=cpu[-cpu]][,nodeid=node]
-add-fd fd=fd,set=set[,opaque=opaque]
                Add 'fd' to fd 'set'
-set group.id.arg=value
                set <arg> parameter for item <id> of type <group>
                i.e. -set drive.$id.file=/path/to/image
-global driver.prop=value
                set a global default for a driver property
-boot [order=drives][,once=drives][,menu=on|off]
      [,splash=sp_name][,splash-time=sp_time][,reboot-timeout=rb_time][,strict=on|off]
                'drives': floppy (a), hard disk (c), CD-ROM (d), network (n)
                'sp_name': the file's name that would be passed to bios as logo picture, if menu=on
                'sp_time': the period that splash picture last if menu=on, unit is ms
                'rb_timeout': the timeout before guest reboot when boot failed, unit is ms
-m megs         set virtual RAM size to megs MB [default=128]
-mem-path FILE  provide backing storage for guest RAM
-mem-prealloc   preallocate guest memory (use with -mem-path)
-k language     use keyboard layout (for example 'fr' for French)
-audio-help     print list of audio drivers and their options
-soundhw c1,... enable audio support
                and only specified sound cards (comma separated list)
                use '-soundhw help' to get the list of supported cards
                use '-soundhw all' to enable all of them
-balloon none   disable balloon device
-balloon virtio[,addr=str]
                enable virtio balloon device (default)
-device driver[,prop[=value][,...]]
                add device (based on driver)
                prop=value,... sets driver properties
                use '-device help' to print all possible drivers
                use '-device driver,help' to print all possible properties
-name string1[,process=string2]
                set the name of the guest
                string1 sets the window title and string2 the process name (on Linux)
-uuid %08x-%04x-%04x-%04x-%012x
                specify machine UUID

Block device options:
-fda/-fdb file  use 'file' as floppy disk 0/1 image
-hda/-hdb file  use 'file' as IDE hard disk 0/1 image
-hdc/-hdd file  use 'file' as IDE hard disk 2/3 image
-cdrom file     use 'file' as IDE cdrom image (cdrom is ide1 master)
-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]
       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]
       [,cache=writethrough|writeback|none|directsync|unsafe][,format=f]
       [,serial=s][,addr=A][,id=name][,aio=threads|native]
       [,readonly=on|off][,copy-on-read=on|off]
       [[,bps=b]|[[,bps_rd=r][,bps_wr=w]]][[,iops=i]|[[,iops_rd=r][,iops_wr=w]]
                use 'file' as a drive image
-mtdblock file  use 'file' as on-board Flash memory image
-sd file        use 'file' as SecureDigital card image
-pflash file    use 'file' as a parallel flash image
-snapshot       write to temporary files instead of disk image files
-hdachs c,h,s[,t]
                force hard disk 0 physical geometry and the optional BIOS
                translation (t=none or lba) (usually QEMU can guess them)
-fsdev fsdriver,id=id[,path=path,][security_model={mapped-xattr|mapped-file|passthrough|none}]
 [,writeout=immediate][,readonly][,socket=socket|sock_fd=sock_fd]
-virtfs local,path=path,mount_tag=tag,security_model=[mapped-xattr|mapped-file|passthrough|none]
        [,writeout=immediate][,readonly][,socket=socket|sock_fd=sock_fd]
-virtfs_synth Create synthetic file system image

USB options:
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'

Display options:
-display sdl[,frame=on|off][,alt_grab=on|off][,ctrl_grab=on|off]
            [,window_close=on|off]|curses|none|
            vnc=<display>[,<optargs>]
                select display type
-nographic      disable graphical output and redirect serial I/Os to console
-curses         use a curses/ncurses interface instead of SDL
-no-frame       open SDL window without a frame and window decorations
-alt-grab       use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt)
-ctrl-grab      use Right-Ctrl to grab mouse (instead of Ctrl-Alt)
-no-quit        disable SDL window close capability
-sdl            enable SDL
-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]
       [,x509-key-file=<file>][,x509-key-password=<file>]
       [,x509-cert-file=<file>][,x509-cacert-file=<file>]
       [,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6]
       [,tls-ciphers=<list>]
       [,tls-channel=[main|display|cursor|inputs|record|playback]]
       [,plaintext-channel=[main|display|cursor|inputs|record|playback]]
       [,sasl][,password=<secret>][,disable-ticketing]
       [,image-compression=[auto_glz|auto_lz|quic|glz|lz|off]]
       [,jpeg-wan-compression=[auto|never|always]]
       [,zlib-glz-wan-compression=[auto|never|always]]
       [,streaming-video=[off|all|filter]][,disable-copy-paste]
       [,disable-agent-file-xfer][,agent-mouse=[on|off]]
       [,playback-compression=[on|off]][,seamless-migration=[on|off]]
   enable spice
   at least one of {port, tls-port} is mandatory
-portrait       rotate graphical output 90 deg left (only PXA LCD)
-rotate <deg>   rotate graphical output some deg left (only PXA LCD)
-vga [std|cirrus|vmware|qxl|xenfb|none]
                select video card type
-full-screen    start in full screen
-vnc display    start a VNC server on display

Network options:
-net nic[,vlan=n][,macaddr=mac][,model=type][,name=str][,addr=str][,vectors=v]
                create a new Network Interface Card and connect it to VLAN 'n'
-net user[,vlan=n][,name=str][,net=addr[/mask]][,host=addr][,restrict=on|off]
         [,hostname=host][,dhcpstart=addr][,dns=addr][,dnssearch=domain][,tftp=dir]
         [,bootfile=f][,hostfwd=rule][,guestfwd=rule][,smb=dir[,smbserver=addr]]
                connect the user mode network stack to VLAN 'n', configure its
                DHCP server and enabled optional services
-net tap[,vlan=n][,name=str][,fd=h][,fds=x:y:...:z][,ifname=name][,script=file][,downscript=dfile][,helper=helper][,sndbuf=nbytes][,vnet_hdr=on|off][,vhost=on|off][,vhostfd=h][,vhostfds=x:y:...:z][,vhostforce=on|off][,queues=n]
                connect the host TAP network interface to VLAN 'n'
                use network scripts 'file' (default=/etc/qemu-ifup)
                to configure it and 'dfile' (default=/etc/qemu-ifdown)
                to deconfigure it
                use '[down]script=no' to disable script execution
                use network helper 'helper' (default=/opt/qemu/libexec/qemu-bridge-helper) to
                configure it
                use 'fd=h' to connect to an already opened TAP interface
                use 'fds=x:y:...:z' to connect to already opened multiqueue capable TAP interfaces
                use 'sndbuf=nbytes' to limit the size of the send buffer (the
                default is disabled 'sndbuf=0' to enable flow control set 'sndbuf=1048576')
                use vnet_hdr=off to avoid enabling the IFF_VNET_HDR tap flag
                use vnet_hdr=on to make the lack of IFF_VNET_HDR support an error condition
                use vhost=on to enable experimental in kernel accelerator
                    (only has effect for virtio guests which use MSIX)
                use vhostforce=on to force vhost on for non-MSIX virtio guests
                use 'vhostfd=h' to connect to an already opened vhost net device
                use 'vhostfds=x:y:...:z to connect to multiple already opened vhost net devices
                use 'queues=n' to specify the number of queues to be created for multiqueue TAP
-net bridge[,vlan=n][,name=str][,br=bridge][,helper=helper]
                connects a host TAP network interface to a host bridge device 'br'
                (default=br0) using the program 'helper'
                (default=/opt/qemu/libexec/qemu-bridge-helper)
-net socket[,vlan=n][,name=str][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,name=str][,fd=h][,mcast=maddr:port[,localaddr=addr]]
                connect the vlan 'n' to multicast maddr and port
                use 'localaddr=addr' to specify the host address to send packets from
-net socket[,vlan=n][,name=str][,fd=h][,udp=host:port][,localaddr=host:port]
                connect the vlan 'n' to another VLAN using an UDP tunnel
-net dump[,vlan=n][,file=f][,len=n]
                dump traffic on vlan 'n' to file 'f' (max n bytes per packet)
-net none       use it alone to have zero network devices. If no -net option
                is provided, the default is '-net nic -net user'
-netdev [user|tap|bridge|socket|hubport],id=str[,option][,option][,...]

Character device options:
-chardev null,id=id[,mux=on|off]
-chardev socket,id=id[,host=host],port=host[,to=to][,ipv4][,ipv6][,nodelay]
         [,server][,nowait][,telnet][,mux=on|off] (tcp)
-chardev socket,id=id,path=path[,server][,nowait][,telnet],[mux=on|off] (unix)
-chardev udp,id=id[,host=host],port=port[,localaddr=localaddr]
         [,localport=localport][,ipv4][,ipv6][,mux=on|off]
-chardev msmouse,id=id[,mux=on|off]
-chardev vc,id=id[[,width=width][,height=height]][[,cols=cols][,rows=rows]]
         [,mux=on|off]
-chardev ringbuf,id=id[,size=size]
-chardev file,id=id,path=path[,mux=on|off]
-chardev pipe,id=id,path=path[,mux=on|off]
-chardev pty,id=id[,mux=on|off]
-chardev stdio,id=id[,mux=on|off][,signal=on|off]
-chardev serial,id=id,path=path[,mux=on|off]
-chardev tty,id=id,path=path[,mux=on|off]
-chardev parallel,id=id,path=path[,mux=on|off]
-chardev parport,id=id,path=path[,mux=on|off]

Device URL Syntax:
-iscsi [user=user][,password=password]
       [,header-digest=CRC32C|CR32C-NONE|NONE-CRC32C|NONE
       [,initiator-name=iqn]
                iSCSI session parameters
Bluetooth(R) options:
-bt hci,null    dumb bluetooth HCI - doesn't respond to commands
-bt hci,host[:id]
                use host's HCI with the given name
-bt hci[,vlan=n]
                emulate a standard HCI in virtual scatternet 'n'
-bt vhci[,vlan=n]
                add host computer to virtual scatternet 'n' using VHCI
-bt device:dev[,vlan=n]
                emulate a bluetooth device 'dev' in scatternet 'n'

Linux/Multiboot boot specific:
-kernel bzImage use 'bzImage' as kernel image
-append cmdline use 'cmdline' as kernel command line
-initrd file    use 'file' as initial ram disk
-dtb    file    use 'file' as device tree image

Debug/Expert options:
-serial dev     redirect the serial port to char device 'dev'
-parallel dev   redirect the parallel port to char device 'dev'
-monitor dev    redirect the monitor to char device 'dev'
-qmp dev        like -monitor but opens in 'control' mode
-mon [chardev=]name[,mode=readline|control][,default]
-debugcon dev   redirect the debug console to char device 'dev'
-pidfile file   write PID to 'file'
-singlestep     always run in singlestep mode
-S              freeze CPU at startup (use 'c' to start execution)
-realtime [mlock=on|off]
                run qemu with realtime features
                mlock=on|off controls mlock support (default: on)
-gdb dev        wait for gdb connection on 'dev'
-s              shorthand for -gdb tcp::1234
-d item1,...    enable logging of specified items (use '-d help' for a list of log items)
-D logfile      output log to logfile (default stderr)
-L path         set the directory for the BIOS, VGA BIOS and keymaps
-bios file      set the filename for the BIOS
-enable-kvm     enable KVM full virtualization support
-xen-domid id   specify xen guest domain id
-xen-create     create domain using xen hypercalls, bypassing xend
                warning: should not be used when xend is in use
-xen-attach     attach to existing xen domain
                xend will use this when starting QEMU
-no-reboot      exit instead of rebooting
-no-shutdown    stop before shutdown
-loadvm [tag|id]
                start right away with a saved state (loadvm in monitor)
-daemonize      daemonize QEMU after initializing
-option-rom rom load a file, rom, into the option ROM space
-clock          force the use of the given methods for timer alarm.
                To see what timers are available use '-clock help'
-rtc [base=utc|localtime|date][,clock=host|rt|vm][,driftfix=none|slew]
                set the RTC base and clock, enable drift fix for clock ticks (x86 only)
-icount [N|auto]
                enable virtual instruction counter with 2^N clock ticks per
                instruction
-watchdog i6300esb|ib700
                enable virtual hardware watchdog [default=none]
-watchdog-action reset|shutdown|poweroff|pause|debug|none
                action when watchdog fires [default=reset]
-echr chr       set terminal escape character instead of ctrl-a
-virtioconsole c
                set virtio console
-show-cursor    show cursor
-tb-size n      set TB size
-incoming p     prepare for incoming migration, listen on port p
-nodefaults     don't create default devices
-chroot dir     chroot to dir just before starting the VM
-runas user     change to user id user just before starting the VM
-semihosting    semihosting mode
-old-param      old param mode
-sandbox <arg>  Enable seccomp mode 2 system call filter (default 'off').
-readconfig <file>
-writeconfig <file>
                read/write config file
-nodefconfig
                do not load default config files at startup
-no-user-config
                do not load user-provided config files at startup
-trace [events=<file>][,file=<file>]
                specify tracing options
-enable-fips    enable FIPS 140-2 compliance
-object TYPENAME[,PROP1=VALUE1,...]
                create an new object of type TYPENAME setting properties
                in the order they are specified.  Note that the 'id'
                property must be set.  These objects are placed in the
                '/objects' path.
-msg timestamp[=on|off]
                change the format of messages
                on|off controls leading timestamps (default:on)

During emulation, the following keys are useful:
ctrl-alt-f      toggle full screen
ctrl-alt-n      switch to virtual console 'n'
ctrl-alt        toggle mouse and keyboard grab

When using -nographic, press 'ctrl-a h' to get some help.
crifan@ubuntu:qemu-1.6.0-rc3$ which qemu-system-arm
/opt/qemu/bin/qemu-system-arm
crifan@ubuntu:qemu-1.6.0-rc3$ 

如图:

qemu for arm install ok

【总结】

此处,在Ubuntu中为arm平台安装QEMU,还是相对简单的:

0.确保当前用户有对opt操作的权限。

1.确保已经安装了对应的相关软件包:

sudo apt-get install zlib1g
sudo apt-get install libglib2.0-dev

2.再去为(支持arm平台)而配置:

./configure --prefix=/opt/qemu --target-list=arm-softmmu,arm-linux-user --enable-debug

3。再去编译:

make

4.再去安装:

make install

即可。



发表评论

电子邮件地址不会被公开。 必填项已用*标注

无觅相关文章插件,快速提升流量