Hello
I am trying to build from source the qemu v1.0.1 (from git) on a Ubuntu mixed system (part is oneiric 11.10, part is precise 12.04)

Here are two issues:

During build of:
hw/9pfs/virtio-9p-handle.c
it gave errors saying it couldnt find definition of "AT_EMPTY_PATH".

So I added it at the head of the file (copied from my fcntl.h which is apparently NOT imported during this cc):
#define AT_EMPTY_PATH           0x1000  /* Allow empty relative pathname */
and then it apparently went ahead correctly.


Then it gave the following error:

../libhw32/pcspk.o: In function `pcspk_ioport_write':
........../hw/pcspk.c:132: undefined reference to `pit_set_gate'
../libhw32/pcspk.o: In function `pcspk_ioport_read':
........../hw/pcspk.c:121: undefined reference to `pit_get_out'
........../hw/pcspk.c:123: undefined reference to `pit_get_gate'
../libhw32/pcspk.o: In function `pcspk_callback':
........../hw/pcspk.c:75: undefined reference to `pit_get_mode'
........../hw/pcspk.c:78: undefined reference to `pit_get_initial_count'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-cris] Error 1
make: *** [subdir-cris-softmmu] Error 2
make: *** Waiting for unfinished jobs....

and for this I didn't want to delve into the issue so I disabled pcspk emulation at configure and rebuilt so to skip this.

After this, it built correctly.


Reply via email to