On Mon, Oct 25, 2010 at 7:39 AM, Jes Sorensen <jes.soren...@redhat.com> wrote: > On 10/23/10 16:42, Blue Swirl wrote: >> On Mon, Oct 18, 2010 at 8:15 AM, <jes.soren...@redhat.com> wrote: >>> From: Jes Sorensen <jes.soren...@redhat.com> >>> >>> Signed-off-by: Jes Sorensen <jes.soren...@redhat.com> >> >> Almost there: >> CC m68k-linux-user/m68k-semi.o >> /src/qemu/m68k-semi.c: In function 'do_m68k_semihosting': >> /src/qemu/m68k-semi.c:328: error: 'qemu_timeval' undeclared (first use >> in this function) >> /src/qemu/m68k-semi.c:328: error: (Each undeclared identifier is >> reported only once >> /src/qemu/m68k-semi.c:328: error: for each function it appears in.) >> /src/qemu/m68k-semi.c:328: error: expected ';' before 'tv' >> cc1: warnings being treated as errors >> /src/qemu/m68k-semi.c:330: error: implicit declaration of function >> 'qemu_gettimeofday' >> /src/qemu/m68k-semi.c:330: error: nested extern declaration of >> 'qemu_gettimeofday' >> /src/qemu/m68k-semi.c:330: error: 'tv' undeclared (first use in this >> function) > > How are you configuring your build? m68k-semi.c builds fine for me here > with these patches applied:
With no --target-list. > CC m68k-softmmu/mcf_fec.o > CC m68k-softmmu/m68k-semi.o > CC m68k-softmmu/dummy_m68k.o > LINK m68k-softmmu/qemu-system-m68k > > This is for target m68k-softmmu, are you using a different target? m68k-linux-user