From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhJuT-0004tX-0q for qemu-devel@nongnu.org; Tue, 28 May 2013 09:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhJuF-0000CT-IR for qemu-devel@nongnu.org; Tue, 28 May 2013 09:25:52 -0400 Received: from indium.canonical.com ([91.189.90.7]:55361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhJuF-0000CC-Dc for qemu-devel@nongnu.org; Tue, 28 May 2013 09:25:39 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UhJuE-0005Zn-Fh for ; Tue, 28 May 2013 13:25:38 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 75A8B2E8084 for ; Tue, 28 May 2013 13:25:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 28 May 2013 13:18:29 -0000 From: Nigel Horne <1184616@bugs.launchpad.net> Sender: bounces@canonical.com References: <20130527140212.26315.46050.malonedeb@wampee.canonical.com> <42F04B025B694D9096C97265E4F8F03E@philips> <20130528083810.GG13368@stefanha-thinkpad.redhat.com> Message-Id: <51A4AEA5.6090302@bandsman.co.uk> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_anon_ram_alloc' Reply-To: Bug 1184616 <1184616@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org >>> On Mon, May 27, 2013 at 4:02 PM, Nigel Horne <1184616@bugs.launchpad.ne= t> >>> wrote: >>>> The latest git version (commit 6a4e17711442849bf2cc731ccddef5a2a2d92d2= 9) >>>> fails to compile: >>>> >>>> ... >>>> LINK qemu-ga >>>> libqemuutil.a(oslib-posix.o): In function `qemu_anon_ram_alloc': >>>> oslib-posix.c:(.text+0x154): undefined reference to >>>> `trace_qemu_anon_ram_alloc' >>>> libqemuutil.a(oslib-posix.o): In function `qemu_anon_ram_free': >>>> oslib-posix.c:(.text+0x1e7): undefined reference to >>>> `trace_qemu_anon_ram_free' >>>> collect2: error: ld returned 1 exit status >>>> make: *** [qemu-ga] Error 1 >>>> >>>> This is on Ubuntu 13.04, gcc 4.7.3, configure flags: >>>> './configure' '--enable-linux-aio' '--enable-kvm' '--enable-vhost-net' >>> Please try: >>> make distclean && ./configure --enable-linux-aio --enable-kvm >>> --enable-vhost-net && make >> I tried that before I raised the bug. However I tried it again to be su= re, >> and yes I still get the same error. > Please post the output of "git status". I wonder if there are stale > files because the build works fine here. Here it is: # On branch master # Untracked files: # (use "git add ..." to include in what will be committed) # # libhw32/ # libhw64/ # trace.c # trace.h I don't do any local modification just 'git pull' and recompile. Perhaps = git is broken so I should 'git clone' and start again. -Nigel -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1184616 Title: undefined reference to `trace_qemu_anon_ram_alloc' Status in QEMU: New Bug description: The latest git version (commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29) fails to compile: ... LINK qemu-ga libqemuutil.a(oslib-posix.o): In function `qemu_anon_ram_alloc': oslib-posix.c:(.text+0x154): undefined reference to `trace_qemu_anon_ram_= alloc' libqemuutil.a(oslib-posix.o): In function `qemu_anon_ram_free': oslib-posix.c:(.text+0x1e7): undefined reference to `trace_qemu_anon_ram_= free' collect2: error: ld returned 1 exit status make: *** [qemu-ga] Error 1 This is on Ubuntu 13.04, gcc 4.7.3, configure flags: = './configure' '--enable-linux-aio' '--enable-kvm' '--enable-vhost-net' To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1184616/+subscriptions