[Bug 1015] New: quemu-neo1973 in r3444 fails to compile

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Mon Nov 19 21:58:13 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1015

           Summary: quemu-neo1973 in r3444 fails to compile
           Product: OpenMoko
           Version: current svn head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: qemu-neo1973
        AssignedTo: dodji at openedhand.com
        ReportedBy: dinamich at volja.net
                CC: buglog at lists.openmoko.org


hi,

r3444 of trunk/src/host/qemu-neo1973 fails to build (make). Here is a patch to
make it compile and work (tested with openmoko/download.sh and openmoko/flash.sh):

xxxx at xxxx:~/openmoko-trunk/src/host/qemu-neo1973$ svn diff
Index: hw/usb.h
===================================================================
--- hw/usb.h    (revision 3444)
+++ hw/usb.h    (working copy)
@@ -112,6 +112,8 @@
 typedef struct USBDevice USBDevice;
 typedef struct USBPacket USBPacket;
 
+#include "qemu-common.h"
+
 /* definition of a USB device */
 struct USBDevice {
     void *opaque;
Index: usb-linux-gadget.c
===================================================================
--- usb-linux-gadget.c  (revision 3444)
+++ usb-linux-gadget.c  (working copy)
@@ -815,6 +815,7 @@
 
 #else
 # include "hw/usb.h"
+# include "linux-user/errno_defs.h"
 
 int usb_gadget_init(void)
 {



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list