Skip to contentSkip to conversation

kvm-77-userspace compilation fails with --disable-aio

DISCUSSION Cristi Magherusan 1 participant 1 message Oct 17, 2008 KVM

lore
Share & tools
lore
#0 lore raw

Hello,

This is the compilation error:

libqemu.a(qemu-kvm.o): In function `kvm_main_loop':
qemu-kvm.c:(.text+0xe68): undefined reference to qemu_eventfd' qemu-kvm.c:(.text+0xed3): undefined reference to qemu_signalfd'
collect2: ld returned 1 exit status

It seems that the kvm_main_loop function is using qemu_eventfd and qemu_signalfd regardless of CONFIG_AIO. Both of them belong to compatfd.o but this one is only built when CONFIG_AIO is enabled.

Best regards,
Cristi

Signature · 5 lines
Cristi Măgherușan,
Inginer de sistem/retea
Universitatea Tehnică din Cluj-Napoca
Centrul de Comunicații "Pusztai Kalman"
Tel. 0264/401247  http://cc.utcluj.ro