[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] 2 build issues for qemu v1.0.1
From: |
Virtbie |
Subject: |
[Qemu-devel] 2 build issues for qemu v1.0.1 |
Date: |
Tue, 21 Feb 2012 15:53:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] 2 build issues for qemu v1.0.1,
Virtbie <=