From: "Evandro" <evandro@hstein.trix.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] MingW build fails
Date: Sun, 27 Nov 2005 11:17:37 -0200 [thread overview]
Message-ID: <001001c5f354$efe2ae60$0201010a@gradius> (raw)
Hello,
Building QEMU from the current sources (qemu-snapshot-2005-11-26_23) on
MingW host fails.
The functions "qemu_chr_open_file_out()" and "qemu_chr_open_pipe()" are not
defined for the WIN32 build.
Below is the build log:
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/Sumo/qemu-snapshot-2005-11-26_23/target-ppc
-I/home/Sumo/qemu-snapshot-2005-11-26_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/home/Sumo/qemu-snapshot-2005-11-26_23/fpu -DHAS_AUDIO
-I/home/Sumo/qemu-snapshot-2005-11-26_23/slirp -c -o vl.o
/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c: In function
`qemu_chr_open':
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1617: warning: implicit
declaration of function `qemu_chr_open_file_out'
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1617: warning: return
makes pointer from integer without a cast
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1619: warning: implicit
declaration of function `qemu_chr_open_pipe'
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1619: warning: return
makes pointer from integer without a cast
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c: In function
`parse_host_port':
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1710: warning: unused
variable `he'
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/Sumo/qemu-snapshot-2005-11-26_23/target-ppc
-I/home/Sumo/qemu-snapshot-2005-11-26_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/home/Sumo/qemu-snapshot-2005-11-26_23/fpu -DHAS_AUDIO
-I/home/Sumo/qemu-snapshot-2005-11-26_23/slirp -c -o osdep.o
/home/Sumo/qemu-snapshot-2005-11-26_23/osdep.c
.
.
.
.
.
rm -f libqemu.a
ar rcs libqemu.a exec.o kqemu.o translate-op.o translate-all.o cpu-exec.o
translate.o op.o fpu/softfloat-native.o op_helper.o helper.o disas.o
i386-dis.o ppc-dis.o
gcc -o qemu-system-ppc.exe vl.o osdep.o block.o readline.o monitor.o pci.o
console.o block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o
block-dmg.o block-bochs.o block-vpc.o block-vvfat.o usb.o usb-uhci.o
usb-linux.o usb-hid.o ppc.o ide.o ne2000.o pckbd.o ps2.o vga.o sb16.o
es1370.o dma.o audio.o noaudio.o wavaudio.o sdlaudio.o mc146818rtc.o
serial.o i8259.o i8254.o fdc.o m48t59.o ppc_prep.o ppc_chrp.o cuda.o adb.o
openpic.o heathrow_pic.o mixeng.o sdl.o slirp/cksum.o slirp/if.o
slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o
slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o
slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o
slirp/bootp.o slirp/debug.o slirp/tftp.o
libqemu.a -lm -lz -lwinmm -lws2_32 -liphlpapi -L/usr/local/lib -lmingw32 -lSDLmain
-lSDL -mconsole
vl.o(.text+0xe00): In function `qemu_chr_open':
C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1619: undefined reference
to `qemu_chr_open_pipe'
vl.o(.text+0xe1c):C:/msys/home/Sumo/qemu-snapshot-2005-11-26_23/vl.c:1617:
undefined reference to `qemu_chr_open_file_out'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-ppc.exe] Error 1
make[1]: Leaving directory
`/home/Sumo/qemu-snapshot-2005-11-26_23/ppc-softmmu'
make: *** [all] Error 1
[ ] 's
Evandro
reply other threads:[~2005-11-27 13:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001001c5f354$efe2ae60$0201010a@gradius' \
--to=evandro@hstein.trix.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).