All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] 2 build issues for qemu v1.0.1
@ 2012-02-21 14:53 Virtbie
  0 siblings, 0 replies; only message in thread
From: Virtbie @ 2012-02-21 14:53 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-21 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 14:53 [Qemu-devel] 2 build issues for qemu v1.0.1 Virtbie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.