From patchwork Thu May 21 08:42:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Xu, Jiajun" X-Patchwork-Id: 25194 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4L8iDCD020375 for ; Thu, 21 May 2009 08:44:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751997AbZEUInp (ORCPT ); Thu, 21 May 2009 04:43:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751804AbZEUInp (ORCPT ); Thu, 21 May 2009 04:43:45 -0400 Received: from mga09.intel.com ([134.134.136.24]:57109 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751789AbZEUInn convert rfc822-to-8bit (ORCPT ); Thu, 21 May 2009 04:43:43 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 21 May 2009 01:33:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,226,1241420400"; d="scan'208";a="414474908" Received: from pgsmsx603.gar.corp.intel.com ([10.221.43.87]) by orsmga002.jf.intel.com with ESMTP; 21 May 2009 01:51:22 -0700 Received: from pdsmsx601.ccr.corp.intel.com (172.16.12.94) by pgsmsx603.gar.corp.intel.com (10.221.43.87) with Microsoft SMTP Server (TLS) id 8.1.358.0; Thu, 21 May 2009 16:42:32 +0800 Received: from pdsmsx502.ccr.corp.intel.com ([172.16.12.96]) by pdsmsx601.ccr.corp.intel.com ([172.16.12.94]) with mapi; Thu, 21 May 2009 16:42:06 +0800 From: "Xu, Jiajun" To: "'avi@redhat.com'" CC: "'kvm-devel'" Date: Thu, 21 May 2009 16:42:04 +0800 Subject: libkvm not compile with latest qemu-kvm Thread-Topic: libkvm not compile with latest qemu-kvm Thread-Index: AcnZ8ASJKYqAEqswQXmLhN3C63Pz+g== Message-ID: <0463F45F3606F4428ED35AC8C709F92E0896145719@pdsmsx502.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Avi, I found libkvm.a not compiled with latest qemu-kvm with following error message: #### gcc -I. -I.. -I/home/jiajun/kvm/qemu-kvm/target-i386 -I/home/jiajun/kvm/qemu-kvm -MMD -MT qemu-kvm-helper.o -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__user= -I/home/jiajun/kvm/qemu-kvm/tcg -I/home/jiajun/kvm/qemu-kvm/tcg/x86_64 -I/home/jiajun/kvm/qemu-kvm/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/jiajun/kvm/qemu-kvm/slirp -O2 -g -fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -I/home/jiajun/kvm/qemu-kvm/kvm/libkvm -m64 -I/home/jiajun/kvm/qemu-kvm/kvm/include -I/home/jiajun/kvm/qemu-kvm/kvm/include/x86 -c -o qemu-kvm-helper.o /home/jiajun/kvm/qemu-kvm/qemu-kvm-helper.c CC x86_64-softmmu/kvm-tpr-opt.o CC x86_64-softmmu/disas.o CC x86_64-softmmu/i386-dis.o CC x86_64-softmmu/vl.o CC x86_64-softmmu/gdbstub-xml.o /home/jiajun/kvm/qemu-kvm/vl.c:4885: warning: âalloc_mem_areaâ defined but not used AR x86_64-softmmu/libqemu.a LINK x86_64-softmmu/qemu-system-x86_64 gcc: libkvm.a: No such file or directory make[1]: *** [qemu-system-x86_64] Error 1 make: *** [subdir-x86_64-softmmu] Error 2 #### After I modified the Makefile.target, it can pass: Best Regards Jiajun-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Makefile.target b/Makefile.target index 575466c..78bf5d7 100644 --- a/Makefile.target +++ b/Makefile.target @@ -796,7 +796,7 @@ vl.o: qemu-options.h $(QEMU_PROG): LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS) $(QEMU_PROG): ARLIBS=../libqemu_common.a libqemu.a $(HWLIB) -$(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a $(HWLIB) +$(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a $(HWLIB) $(DEPLIBS) $(call LINK,$(OBJS)) $(QEMU_PROG): ARLIBS += $(DEPLIBS)