[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 0/5] linux-user patches for 2.2
From: |
Riku Voipio |
Subject: |
Re: [Qemu-devel] [PULL 0/5] linux-user patches for 2.2 |
Date: |
Mon, 6 Oct 2014 22:05:44 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Oct 06, 2014 at 05:49:14PM +0100, Peter Maydell wrote:
> On 6 October 2014 15:59, Peter Maydell <address@hidden> wrote:
> > Hi. I'm afraid this doesn't compile on my ARM box:
> >
> > /root/qemu/linux-user/syscall.c: In function ‘do_syscall’:
> > /root/qemu/linux-user/syscall.c:9695:9: error: implicit declaration of
> > function ‘timerfd_create’ [-Werror=implicit-function-declaration]
> > /root/qemu/linux-user/syscall.c:9695:9: error: nested extern
> > declaration of ‘timerfd_create’ [-Werror=nested-externs]
> > /root/qemu/linux-user/syscall.c:9705:13: error: implicit declaration
> > of function ‘timerfd_gettime’ [-Werror=implicit-function-declaration]
> > /root/qemu/linux-user/syscall.c:9705:13: error: nested extern
> > declaration of ‘timerfd_gettime’ [-Werror=nested-externs]
> > /root/qemu/linux-user/syscall.c:9728:13: error: implicit declaration
> > of function ‘timerfd_settime’ [-Werror=implicit-function-declaration]
> > /root/qemu/linux-user/syscall.c:9728:13: error: nested extern
> > declaration of ‘timerfd_settime’ [-Werror=nested-externs]
> > cc1: all warnings being treated as errors
> 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
- [Qemu-devel] [PULL 0/5] linux-user patches for 2.2, riku . voipio, 2014/10/06
- [Qemu-devel] [PULL 3/5] linux-user: Simplify timerid checks on g_posix_timers range, riku . voipio, 2014/10/06
- [Qemu-devel] [PULL 5/5] translate-all.c: memory walker initial address miscalculation, riku . voipio, 2014/10/06
- [Qemu-devel] [PULL 2/5] linux-user: Convert blkpg to use a special subop handler, riku . voipio, 2014/10/06
- [Qemu-devel] [PULL 4/5] linux-user: don't include timerfd if not needed, riku . voipio, 2014/10/06
- [Qemu-devel] [PULL 1/5] linux-user: Enable epoll_pwait syscall for ARM, riku . voipio, 2014/10/06
- Re: [Qemu-devel] [PULL 0/5] linux-user patches for 2.2, Peter Maydell, 2014/10/06