[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1
From: |
J. B. Rainsberger |
Subject: |
[Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1 |
Date: |
Tue, 15 Sep 2009 06:37:37 -0500 |
Hello, folks.
I'm new here and I'm just trying to get lcdproc to work, so please
don't hurt me. :)
In the process of trying to build lcdproc, I found myself googling
around like mad trying to find kvm.h. I have made it here and am
trying to build qemu so that I can have kvm.h instead of trying to
fool the lcdproc build into thinking that it doesn't need kvm.h.
I finally found the git repository for the project and am trying to
build off commit ffabf0371832aa398f647bc18b4d3c50609c1493. Configure
passes, but make fails, and I hope you will help me fix the problem. I
promise you, I've spent well over a day scouring the web for answers.
When I found the instruction "search the archives for Mac OS X
patches" I was hoping I could take advantage of your collective memory
to point me to the right patches at the right time. I hope you don't
find this lazy on my part.
I've included the output from configure and make below so you can
comment on them. Please help. I'm trying to get an LCD working for a
test-driven development course I teach: I use as a sample application
scanning barcodes and having the price show up on a cash register
display, and while I have the barcode, I want to get a cooler display
working than just the console.
Thanks!
---- begin configure output ----
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /Users/jbrains/ThirdParty/qemu
C compiler gcc
Host C compiler gcc
CFLAGS -O2 -g
QEMU_CFLAGS -I. -I$(SRC_PATH) -MMD -MP -MT $@ -U_FORTIFY_SOURCE
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels
-Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -m64 -arch
x86_64
LDFLAGS -g -m64 -framework CoreFoundation -framework IOKit
-arch x86_64
make make
install install
host CPU x86_64
host big endian no
target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu
m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu
mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu
ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu
i386-darwin-user ppc-darwin-user i386-bsd-user x86_64-bsd-user
sparc-bsd-user sparc64-bsd-user
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
Cocoa support yes
SDL support no
curses support yes
curl support yes
check support no
mingw32 support no
Audio drivers coreaudio
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
VNC SASL support yes
xen support no
brlapi support no
bluez support no
Documentation yes
NPTL support no
GUEST_BASE yes
PIE user targets no
vde support no
IO thread no
Linux AIO support no
Install blobs yes
KVM support no
fdt support no
preadv support no
---- end configure output ----
---- begin make output ----
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/parallels.o
CC block/nbd.o
CC block/raw-posix.o
CC block/curl.o
LINK qemu-img
CC libhw64/virtio.o
CC libhw64/fw_cfg.o
CC libhw64/watchdog.o
CC libhw64/nand.o
CC libhw64/ecc.o
CC libhw64/m48t59.o
CC libhw64/escc.o
CC libhw64/lsi53c895a.o
CC libhw64/esp.o
CC libhw64/dma-helpers.o
CC libhw64/sysbus.o
CC libhw64/qdev-addr.o
CC libhw64/isa-bus.o
AR libhw64/libqemuhw64.a
CC readline.o
CC console.o
CC irq.o
CC ptimer.o
CC i2c.o
CC smbus.o
CC smbus_eeprom.o
CC max7310.o
CC max111x.o
CC wm8750.o
CC ssd0303.o
CC ssd0323.o
CC ads7846.o
CC stellaris_input.o
CC twl92230.o
CC tmp105.o
CC lm832x.o
CC eeprom93xx.o
CC tsc2005.o
CC scsi-disk.o
CC cdrom.o
CC scsi-generic.o
CC scsi-bus.o
CC usb.o
CC usb-hub.o
CC usb-stub.o
CC usb-hid.o
CC usb-msd.o
CC usb-wacom.o
CC usb-serial.o
CC usb-net.o
CC usb-bus.o
CC sd.o
CC ssi-sd.o
CC bt.o
CC bt-host.o
CC bt-vhci.o
CC bt-l2cap.o
CC bt-sdp.o
CC bt-hci.o
CC bt-hid.o
CC usb-bt.o
CC bt-hci-csr.o
CC buffered_file.o
CC migration.o
CC migration-tcp.o
CC net.o
CC qemu-sockets.o
CC qemu-char.o
qemu-char.c:2357: warning: initialization from incompatible pointer type
CC net-checksum.o
CC savevm.o
CC msmouse.o
CC ps2.o
CC qdev.o
CC qdev-properties.o
CC ssi.o
CC qint.o
CC qstring.o
CC qdict.o
CC migration-exec.o
CC migration-unix.o
CC migration-fd.o
CC audio/audio.o
In file included from audio/audio_int.h:31,
from audio/audio.c:31:
audio/mixeng.h:37: warning: ‘struct st_sample’ declared inside parameter list
audio/mixeng.h:37: warning: its scope is only this definition or
declaration, which is probably not what you want
audio/mixeng.h:38: warning: ‘struct st_sample’ declared inside parameter list
audio/mixeng.h:45: warning: ‘struct st_sample’ declared inside parameter list
audio/mixeng.h:47: warning: ‘struct st_sample’ declared inside parameter list
audio/mixeng.h:49: warning: ‘struct st_sample’ declared inside parameter list
audio/audio.c: In function ‘audio_attach_capture’:
audio/audio.c:806: warning: assignment from incompatible pointer type
audio/audio.c: In function ‘audio_pcm_sw_read’:
audio/audio.c:900: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:917: warning: passing argument 2 of ‘st_rate_flow’ from
incompatible pointer type
audio/audio.c:917: warning: passing argument 3 of ‘st_rate_flow’ from
incompatible pointer type
audio/audio.c:920: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:925: warning: passing argument 2 of ‘sw->clip’ from
incompatible pointer type
audio/audio.c: In function ‘audio_pcm_sw_write’:
audio/audio.c:1017: warning: passing argument 1 of ‘sw->conv’ from
incompatible pointer type
audio/audio.c:1031: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:1032: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:1035: warning: passing argument 2 of ‘st_rate_flow_mix’
from incompatible pointer type
audio/audio.c:1035: warning: passing argument 3 of ‘st_rate_flow_mix’
from incompatible pointer type
In file included from audio/audio.c:1069:
audio/audio_template.h: In function ‘audio_pcm_hw_alloc_resources_out’:
audio/audio_template.h:83: error: invalid application of ‘sizeof’ to
incomplete type ‘struct st_sample’
audio/audio_template.h: In function ‘audio_pcm_sw_alloc_resources_out’:
audio/audio_template.h:117: error: invalid application of ‘sizeof’ to
incomplete type ‘struct st_sample’
In file included from audio/audio.c:1071:
audio/audio_template.h: In function ‘audio_pcm_hw_alloc_resources_in’:
audio/audio_template.h:83: error: invalid application of ‘sizeof’ to
incomplete type ‘struct st_sample’
audio/audio_template.h: In function ‘audio_pcm_sw_alloc_resources_in’:
audio/audio_template.h:117: error: invalid application of ‘sizeof’ to
incomplete type ‘struct st_sample’
audio/audio.c: In function ‘audio_capture_mix_and_clear’:
audio/audio.c:1310: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:1325: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:1325: warning: passing argument 1 of ‘mixeng_clear’ from
incompatible pointer type
audio/audio.c:1326: warning: passing argument 1 of ‘mixeng_clear’ from
incompatible pointer type
audio/audio.c: In function ‘audio_run_capture’:
audio/audio.c:1483: error: invalid use of undefined type ‘struct st_sample’
audio/audio.c:1484: warning: passing argument 2 of ‘hw->clip’ from
incompatible pointer type
audio/audio.c:1485: warning: passing argument 1 of ‘mixeng_clear’ from
incompatible pointer type
audio/audio.c: In function ‘AUD_add_capture’:
audio/audio.c:1957: error: invalid application of ‘sizeof’ to
incomplete type ‘struct st_sample’
make: *** [audio/audio.o] Error 1
---- end make output ----
--
J. B. (Joe) Rainsberger :: http://www.jbrains.ca
Diaspar Software Services :: http://www.diasparsoftware.com
Author, JUnit Recipes
2005 Gordon Pask Award for contribution to Agile practice
Register for Agile 2009 at http://www.agileregistration.org
- [Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1,
J. B. Rainsberger <=