Lowlevel
OffZone => Offtopic => Thema gestartet von: Thunder am 30. August 2013, 21:36
-
Hallo Leute,
bräuchte Mal eure Hilfe. Ich hatte vor QEMU wieder für Windows zu bauen, 1.6.0.
Und ich habe auch schon früher QEMU kompiliert, sowohl auf Windows als auch auf Linux, aber jetzt stehe ich vor einem Problem, das ich nicht lösen kann. Ich kenne mich einfach zu wenig aus.
Folgendes: Mein Aufruf an configure sieht so aus: ./configure --prefix=C:/QEMU
Dann führe ich make aus. Das Problem ist, dass es mit dieser Meldung abbricht:
make: *** No rule to make target 'config-all-devices.mak', needed by 'subdir-alpha-softmmu'. Stop.
Und am Anfang steht irgendwo:
GEN config-all-devices.mak
-uDas System kann die angegebene Datei nicht finden.
make: *** Deleting file 'config-all-devices.mak'
was mich total verwirrt, weil er genau diese Datei offenbar später noch braucht. Ich hab auch schon das Makefile durchforstet, aber ehrlich gesagt blicke ich nicht ganz durch - es ist doch etwas umfangreich.
Und gegoogelt habe ich auch, aber absolut *nichts* gefunden :(
Ich hoffe, es könnte mir hier jemand helfen!
-
Also ich kann mit der Meldung nichts anfangen, aber vielleicht liegt es ja am Alpha-Target. Du könntest configure mit --target-list=x86_64-softmmu aufrufen, um nur die Emulation von x86-PCs zu kompilieren.
-
Ne leider nicht :( Hatte auch zuerst eine eingeschränkte targetlist, aber ich dachte vielleicht wird die Datei nur generiert, wenn QEMU für alle Geräte gebaut wird oder so. Denkste.
Hier ist alles, was ich mache und sehe:
C:\qemu-1.6.0>make
GEN config-all-devices.mak
-uDas System kann die angegebene Datei nicht finden.
make: *** Deleting file `config-all-devices.mak'
CHK version_gen.h
make: *** No rule to make target `config-all-devices.mak', needed by `subdir-i38
6-softmmu'. Stop.
C:\qemu-1.6.0>sh configure --prefix=C:/QEMU --target-list=i386-softmmu,x86_64-so
ftmmu
Install prefix C:/QEMU
BIOS directory C:/QEMU
binary directory C:/QEMU
library directory C:/QEMU/lib
libexec directory C:/QEMU/libexec
include directory C:/QEMU/include
config directory C:/QEMU
local state directory queried at runtime
Source path /c/qemu-1.6.0
C compiler cc
Host C compiler cc
Objective-C compiler cc
CFLAGS -O2 -D_FORTIFY_SOURCE=2 -g
QEMU_CFLAGS -march=i486 -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_M
EAN -DWINVER=0x501 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wst
rict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-protot
ypes -fno-strict-aliasing -Wendif-labels -Wmissing-include-dirs -Wempty-body -W
nested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -
Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-al
l -IC:/MinGW/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt
LDFLAGS -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -Wl,--warn-commo
n -m32 -g
make make
install install
python python
smbd /usr/sbin/smbd
host CPU i386
host big endian no
target list i386-softmmu x86_64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
pixman system
SDL support yes
GTK support no
curses support no
curl support no
mingw32 support yes
Audio drivers winwave
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 no
vde support no
Linux AIO support no
ATTR/XATTR support no
Install blobs yes
KVM support no
RDMA support no
TCG interpreter no
fdt support yes
preadv support no
fdatasync no
madvise no
posix_madvise no
sigev_thread_id no
uuid support no
libcap-ng support no
vhost-net support no
vhost-scsi support no
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 no
seccomp support no
coroutine backend win32
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
C:\qemu-1.6.0>make
GEN config-all-devices.mak
-uDas System kann die angegebene Datei nicht finden.
make: *** Deleting file `config-all-devices.mak'
GEN config-host.h
CHK version_gen.h
GEN trace/generated-tracers.h
GEN trace/generated-tracers.c
make: *** No rule to make target `config-all-devices.mak', needed by `subdir-i38
6-softmmu'. Stop.
-
Ich habe dem "-u" aus der Meldung mal hinterher geforscht. Das Windows-Programm sort gibt diese Meldung aus, wenn man -u übergibt. Vermutlich erwartet qemu aber das Unix sort. Du solltest mal prüfen ob MinGW und MSYS korrekt installiert sind und in der PATH-Variable eingetragen sind.
-
Wow danke sehr! :)
Ja, war alles korrekt installiert, aber logischerweise ist immer das Windows sort verwendet worden. Habe daher die MinGW-Pfade in Path an erste Stelle gesetzt. Funktioniert jetzt :D hoffentlich gibt es jetzt keine Probleme mehr.