From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristi Magherusan Subject: kvm-77-userspace compilation fails with --disable-aio Date: Sat, 18 Oct 2008 01:09:15 +0300 Message-ID: <1224281355.6865.8.camel@kiwi> Reply-To: cristi.magherusan@net.utcluj.ro Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-g+WMrFDwFzMWzpUzlUzQ" To: kvm@vger.kernel.org Return-path: Received: from bavaria.utcluj.ro ([193.226.5.35]:51366 "EHLO bavaria.utcluj.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbYJQWig (ORCPT ); Fri, 17 Oct 2008 18:38:36 -0400 Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id ADD1AB28D4 for ; Sat, 18 Oct 2008 01:09:35 +0300 (EEST) Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t40BjuoeuD1A for ; Sat, 18 Oct 2008 01:09:32 +0300 (EEST) Received: from [192.168.1.101] (unknown [89.41.20.67]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mcristi) by bavaria.utcluj.ro (Postfix) with ESMTP id EE3C5B28C1 for ; Sat, 18 Oct 2008 01:09:16 +0300 (EEST) Sender: kvm-owner@vger.kernel.org List-ID: --=-g+WMrFDwFzMWzpUzlUzQ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 --=20 Cristi M=C4=83gheru=C8=99an, Inginer de sistem/retea Universitatea Tehnic=C4=83 din Cluj-Napoca Centrul de Comunica=C8=9Bii "Pusztai Kalman" Tel. 0264/401247 http://cc.utcluj.ro --=-g+WMrFDwFzMWzpUzlUzQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkj5DQYACgkQfwrBISYVZFX9cwCgiy5y1fiInzwWQJZa8toDbiNn IsEAn1SO/wbtCf5Eo84nhPRKpY3ysFOq =HtnL -----END PGP SIGNATURE----- --=-g+WMrFDwFzMWzpUzlUzQ--