From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46460 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKj3o-0001Np-Ne for qemu-devel@nongnu.org; Mon, 22 Nov 2010 21:57:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKj2u-0006ac-Hc for qemu-devel@nongnu.org; Mon, 22 Nov 2010 21:56:38 -0500 Received: from adelie.canonical.com ([91.189.90.139]:49595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKj2u-0006Zq-AY for qemu-devel@nongnu.org; Mon, 22 Nov 2010 21:55:52 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PKj2s-0006Rg-HV for ; Tue, 23 Nov 2010 02:55:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 79EF72E806B for ; Tue, 23 Nov 2010 02:55:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Nov 2010 02:48:06 -0000 From: liheyuan <680350@bugs.launchpad.net> Sender: bounces@canonical.com References: <20101123024806.24657.22591.malonedeb@wampee.canonical.com> Message-Id: <20101123024806.24657.22591.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0 Reply-To: Bug 680350 <680350@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: Problem During compile with qemu-kvm-0.13.0, can't successfully make through with e= rror: #make && make install kvm-all.o: In function `kvm_run': /home/liheyuan/code/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to = `kvm_handle_internal_error' collect2: ld returned 1 exit status Cause The developer using an new =E2=80=98macro definition=E2=80=99:KVM_CAP_INTER= NAL_ERROR_DATA, but fail to add it to every places it needed. Solution modify qemu-kvm.c, line:674,add the =E2=80=98macro definition=E2=80=99 befo= re and after the =E2=80=98case:=E2=80=99, as follows #line674~~677 should be replace like this: #ifdef KVM_CAP_INTERNAL_ERROR_DATA case KVM_EXIT_INTERNAL_ERROR: kvm_handle_internal_error(env, run); r =3D 1; break; #endif For more details at, http://www.coder4.com/archives/1174 ** Affects: qemu Importance: Undecided Status: New ** Tags: 0.13.0 qmeu-kvm -- = fail to compile qemu-kvm-0.13.0 https://bugs.launchpad.net/bugs/680350 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: Problem During compile with qemu-kvm-0.13.0, can't successfully make through with e= rror: #make && make install kvm-all.o: In function `kvm_run': /home/liheyuan/code/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to = `kvm_handle_internal_error' collect2: ld returned 1 exit status Cause The developer using an new =E2=80=98macro definition=E2=80=99:KVM_CAP_INTER= NAL_ERROR_DATA, but fail to add it to every places it needed. Solution modify qemu-kvm.c, line:674,add the =E2=80=98macro definition=E2=80=99 befo= re and after the =E2=80=98case:=E2=80=99, as follows #line674~~677 should be replace like this: #ifdef KVM_CAP_INTERNAL_ERROR_DATA case KVM_EXIT_INTERNAL_ERROR: kvm_handle_internal_error(env, run); r =3D 1; break; #endif For more details at, http://www.coder4.com/archives/1174