Ticket #524 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

qemu-image building

Reported by: sudharsh@… Owned by: dodji@…
Priority: high Milestone:
Component: qemu-neo1973 Version: current svn head
Severity: normal Keywords:
Cc: buglog@…, balrogg@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

The qemu image on the current svn head isnt building on my Athlon xp (x86). Am
getting the following errors. Am not that much into qemu hacking, but I will
play around the troublesome code..

sudharsh@sup3rkiddo ~/Projects/openmoko $ make build-qemu
( cd build/qemu ; make )
make[1]: Entering directory `/home/sudharsh/Projects/openmoko/build/qemu'
make -C arm-softmmu all
make[2]: Entering directory
`/home/sudharsh/Projects/openmoko/build/qemu/arm-softmmu'
gcc32 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/fpu
-DHAS_AUDIO -DHIGH_LATENCY
-I/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/slirp
-c -o usb-linux-gadget.o
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:24:32:
linux/usb_gadgetfs.h: No such file or directory
In file included from
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/vl.h:1461,

from

/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:28:
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_pm_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:245:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_pm_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:280:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_cm_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:317:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_cm_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:341:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_mm_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:598:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_mm_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:618:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_ssp_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:788:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_ssp_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:884:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_rtc_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:1095:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_rtc_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:1201:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_i2c_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:1337:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_i2c_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:1403:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_i2s_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:1543:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:
In function `pxa2xx_i2s_write':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:1601:
warning: long unsigned int format, target_phys_addr_t arg (arg 3)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:
In function `gadget_read':
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:490:
error: storage size of 'event' isn't known
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:503:
error: `GADGETFS_NOP' undeclared (first use in this function)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:503:
error: (Each undeclared identifier is reported only once
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:503:
error: for each function it appears in.)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:504:
error: `GADGETFS_SUSPEND' undeclared (first use in this function)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:507:
error: `GADGETFS_CONNECT' undeclared (first use in this function)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:513:
error: `GADGETFS_SETUP' undeclared (first use in this function)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:562:
error: `GADGETFS_DISCONNECT' undeclared (first use in this function)
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:490:
warning: unused variable `event'
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:
At top level:
/home/sudharsh/Projects/openmoko/openmoko/trunk/src/host/qemu-neo1973/hw/pxa.h:116:
warning: 'pxa255_serial' defined but not used
make[2]: * [usb-linux-gadget.o] Error 1
make[2]: Leaving directory `/home/sudharsh/Projects/openmoko/build/qemu/arm-softmmu'
make[1]:
* [subdir-arm-softmmu] Error 2
make[1]: Leaving directory `/home/sudharsh/Projects/openmoko/build/qemu'
make: * [build-qemu] Error 2

Change History

comment:1 Changed 6 years ago by sudharsh@…

  • Status changed from new to closed
  • Resolution set to fixed

The error was due to the missing headers usbgadget_fs.h and usb_ch9.h..

comment:2 Changed 6 years ago by balrogg@…

  • Cc balrogg@… added
Note: See TracTickets for help on using tickets.