From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqn0o-0007zY-Uu for qemu-devel@nongnu.org; Mon, 16 Jul 2012 11:15:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqn0f-00022m-Fd for qemu-devel@nongnu.org; Mon, 16 Jul 2012 11:15:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqn0f-00022h-78 for qemu-devel@nongnu.org; Mon, 16 Jul 2012 11:14:53 -0400 Message-ID: <50042FE8.1030300@redhat.com> Date: Mon, 16 Jul 2012 18:14:48 +0300 From: Avi Kivity MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu fails to build with glibc-2.15 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: X O Cc: qemu-devel , kvm@vger.kernel.org (fixed mailing list) On 07/16/2012 03:37 PM, X O wrote: > Hello, > > I suspect upgrading my system to glibc-2.15 was a mistake. It seems to > be qemu-1.0.1, and latter versions including qemu-1.1.1, can't be > compiled anymore. Yes, I did search around and that led me to glibc, > resp. http://sourceware.org/ml/libc-ports/2011-08/msg00019.html > > Please, could somebody confirm or deny the following error is thanks > to glibc-2.15? > Is there a way to compile qemu with glibc-2.15? > Or is my system broken? > > ~~~ > CC i386-linux-user/syscall.o > /tmp/qemu-1.1.1/linux-user/syscall.c: In function 'sys_getdents': > /tmp/qemu-1.1.1/linux-user/syscall.c:217:1: error: '__NR_getdents' > undeclared (first use in this function) > /tmp/qemu-1.1.1/linux-user/syscall.c:217:1: note: each undeclared > identifier is reported only once for each function it appears in > /tmp/qemu-1.1.1/linux-user/syscall.c: In function '_llseek': > /tmp/qemu-1.1.1/linux-user/syscall.c:224:1: error: '__NR_lseek' > undeclared (first use in this function) Please report the output of grep -r __NR_getdents /usr/include/ on your system. -- error compiling committee.c: too many arguments to function