From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnWMH-0005xI-Rg for qemu-devel@nongnu.org; Tue, 15 Sep 2009 07:38:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnWMB-0005wT-Kb for qemu-devel@nongnu.org; Tue, 15 Sep 2009 07:38:05 -0400 Received: from [199.232.76.173] (port=38853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnWMB-0005wP-Dd for qemu-devel@nongnu.org; Tue, 15 Sep 2009 07:37:59 -0400 Received: from mail-ew0-f221.google.com ([209.85.219.221]:50472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnWMA-00030Y-Ns for qemu-devel@nongnu.org; Tue, 15 Sep 2009 07:37:59 -0400 Received: by ewy21 with SMTP id 21so3594209ewy.8 for ; Tue, 15 Sep 2009 04:37:57 -0700 (PDT) MIME-Version: 1.0 From: "J. B. Rainsberger" Date: Tue, 15 Sep 2009 06:37:37 -0500 Message-ID: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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=3D64 -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: =91struct st_sample=92 declared inside paramete= r 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: =91struct st_sample=92 declared inside paramete= r list audio/mixeng.h:45: warning: =91struct st_sample=92 declared inside paramete= r list audio/mixeng.h:47: warning: =91struct st_sample=92 declared inside paramete= r list audio/mixeng.h:49: warning: =91struct st_sample=92 declared inside paramete= r list audio/audio.c: In function =91audio_attach_capture=92: audio/audio.c:806: warning: assignment from incompatible pointer type audio/audio.c: In function =91audio_pcm_sw_read=92: audio/audio.c:900: error: invalid use of undefined type =91struct st_sample= =92 audio/audio.c:917: warning: passing argument 2 of =91st_rate_flow=92 from incompatible pointer type audio/audio.c:917: warning: passing argument 3 of =91st_rate_flow=92 from incompatible pointer type audio/audio.c:920: error: invalid use of undefined type =91struct st_sample= =92 audio/audio.c:925: warning: passing argument 2 of =91sw->clip=92 from incompatible pointer type audio/audio.c: In function =91audio_pcm_sw_write=92: audio/audio.c:1017: warning: passing argument 1 of =91sw->conv=92 from incompatible pointer type audio/audio.c:1031: error: invalid use of undefined type =91struct st_sampl= e=92 audio/audio.c:1032: error: invalid use of undefined type =91struct st_sampl= e=92 audio/audio.c:1035: warning: passing argument 2 of =91st_rate_flow_mix=92 from incompatible pointer type audio/audio.c:1035: warning: passing argument 3 of =91st_rate_flow_mix=92 from incompatible pointer type In file included from audio/audio.c:1069: audio/audio_template.h: In function =91audio_pcm_hw_alloc_resources_out=92: audio/audio_template.h:83: error: invalid application of =91sizeof=92 to incomplete type =91struct st_sample=92 audio/audio_template.h: In function =91audio_pcm_sw_alloc_resources_out=92: audio/audio_template.h:117: error: invalid application of =91sizeof=92 to incomplete type =91struct st_sample=92 In file included from audio/audio.c:1071: audio/audio_template.h: In function =91audio_pcm_hw_alloc_resources_in=92: audio/audio_template.h:83: error: invalid application of =91sizeof=92 to incomplete type =91struct st_sample=92 audio/audio_template.h: In function =91audio_pcm_sw_alloc_resources_in=92: audio/audio_template.h:117: error: invalid application of =91sizeof=92 to incomplete type =91struct st_sample=92 audio/audio.c: In function =91audio_capture_mix_and_clear=92: audio/audio.c:1310: error: invalid use of undefined type =91struct st_sampl= e=92 audio/audio.c:1325: error: invalid use of undefined type =91struct st_sampl= e=92 audio/audio.c:1325: warning: passing argument 1 of =91mixeng_clear=92 from incompatible pointer type audio/audio.c:1326: warning: passing argument 1 of =91mixeng_clear=92 from incompatible pointer type audio/audio.c: In function =91audio_run_capture=92: audio/audio.c:1483: error: invalid use of undefined type =91struct st_sampl= e=92 audio/audio.c:1484: warning: passing argument 2 of =91hw->clip=92 from incompatible pointer type audio/audio.c:1485: warning: passing argument 1 of =91mixeng_clear=92 from incompatible pointer type audio/audio.c: In function =91AUD_add_capture=92: audio/audio.c:1957: error: invalid application of =91sizeof=92 to incomplete type =91struct st_sample=92 make: *** [audio/audio.o] Error 1 ---- end make output ---- --=20 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