From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDbX-0006lV-Pw for qemu-devel@nongnu.org; Mon, 06 Oct 2014 15:05:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbDbP-0004Mz-Rx for qemu-devel@nongnu.org; Mon, 06 Oct 2014 15:05:55 -0400 Received: from [2001:4b98:dc0:45:216:3eff:fe3d:166f] (port=44315 helo=afflict.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDbP-0004MW-By for qemu-devel@nongnu.org; Mon, 06 Oct 2014 15:05:47 -0400 Date: Mon, 6 Oct 2014 22:05:44 +0300 From: Riku Voipio Message-ID: <20141006190544.GA7392@afflict.kos.to> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 0/5] linux-user patches for 2.2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On Mon, Oct 06, 2014 at 05:49:14PM +0100, Peter Maydell wrote: > On 6 October 2014 15:59, Peter Maydell wrote= : > > Hi. I'm afraid this doesn't compile on my ARM box: > > > > /root/qemu/linux-user/syscall.c: In function =E2=80=98do_syscall=E2=80= =99: > > /root/qemu/linux-user/syscall.c:9695:9: error: implicit declaration o= f > > function =E2=80=98timerfd_create=E2=80=99 [-Werror=3Dimplicit-functio= n-declaration] > > /root/qemu/linux-user/syscall.c:9695:9: error: nested extern > > declaration of =E2=80=98timerfd_create=E2=80=99 [-Werror=3Dnested-ext= erns] > > /root/qemu/linux-user/syscall.c:9705:13: error: implicit declaration > > of function =E2=80=98timerfd_gettime=E2=80=99 [-Werror=3Dimplicit-fun= ction-declaration] > > /root/qemu/linux-user/syscall.c:9705:13: error: nested extern > > declaration of =E2=80=98timerfd_gettime=E2=80=99 [-Werror=3Dnested-ex= terns] > > /root/qemu/linux-user/syscall.c:9728:13: error: implicit declaration > > of function =E2=80=98timerfd_settime=E2=80=99 [-Werror=3Dimplicit-fun= ction-declaration] > > /root/qemu/linux-user/syscall.c:9728:13: error: nested extern > > declaration of =E2=80=98timerfd_settime=E2=80=99 [-Werror=3Dnested-ex= terns] > > cc1: all warnings being treated as errors =20 > Specifically, this is because of the patch which adds > #ifdef CONFIG_TIMERFD ... #endif -- it is doing so > earlier in the file than the include of "qemu-common.h" > which pulls in the file defining the CONFIG_* macros, > so sys/timerfd.h is now never included. Sorry, will fix it quickly. Riku