From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3MxG-00027X-0i for qemu-devel@nongnu.org; Mon, 20 Aug 2012 04:03:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3MxE-0005GR-0e for qemu-devel@nongnu.org; Mon, 20 Aug 2012 04:03:21 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:42153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3MxD-0005G2-PG for qemu-devel@nongnu.org; Mon, 20 Aug 2012 04:03:19 -0400 Received: by eeke53 with SMTP id e53so1547260eek.4 for ; Mon, 20 Aug 2012 01:03:18 -0700 (PDT) Date: Mon, 20 Aug 2012 07:46:16 +0100 From: Stefan Hajnoczi Message-ID: <20120820064616.GA32578@stefanha-thinkpad.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] qemu compilation fails on ubuntu 12.04 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: MJ embd Cc: qemu-devel On Sat, Aug 18, 2012 at 11:14:43PM +0530, MJ embd wrote: > Hi All, > I am trying to compile qemu for arm top of tree on ubuntu 12.04 and am > getting the following errors. Can anyone help > > ... > CC json-streamer.o > CC json-parser.o > CC qerror.o > CC error.o > CC qemu-error.o > LINK qemu-ga > /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld: > cannot find -lgthread-2.0 > /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld: > cannot find -lglib-2.0 > /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld: > cannot find -lpcre Your ARM build environment is missing glib and PCRE. You need to install libglib2.0-dev and libpcre3-dev. > qemu-sockets.o: In function `inet_listen_opts': > /home/mj/Code/qemu/qemu-sockets.c:141: warning: Using 'getaddrinfo' in > statically linked applications requires at runtime the shared > libraries from the glibc version used for linking > collect2: ld returned 1 exit status > make: *** [qemu-ga] Error 1 Why are you statically linking? Stefan