[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201609130354.EJQifqeg%fengguang.wu@intel.com>
Date: Tue, 13 Sep 2016 03:26:35 +0800
From: kbuild test robot <lkp@...el.com>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
linux-kernel@...r.kernel.org, john.stultz@...aro.rg,
bmoses@...gle.com, Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH net-next 2/2] errqueue: include linux/time.h
Hi Willem,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Willem-de-Bruijn/uapi-include-time-h-from-errqueue-h/20160913-020431
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from ./usr/include/linux/errqueue.h:4:0,
from Documentation/networking/timestamping/timestamping.c:46:
>> ./usr/include/linux/time.h:26:8: error: redefinition of 'struct timezone'
struct timezone {
^~~~~~~~
In file included from Documentation/networking/timestamping/timestamping.c:37:0:
/usr/include/x86_64-linux-gnu/sys/time.h:55:8: note: originally defined here
struct timezone
^~~~~~~~
--
In file included from ./usr/include/linux/errqueue.h:4:0,
from Documentation/networking/timestamping/txtimestamp.c:40:
>> ./usr/include/linux/time.h:19:8: error: redefinition of 'struct timeval'
struct timeval {
^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/select.h:45:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:219,
from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
from /usr/include/x86_64-linux-gnu/sys/socket.h:26,
from /usr/include/netinet/in.h:23,
from /usr/include/arpa/inet.h:22,
from Documentation/networking/timestamping/txtimestamp.c:35:
/usr/include/x86_64-linux-gnu/bits/time.h:30:8: note: originally defined here
struct timeval
^~~~~~~
In file included from Documentation/networking/timestamping/txtimestamp.c:59:0:
>> /usr/include/x86_64-linux-gnu/sys/time.h:55:8: error: redefinition of 'struct timezone'
struct timezone
^~~~~~~~
In file included from ./usr/include/linux/errqueue.h:4:0,
from Documentation/networking/timestamping/txtimestamp.c:40:
./usr/include/linux/time.h:26:8: note: originally defined here
struct timezone {
^~~~~~~~
>> ./usr/include/linux/time.h:38:22: error: expected identifier before numeric constant
#define ITIMER_REAL 0
^
In file included from Documentation/networking/timestamping/txtimestamp.c:59:0:
>> /usr/include/x86_64-linux-gnu/sys/time.h:107:8: error: redefinition of 'struct itimerval'
struct itimerval
^~~~~~~~~
In file included from ./usr/include/linux/errqueue.h:4:0,
from Documentation/networking/timestamping/txtimestamp.c:40:
./usr/include/linux/time.h:51:8: note: originally defined here
struct itimerval {
^~~~~~~~~
In file included from Documentation/networking/timestamping/txtimestamp.c:61:0:
>> /usr/include/time.h:161:8: error: redefinition of 'struct itimerspec'
struct itimerspec
^~~~~~~~~~
In file included from ./usr/include/linux/errqueue.h:4:0,
from Documentation/networking/timestamping/txtimestamp.c:40:
./usr/include/linux/time.h:44:8: note: originally defined here
struct itimerspec {
^~~~~~~~~~
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (25070 bytes)
Powered by blists - more mailing lists