DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: Executing shell function do_compile
NOTE: make CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable CPPFLAGS= OPT_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot= 
rm -f l2tp_rpc.h
rpcgen -N -M -C -L -h -o l2tp_rpc.h l2tp_rpc.x
rm -f l2tp_rpc_server.c l2tp_rpc_server.c.tmp
rpcgen -N -M -C -L -m -o l2tp_rpc_server.c.tmp l2tp_rpc.x
cat l2tp_rpc_server.c.tmp | sed -e 's/switch (rqstp->rq_proc) {/if (l2tp_api_rpc_check_request(transp) < 0) return; switch (rqstp->rq_proc) {/' > l2tp_rpc_server.c
rm -f l2tp_rpc_client.c
rpcgen -N -M -C -L -l -o l2tp_rpc_client.c l2tp_rpc.x
rm -f l2tp_rpc_xdr.c
rpcgen -N -M -C -L -c -o l2tp_rpc_xdr.c l2tp_rpc.x
flex -ol2tp_config_token.c l2tp_config_token.l
bison -d -o l2tp_config_parse.c l2tp_config_parse.y
make -C usl  EXTRA_CFLAGS=""
make[1]: Entering directory 'TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/openl2tp-1.8/usl'
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable usl_fd.c -o usl_fd.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable usl_misc.c -o usl_misc.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable usl_pid.c -o usl_pid.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable usl_signal.c -o usl_signal.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable usl_timer.c -o usl_timer.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable usl_fsm.c -o usl_fsm.o
x86_64-oe-linux-ar rus libusl.a usl_fd.o usl_misc.o usl_pid.o usl_signal.o usl_timer.o usl_fsm.o
x86_64-oe-linux-ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-oe-linux-ar: creating libusl.a
make[1]: Leaving directory 'TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/openl2tp-1.8/usl'
make -C cli  EXTRA_CFLAGS=""
make[1]: Entering directory 'TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/openl2tp-1.8/cli'
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable cli_lib.c -o cli_lib.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable cli_readline.c -o cli_readline.o
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable cli_util.c -o cli_util.o
x86_64-oe-linux-ar rus libcli.a cli_lib.o cli_readline.o cli_util.o
x86_64-oe-linux-ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-oe-linux-ar: creating libcli.a
make[1]: Leaving directory 'TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/openl2tp-1.8/cli'
make -C plugins  EXTRA_CFLAGS=""
make[1]: Entering directory 'TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/openl2tp-1.8/plugins'
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot -o ppp_unix.so -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -shared -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0=/usr/src/debug/openl2tp/1.8-r0 -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot-native= -fdebug-prefix-map=TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot=  -Wno-unused-but-set-variable  -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC  ppp_unix.c
In file included from ppp_unix.c:29:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_UP'
  IFF_UP    = 1<<0,  /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here
     IFF_UP = 0x1,  /* Interface is up.  */
     ^~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_BROADCAST'
  IFF_BROADCAST   = 1<<1,  /* __volatile__ */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here
     IFF_BROADCAST = 0x2, /* Broadcast address valid.  */
     ^~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_DEBUG'
  IFF_DEBUG   = 1<<2,  /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here
     IFF_DEBUG = 0x4,  /* Turn on debugging.  */
     ^~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_LOOPBACK'
  IFF_LOOPBACK   = 1<<3,  /* __volatile__ */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here
     IFF_LOOPBACK = 0x8,  /* Is a loopback net.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_POINTOPOINT'
  IFF_POINTOPOINT   = 1<<4,  /* __volatile__ */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here
     IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link.  */
     ^~~~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:87:2: error: redeclaration of enumerator 'IFF_NOTRAILERS'
  IFF_NOTRAILERS   = 1<<5,  /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here
     IFF_NOTRAILERS = 0x20, /* Avoid use of trailers.  */
     ^~~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:88:2: error: redeclaration of enumerator 'IFF_RUNNING'
  IFF_RUNNING   = 1<<6,  /* __volatile__ */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here
     IFF_RUNNING = 0x40,  /* Resources allocated.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:89:2: error: redeclaration of enumerator 'IFF_NOARP'
  IFF_NOARP   = 1<<7,  /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here
     IFF_NOARP = 0x80,  /* No address resolution protocol.  */
     ^~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:90:2: error: redeclaration of enumerator 'IFF_PROMISC'
  IFF_PROMISC   = 1<<8,  /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here
     IFF_PROMISC = 0x100, /* Receive all packets.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:91:2: error: redeclaration of enumerator 'IFF_ALLMULTI'
  IFF_ALLMULTI   = 1<<9,  /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here
     IFF_ALLMULTI = 0x200, /* Receive all multicast packets.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:92:2: error: redeclaration of enumerator 'IFF_MASTER'
  IFF_MASTER   = 1<<10, /* __volatile__ */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here
     IFF_MASTER = 0x400,  /* Master of a load balancer.  */
     ^~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:93:2: error: redeclaration of enumerator 'IFF_SLAVE'
  IFF_SLAVE   = 1<<11, /* __volatile__ */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here
     IFF_SLAVE = 0x800,  /* Slave of a load balancer.  */
     ^~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:94:2: error: redeclaration of enumerator 'IFF_MULTICAST'
  IFF_MULTICAST   = 1<<12, /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here
     IFF_MULTICAST = 0x1000, /* Supports multicast.  */
     ^~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:95:2: error: redeclaration of enumerator 'IFF_PORTSEL'
  IFF_PORTSEL   = 1<<13, /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here
     IFF_PORTSEL = 0x2000, /* Can set media type.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:96:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA'
  IFF_AUTOMEDIA   = 1<<14, /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here
     IFF_AUTOMEDIA = 0x4000, /* Auto media select active.  */
     ^~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:97:2: error: redeclaration of enumerator 'IFF_DYNAMIC'
  IFF_DYNAMIC   = 1<<15, /* sysfs */
  ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here
     IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses.  */
     ^~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:25:0,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap'
 struct ifmap {
        ^~~~~
In file included from ppp_unix.c:29:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:111:8: note: originally defined here
 struct ifmap
        ^~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:25:0,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq'
 struct ifreq {
        ^~~~~
In file included from ppp_unix.c:29:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:126:8: note: originally defined here
 struct ifreq
        ^~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:25:0,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf'
 struct ifconf  {
        ^~~~~~
In file included from ppp_unix.c:29:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/net/if.h:176:8: note: originally defined here
 struct ifconf
        ^~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP'
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here
     IPPROTO_IP = 0,    /* Dummy protocol for TCP.  */
     ^~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP'
   IPPROTO_ICMP = 1,  /* Internet Control Message Protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here
     IPPROTO_ICMP = 1,    /* Internet Control Message Protocol.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP'
   IPPROTO_IGMP = 2,  /* Internet Group Management Protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here
     IPPROTO_IGMP = 2,    /* Internet Group Management Protocol. */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:35:3: error: redeclaration of enumerator 'IPPROTO_IPIP'
   IPPROTO_IPIP = 4,  /* IPIP tunnels (older KA9Q tunnels use 94) */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:48:5: note: previous definition of 'IPPROTO_IPIP' was here
     IPPROTO_IPIP = 4,    /* IPIP tunnels (older KA9Q tunnels use 94).  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP'
   IPPROTO_TCP = 6,  /* Transmission Control Protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here
     IPPROTO_TCP = 6,    /* Transmission Control Protocol.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP'
   IPPROTO_EGP = 8,  /* Exterior Gateway Protocol  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here
     IPPROTO_EGP = 8,    /* Exterior Gateway Protocol.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP'
   IPPROTO_PUP = 12,  /* PUP protocol    */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here
     IPPROTO_PUP = 12,    /* PUP protocol.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP'
   IPPROTO_UDP = 17,  /* User Datagram Protocol  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here
     IPPROTO_UDP = 17,    /* User Datagram Protocol.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP'
   IPPROTO_IDP = 22,  /* XNS IDP protocol   */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here
     IPPROTO_IDP = 22,    /* XNS IDP protocol.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP'
   IPPROTO_TP = 29,  /* SO Transport Protocol Class 4 */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:60:5: note: previous definition of 'IPPROTO_TP' was here
     IPPROTO_TP = 29,    /* SO Transport Protocol Class 4.  */
     ^~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP'
   IPPROTO_DCCP = 33,  /* Datagram Congestion Control Protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here
     IPPROTO_DCCP = 33,    /* Datagram Congestion Control Protocol.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6'
   IPPROTO_IPV6 = 41,  /* IPv6-in-IPv4 tunnelling  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here
     IPPROTO_IPV6 = 41,     /* IPv6 header.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP'
   IPPROTO_RSVP = 46,  /* RSVP Protocol   */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here
     IPPROTO_RSVP = 46,    /* Reservation Protocol.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE'
   IPPROTO_GRE = 47,  /* Cisco GRE tunnels (rfc 1701,1702) */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here
     IPPROTO_GRE = 47,    /* General Routing Encapsulation.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP'
   IPPROTO_ESP = 50,  /* Encapsulation Security Payload protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here
     IPPROTO_ESP = 50,      /* encapsulating security payload.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH'
   IPPROTO_AH = 51,  /* Authentication Header protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here
     IPPROTO_AH = 51,       /* authentication header.  */
     ^~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP'
   IPPROTO_MTP = 92,  /* Multicast Transport Protocol  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here
     IPPROTO_MTP = 92,    /* Multicast Transport Protocol.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH'
   IPPROTO_BEETPH = 94,  /* IP option pseudo header for BEET */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:76:5: note: previous definition of 'IPPROTO_BEETPH' was here
     IPPROTO_BEETPH = 94,   /* IP option pseudo header for BEET.  */
     ^~~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP'
   IPPROTO_ENCAP = 98,  /* Encapsulation Header   */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here
     IPPROTO_ENCAP = 98,    /* Encapsulation Header.  */
     ^~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM'
   IPPROTO_PIM = 103,  /* Protocol Independent Multicast */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here
     IPPROTO_PIM = 103,    /* Protocol Independent Multicast.  */
     ^~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP'
   IPPROTO_COMP = 108,  /* Compression Header Protocol  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here
     IPPROTO_COMP = 108,    /* Compression Header Protocol.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP'
   IPPROTO_SCTP = 132,  /* Stream Control Transport Protocol */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here
     IPPROTO_SCTP = 132,    /* Stream Control Transmission Protocol.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE'
   IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828)   */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here
     IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
     ^~~~~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS'
   IPPROTO_MPLS = 137,  /* MPLS in IP (RFC 4023)  */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here
     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
     ^~~~~~~~~~~~
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW'
   IPPROTO_RAW = 255,  /* Raw IP packets   */
   ^
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:90:5: note: previous definition of 'IPPROTO_RAW' was here
     IPPROTO_RAW = 255,    /* Raw IP packets.  */
     ^~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX'
   IPPROTO_MAX
   ^~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here
     IPPROTO_MAX
     ^~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr'
 struct in_addr {
        ^~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:31:8: note: originally defined here
 struct in_addr
        ^~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq'
 struct ip_mreq  {
        ^~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:264:8: note: originally defined here
 struct ip_mreq
        ^~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn'
 struct ip_mreqn {
        ^~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from ppp_unix.c:30:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/bits/in.h:149:8: note: originally defined here
 struct ip_mreqn
        ^~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source'
 struct ip_mreq_source {
        ^~~~~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:273:8: note: originally defined here
 struct ip_mreq_source
        ^~~~~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter'
 struct ip_msfilter {
        ^~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:323:8: note: originally defined here
 struct ip_msfilter
        ^~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req'
 struct group_req {
        ^~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:300:8: note: originally defined here
 struct group_req
        ^~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req'
 struct group_source_req {
        ^~~~~~~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:309:8: note: originally defined here
 struct group_source_req
        ^~~~~~~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter'
 struct group_filter {
        ^~~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:344:8: note: originally defined here
 struct group_filter
        ^~~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo'
 struct in_pktinfo {
        ^~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from ppp_unix.c:30:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/bits/in.h:157:8: note: originally defined here
 struct in_pktinfo
        ^~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:20:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in'
 struct sockaddr_in {
        ^~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:237:8: note: originally defined here
 struct sockaddr_in
        ^~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:21:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {
        ^~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
        ^~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:21:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^~~~~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:252:8: note: originally defined here
 struct sockaddr_in6
        ^~~~~~~~~~~~
In file included from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppol2tp.h:21:0,
                 from TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/if_pppox.h:27,
                 from ppp_unix.c:45:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^~~~~~~~~
In file included from ppp_unix.c:30:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/netinet/in.h:288:8: note: originally defined here
 struct ipv6_mreq
        ^~~~~~~~~
ppp_unix.c: In function 'ppp_unix_params_to_argv':
ppp_unix.c:188:30: error: incompatible type for argument 1 of 'inet_ntoa'
    strcat(&buf[0], inet_ntoa(ip));
                              ^~
In file included from ppp_unix.c:31:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/arpa/inet.h:53:14: note: expected 'struct in_addr' but argument is of type 'struct in_addr'
 extern char *inet_ntoa (struct in_addr __in) __THROW;
              ^~~~~~~~~
ppp_unix.c:193:30: error: incompatible type for argument 1 of 'inet_ntoa'
    strcat(&buf[0], inet_ntoa(ip));
                              ^~
In file included from ppp_unix.c:31:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/arpa/inet.h:53:14: note: expected 'struct in_addr' but argument is of type 'struct in_addr'
 extern char *inet_ntoa (struct in_addr __in) __THROW;
              ^~~~~~~~~
ppp_unix.c:202:29: error: incompatible type for argument 1 of 'inet_ntoa'
   strcpy(&buf[0], inet_ntoa(ip));
                             ^~
In file included from ppp_unix.c:31:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/arpa/inet.h:53:14: note: expected 'struct in_addr' but argument is of type 'struct in_addr'
 extern char *inet_ntoa (struct in_addr __in) __THROW;
              ^~~~~~~~~
ppp_unix.c:208:29: error: incompatible type for argument 1 of 'inet_ntoa'
   strcpy(&buf[0], inet_ntoa(ip));
                             ^~
In file included from ppp_unix.c:31:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/arpa/inet.h:53:14: note: expected 'struct in_addr' but argument is of type 'struct in_addr'
 extern char *inet_ntoa (struct in_addr __in) __THROW;
              ^~~~~~~~~
ppp_unix.c:214:29: error: incompatible type for argument 1 of 'inet_ntoa'
   strcpy(&buf[0], inet_ntoa(ip));
                             ^~
In file included from ppp_unix.c:31:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/arpa/inet.h:53:14: note: expected 'struct in_addr' but argument is of type 'struct in_addr'
 extern char *inet_ntoa (struct in_addr __in) __THROW;
              ^~~~~~~~~
ppp_unix.c:220:29: error: incompatible type for argument 1 of 'inet_ntoa'
   strcpy(&buf[0], inet_ntoa(ip));
                             ^~
In file included from ppp_unix.c:31:0:
TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/recipe-sysroot/usr/include/arpa/inet.h:53:14: note: expected 'struct in_addr' but argument is of type 'struct in_addr'
 extern char *inet_ntoa (struct in_addr __in) __THROW;
              ^~~~~~~~~
Makefile:24: recipe for target 'ppp_unix.so' failed
make[1]: *** [ppp_unix.so] Error 1
make[1]: Leaving directory 'TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/openl2tp-1.8/plugins'
Makefile:201: recipe for target 'subdir-plugins' failed
make: *** [subdir-plugins] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at TOPDIR/tmpfs/work/core2-64-oe-linux/openl2tp/1.8-r0/temp/log.do_compile.28248)

Error details

Submitted on:
21/02/18 03:39
Error type:
Recipe
Task:
do_compile
Recipe:
openl2tp
Recipe version:
1.8-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
ubuntu-16.04/ubuntu-16.04
Branch:
jansa/master
Commit:
c760ce6f0321871db4a8ed551d8a6ae5c6387fe7
Build:
#53753
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug