All of lore.kernel.org
 help / color / mirror / Atom feed
* ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed
@ 2018-03-22  7:43 Aditya Tayade
  2018-03-22 16:09 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Tayade @ 2018-03-22  7:43 UTC (permalink / raw)
  To: poky


[-- Attachment #1.1: Type: text/plain, Size: 823 bytes --]

Hi,


After adding meta-networking sub-layer in the yocto 2.5 project getting some redeclaration errors while building the image.

Could you please help with finding out the root cause.


Please refer the attached log for more information.



Best Regards,

Aditya Tayade

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

[-- Attachment #1.2: Type: text/html, Size: 1647 bytes --]

[-- Attachment #2: log.do_compile.32737 --]
[-- Type: application/octet-stream, Size: 83972 bytes --]

DEBUG: Executing shell function do_compile
NOTE: make -j 4 BINDIR=/sbin MANDIR=/usr/share/man ETHERTYPESPATH=/etc INITDIR=/etc/init.d SYSCONFIGDIR=/etc/default LIBDIR=/lib/ebtables CC=i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4=/usr/src/debug/ebtables/2.0.10-4-r4 -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot-native= -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot=  LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-as-needed LD=i586-poky-linux-ld --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot  
i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4=/usr/src/debug/ebtables/2.0.10-4-r4 -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot-native= -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot=  -fPIC -O3 -DPROGVERSION=\"2.0.10-4\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o useful_functions.o useful_functions.c -Iinclude/
i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4=/usr/src/debug/ebtables/2.0.10-4-r4 -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot-native= -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot=  -fPIC -O3 -DPROGVERSION=\"2.0.10-4\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o extensions/ebt_nat.o extensions/ebt_nat.c -Iinclude/
i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4=/usr/src/debug/ebtables/2.0.10-4-r4 -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot-native= -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot=  -fPIC -O3 -DPROGVERSION=\"2.0.10-4\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o extensions/ebt_arpreply.o extensions/ebt_arpreply.c -Iinclude/
i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4=/usr/src/debug/ebtables/2.0.10-4-r4 -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot-native= -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot=  -fPIC -O3 -DPROGVERSION=\"2.0.10-4\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o extensions/ebt_standard.o extensions/ebt_standard.c -Iinclude/
i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4=/usr/src/debug/ebtables/2.0.10-4-r4 -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot-native= -fdebug-prefix-map=/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot=  -fPIC -O3 -DPROGVERSION=\"2.0.10-4\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o extensions/ebt_log.o extensions/ebt_log.c -Iinclude/
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP'
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here
     IPPROTO_IP = 0,    /* Dummy protocol for TCP.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP'
   IPPROTO_ICMP = 1,  /* Internet Control Message Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here
     IPPROTO_ICMP = 1,    /* Internet Control Message Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP'
   IPPROTO_IGMP = 2,  /* Internet Group Management Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here
     IPPROTO_IGMP = 2,    /* Internet Group Management Protocol. */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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) */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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).  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP'
   IPPROTO_TCP = 6,  /* Transmission Control Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here
     IPPROTO_TCP = 6,    /* Transmission Control Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP'
   IPPROTO_EGP = 8,  /* Exterior Gateway Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here
     IPPROTO_EGP = 8,    /* Exterior Gateway Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP'
   IPPROTO_PUP = 12,  /* PUP protocol    */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here
     IPPROTO_PUP = 12,    /* PUP protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP'
   IPPROTO_UDP = 17,  /* User Datagram Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here
     IPPROTO_UDP = 17,    /* User Datagram Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP'
   IPPROTO_IDP = 22,  /* XNS IDP protocol   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here
     IPPROTO_IDP = 22,    /* XNS IDP protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP'
   IPPROTO_TP = 29,  /* SO Transport Protocol Class 4 */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP'
   IPPROTO_DCCP = 33,  /* Datagram Congestion Control Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here
     IPPROTO_DCCP = 33,    /* Datagram Congestion Control Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6'
   IPPROTO_IPV6 = 41,  /* IPv6-in-IPv4 tunnelling  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here
     IPPROTO_IPV6 = 41,     /* IPv6 header.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP'
   IPPROTO_RSVP = 46,  /* RSVP Protocol   */
   ^
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP'
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here
     IPPROTO_IP = 0,    /* Dummy protocol for TCP.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here
     IPPROTO_RSVP = 46,    /* Reservation Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE'
   IPPROTO_GRE = 47,  /* Cisco GRE tunnels (rfc 1701,1702) */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here
     IPPROTO_GRE = 47,    /* General Routing Encapsulation.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP'
   IPPROTO_ESP = 50,  /* Encapsulation Security Payload protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here
     IPPROTO_ESP = 50,      /* encapsulating security payload.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH'
   IPPROTO_AH = 51,  /* Authentication Header protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here
     IPPROTO_AH = 51,       /* authentication header.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP'
   IPPROTO_MTP = 92,  /* Multicast Transport Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here
     IPPROTO_MTP = 92,    /* Multicast Transport Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH'
   IPPROTO_BEETPH = 94,  /* IP option pseudo header for BEET */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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.  */
     ^~~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP'
   IPPROTO_ENCAP = 98,  /* Encapsulation Header   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here
     IPPROTO_ENCAP = 98,    /* Encapsulation Header.  */
     ^~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM'
   IPPROTO_PIM = 103,  /* Protocol Independent Multicast */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here
     IPPROTO_PIM = 103,    /* Protocol Independent Multicast.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP'
   IPPROTO_COMP = 108,  /* Compression Header Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here
     IPPROTO_COMP = 108,    /* Compression Header Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP'
   IPPROTO_SCTP = 132,  /* Stream Control Transport Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here
     IPPROTO_SCTP = 132,    /* Stream Control Transmission Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE'
   IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828)   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here
     IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
     ^~~~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS'
   IPPROTO_MPLS = 137,  /* MPLS in IP (RFC 4023)  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here
     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW'
   IPPROTO_RAW = 255,  /* Raw IP packets   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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 /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX'
   IPPROTO_MAX
   ^~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here
     IPPROTO_MAX
     ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr'
 struct in_addr {
        ^~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:31:8: note: originally defined here
 struct in_addr
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq'
 struct ip_mreq  {
        ^~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP'
   IPPROTO_ICMP = 1,  /* Internet Control Message Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here
     IPPROTO_ICMP = 1,    /* Internet Control Message Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP'
   IPPROTO_IGMP = 2,  /* Internet Group Management Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here
     IPPROTO_IGMP = 2,    /* Internet Group Management Protocol. */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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) */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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).  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP'
   IPPROTO_TCP = 6,  /* Transmission Control Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here
     IPPROTO_TCP = 6,    /* Transmission Control Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP'
   IPPROTO_EGP = 8,  /* Exterior Gateway Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here
     IPPROTO_EGP = 8,    /* Exterior Gateway Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP'
   IPPROTO_PUP = 12,  /* PUP protocol    */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here
     IPPROTO_PUP = 12,    /* PUP protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP'
   IPPROTO_UDP = 17,  /* User Datagram Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here
     IPPROTO_UDP = 17,    /* User Datagram Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP'
   IPPROTO_IDP = 22,  /* XNS IDP protocol   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here
     IPPROTO_IDP = 22,    /* XNS IDP protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP'
   IPPROTO_TP = 29,  /* SO Transport Protocol Class 4 */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP'
   IPPROTO_DCCP = 33,  /* Datagram Congestion Control Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here
     IPPROTO_DCCP = 33,    /* Datagram Congestion Control Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6'
   IPPROTO_IPV6 = 41,  /* IPv6-in-IPv4 tunnelling  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here
     IPPROTO_IPV6 = 41,     /* IPv6 header.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP'
   IPPROTO_RSVP = 46,  /* RSVP Protocol   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here
     IPPROTO_RSVP = 46,    /* Reservation Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE'
   IPPROTO_GRE = 47,  /* Cisco GRE tunnels (rfc 1701,1702) */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here
     IPPROTO_GRE = 47,    /* General Routing Encapsulation.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP'
   IPPROTO_ESP = 50,  /* Encapsulation Security Payload protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here
     IPPROTO_ESP = 50,      /* encapsulating security payload.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH'
   IPPROTO_AH = 51,  /* Authentication Header protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here
     IPPROTO_AH = 51,       /* authentication header.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP'
   IPPROTO_MTP = 92,  /* Multicast Transport Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here
     IPPROTO_MTP = 92,    /* Multicast Transport Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH'
   IPPROTO_BEETPH = 94,  /* IP option pseudo header for BEET */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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.  */
     ^~~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP'
   IPPROTO_ENCAP = 98,  /* Encapsulation Header   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here
     IPPROTO_ENCAP = 98,    /* Encapsulation Header.  */
     ^~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM'
   IPPROTO_PIM = 103,  /* Protocol Independent Multicast */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here
     IPPROTO_PIM = 103,    /* Protocol Independent Multicast.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP'
   IPPROTO_COMP = 108,  /* Compression Header Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here
     IPPROTO_COMP = 108,    /* Compression Header Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP'
   IPPROTO_SCTP = 132,  /* Stream Control Transport Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here
     IPPROTO_SCTP = 132,    /* Stream Control Transmission Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE'
   IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828)   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here
     IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
     ^~~~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS'
   IPPROTO_MPLS = 137,  /* MPLS in IP (RFC 4023)  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here
     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW'
   IPPROTO_RAW = 255,  /* Raw IP packets   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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 /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX'
   IPPROTO_MAX
   ^~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here
     IPPROTO_MAX
     ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr'
 struct in_addr {
        ^~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:31:8: note: originally defined here
 struct in_addr
        ^~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:264:8: note: originally defined here
 struct ip_mreq
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq'
 struct ip_mreq  {
        ^~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:264:8: note: originally defined here
 struct ip_mreq
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn'
 struct ip_mreqn {
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from extensions/../include/ebtables_u.h:26,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/bits/in.h:149:8: note: originally defined here
 struct ip_mreqn
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn'
 struct ip_mreqn {
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from extensions/../include/ebtables_u.h:26,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/bits/in.h:149:8: note: originally defined here
 struct ip_mreqn
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source'
 struct ip_mreq_source {
        ^~~~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:273:8: note: originally defined here
 struct ip_mreq_source
        ^~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter'
 struct ip_msfilter {
        ^~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:323:8: note: originally defined here
 struct ip_msfilter
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req'
 struct group_req {
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source'
 struct ip_mreq_source {
        ^~~~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:273:8: note: originally defined here
 struct ip_mreq_source
        ^~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter'
 struct ip_msfilter {
        ^~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:323:8: note: originally defined here
 struct ip_msfilter
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req'
 struct group_req {
        ^~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:300:8: note: originally defined here
 struct group_req
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req'
 struct group_source_req {
        ^~~~~~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:300:8: note: originally defined here
 struct group_req
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req'
 struct group_source_req {
        ^~~~~~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:309:8: note: originally defined here
 struct group_source_req
        ^~~~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter'
 struct group_filter {
        ^~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:344:8: note: originally defined here
 struct group_filter
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo'
 struct in_pktinfo {
        ^~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:309:8: note: originally defined here
 struct group_source_req
        ^~~~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter'
 struct group_filter {
        ^~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:344:8: note: originally defined here
 struct group_filter
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from extensions/../include/ebtables_u.h:26,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/bits/in.h:157:8: note: originally defined here
 struct in_pktinfo
        ^~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo'
 struct in_pktinfo {
        ^~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from extensions/../include/ebtables_u.h:26,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/bits/in.h:157:8: note: originally defined here
 struct in_pktinfo
        ^~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in'
 struct sockaddr_in {
        ^~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:237:8: note: originally defined here
 struct sockaddr_in
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in'
 struct sockaddr_in {
        ^~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:237:8: note: originally defined here
 struct sockaddr_in
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {
        ^~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:252:8: note: originally defined here
 struct sockaddr_in6
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_nat.c:14:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:288:8: note: originally defined here
 struct ipv6_mreq
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {
        ^~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^~~~~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:252:8: note: originally defined here
 struct sockaddr_in6
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from extensions/../include/ebtables_u.h:27,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^~~~~~~~~
In file included from extensions/../include/ebtables_u.h:26:0,
                 from extensions/ebt_arpreply.c:15:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:288:8: note: originally defined here
 struct ipv6_mreq
        ^~~~~~~~~
extensions/Makefile:26: recipe for target 'extensions/ebt_nat.o' failed
make: *** [extensions/ebt_nat.o] Error 1
make: *** Waiting for unfinished jobs....
extensions/Makefile:26: recipe for target 'extensions/ebt_arpreply.o' failed
make: *** [extensions/ebt_arpreply.o] Error 1
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP'
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here
     IPPROTO_IP = 0,    /* Dummy protocol for TCP.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP'
   IPPROTO_ICMP = 1,  /* Internet Control Message Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here
     IPPROTO_ICMP = 1,    /* Internet Control Message Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP'
   IPPROTO_IGMP = 2,  /* Internet Group Management Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here
     IPPROTO_IGMP = 2,    /* Internet Group Management Protocol. */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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) */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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).  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP'
   IPPROTO_TCP = 6,  /* Transmission Control Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here
     IPPROTO_TCP = 6,    /* Transmission Control Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP'
   IPPROTO_EGP = 8,  /* Exterior Gateway Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here
     IPPROTO_EGP = 8,    /* Exterior Gateway Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP'
   IPPROTO_PUP = 12,  /* PUP protocol    */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here
     IPPROTO_PUP = 12,    /* PUP protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP'
   IPPROTO_UDP = 17,  /* User Datagram Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here
     IPPROTO_UDP = 17,    /* User Datagram Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP'
   IPPROTO_IDP = 22,  /* XNS IDP protocol   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here
     IPPROTO_IDP = 22,    /* XNS IDP protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP'
   IPPROTO_TP = 29,  /* SO Transport Protocol Class 4 */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP'
   IPPROTO_DCCP = 33,  /* Datagram Congestion Control Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here
     IPPROTO_DCCP = 33,    /* Datagram Congestion Control Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6'
   IPPROTO_IPV6 = 41,  /* IPv6-in-IPv4 tunnelling  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here
     IPPROTO_IPV6 = 41,     /* IPv6 header.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP'
   IPPROTO_RSVP = 46,  /* RSVP Protocol   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here
     IPPROTO_RSVP = 46,    /* Reservation Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE'
   IPPROTO_GRE = 47,  /* Cisco GRE tunnels (rfc 1701,1702) */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here
     IPPROTO_GRE = 47,    /* General Routing Encapsulation.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP'
   IPPROTO_ESP = 50,  /* Encapsulation Security Payload protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here
     IPPROTO_ESP = 50,      /* encapsulating security payload.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH'
   IPPROTO_AH = 51,  /* Authentication Header protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here
     IPPROTO_AH = 51,       /* authentication header.  */
     ^~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP'
   IPPROTO_MTP = 92,  /* Multicast Transport Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here
     IPPROTO_MTP = 92,    /* Multicast Transport Protocol.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH'
   IPPROTO_BEETPH = 94,  /* IP option pseudo header for BEET */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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.  */
     ^~~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP'
   IPPROTO_ENCAP = 98,  /* Encapsulation Header   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here
     IPPROTO_ENCAP = 98,    /* Encapsulation Header.  */
     ^~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM'
   IPPROTO_PIM = 103,  /* Protocol Independent Multicast */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here
     IPPROTO_PIM = 103,    /* Protocol Independent Multicast.  */
     ^~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP'
   IPPROTO_COMP = 108,  /* Compression Header Protocol  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here
     IPPROTO_COMP = 108,    /* Compression Header Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP'
   IPPROTO_SCTP = 132,  /* Stream Control Transport Protocol */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here
     IPPROTO_SCTP = 132,    /* Stream Control Transmission Protocol.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE'
   IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828)   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here
     IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
     ^~~~~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS'
   IPPROTO_MPLS = 137,  /* MPLS in IP (RFC 4023)  */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here
     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
     ^~~~~~~~~~~~
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW'
   IPPROTO_RAW = 255,  /* Raw IP packets   */
   ^
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/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 /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX'
   IPPROTO_MAX
   ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here
     IPPROTO_MAX
     ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr'
 struct in_addr {
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:31:8: note: originally defined here
 struct in_addr
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq'
 struct ip_mreq  {
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:264:8: note: originally defined here
 struct ip_mreq
        ^~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn'
 struct ip_mreqn {
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/bits/in.h:149:8: note: originally defined here
 struct ip_mreqn
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source'
 struct ip_mreq_source {
        ^~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:273:8: note: originally defined here
 struct ip_mreq_source
        ^~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter'
 struct ip_msfilter {
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:323:8: note: originally defined here
 struct ip_msfilter
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req'
 struct group_req {
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:300:8: note: originally defined here
 struct group_req
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req'
 struct group_source_req {
        ^~~~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:309:8: note: originally defined here
 struct group_source_req
        ^~~~~~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter'
 struct group_filter {
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:344:8: note: originally defined here
 struct group_filter
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo'
 struct in_pktinfo {
        ^~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:37:0,
                 from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/bits/in.h:157:8: note: originally defined here
 struct in_pktinfo
        ^~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:7:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in'
 struct sockaddr_in {
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:237:8: note: originally defined here
 struct sockaddr_in
        ^~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
        ^~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:252:8: note: originally defined here
 struct sockaddr_in6
        ^~~~~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/netfilter.h:8:0,
                 from include/linux/netfilter_bridge.h:7,
                 from include/linux/netfilter_bridge/ebtables.h:17,
                 from include/ebtables_u.h:27,
                 from useful_functions.c:34:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^~~~~~~~~
In file included from /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/arpa/inet.h:22:0,
                 from useful_functions.c:33:
/home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/recipe-sysroot/usr/include/netinet/in.h:288:8: note: originally defined here
 struct ipv6_mreq
        ^~~~~~~~~
Makefile:78: recipe for target 'useful_functions.o' failed
make: *** [useful_functions.o] Error 1
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/aditya/mywork/poky/build-hello/tmp/work/i586-poky-linux/ebtables/2.0.10-4-r4/temp/log.do_compile.32737)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed
  2018-03-22  7:43 ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed Aditya Tayade
@ 2018-03-22 16:09 ` Bruce Ashfield
  2018-03-23  5:15   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2018-03-22 16:09 UTC (permalink / raw)
  To: Aditya Tayade, poky

On 03/22/2018 03:43 AM, Aditya Tayade wrote:
> Hi,
> 
> 
> After adding meta-networking sub-layer in the yocto 2.5 project getting 
> some redeclaration errors while building the image.
> 
> Could you please help with finding out the root cause.

There have been several fixes to this in the master branches. The kernel's
v4.15 headers moved some of the include contents around and that
introduced build issues for ebtables.

That regression was subsequently fixes in a v4.15-stable, and I
updated the libc-headers to pick it up.

Khem also sent a patch to meta-oe for ebtables to fix it without
even needing the headers update.

So make sure that you are up to date on all your branches, and
it could very well be fixed.

Bruce

> 
> 
> Please refer the attached log for more information.
> 
> 
> 
> Best Regards,
> 
> Aditya Tayade
> 
> This message contains information that may be privileged or confidential 
> and is the property of the KPIT Technologies Ltd. It is intended only 
> for the person to whom it is addressed. If you are not the intended 
> recipient, you are not authorized to read, print, retain copy, 
> disseminate, distribute, or use this message or any part thereof. If you 
> receive this message in error, please notify the sender immediately and 
> delete all copies of this message. KPIT Technologies Ltd. does not 
> accept any liability for virus infected mails.
> 
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed
  2018-03-22 16:09 ` Bruce Ashfield
@ 2018-03-23  5:15   ` Khem Raj
  2018-03-23 12:33     ` Aditya Tayade
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2018-03-23  5:15 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: poky

On Thu, Mar 22, 2018 at 9:09 AM, Bruce Ashfield
<bruce.ashfield@windriver.com> wrote:
> On 03/22/2018 03:43 AM, Aditya Tayade wrote:
>>
>> Hi,
>>
>>
>> After adding meta-networking sub-layer in the yocto 2.5 project getting
>> some redeclaration errors while building the image.
>>
>> Could you please help with finding out the root cause.
>
>
> There have been several fixes to this in the master branches. The kernel's
> v4.15 headers moved some of the include contents around and that
> introduced build issues for ebtables.
>
> That regression was subsequently fixes in a v4.15-stable, and I
> updated the libc-headers to pick it up.
>
> Khem also sent a patch to meta-oe for ebtables to fix it without
> even needing the headers update.
>

yeah and they are still not applied unfortunately so please grab them
from patchwork until they get applied to meta-networking

https://patchwork.openembedded.org/patch/149374/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed
  2018-03-23  5:15   ` Khem Raj
@ 2018-03-23 12:33     ` Aditya Tayade
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Tayade @ 2018-03-23 12:33 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield; +Cc: poky

[-- Attachment #1: Type: text/plain, Size: 1949 bytes --]

Hi Bruce and Raj,


Successfully able to build image after pulling latest poky changes from master branch without applying patch.


Thanks for your valuable inputs.




Regards,

Aditya Tayade

________________________________
From: Khem Raj <raj.khem@gmail.com>
Sent: Friday, March 23, 2018 10:45:41 AM
To: Bruce Ashfield
Cc: Aditya Tayade; poky@yoctoproject.org
Subject: Re: [poky] ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed

On Thu, Mar 22, 2018 at 9:09 AM, Bruce Ashfield
<bruce.ashfield@windriver.com> wrote:
> On 03/22/2018 03:43 AM, Aditya Tayade wrote:
>>
>> Hi,
>>
>>
>> After adding meta-networking sub-layer in the yocto 2.5 project getting
>> some redeclaration errors while building the image.
>>
>> Could you please help with finding out the root cause.
>
>
> There have been several fixes to this in the master branches. The kernel's
> v4.15 headers moved some of the include contents around and that
> introduced build issues for ebtables.
>
> That regression was subsequently fixes in a v4.15-stable, and I
> updated the libc-headers to pick it up.
>
> Khem also sent a patch to meta-oe for ebtables to fix it without
> even needing the headers update.
>

yeah and they are still not applied unfortunately so please grab them
from patchwork until they get applied to meta-networking

https://patchwork.openembedded.org/patch/149374/
This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

[-- Attachment #2: Type: text/html, Size: 3760 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-23 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22  7:43 ERROR: ebtables-2.0.10-4-r4 do_compile: oe_runmake failed Aditya Tayade
2018-03-22 16:09 ` Bruce Ashfield
2018-03-23  5:15   ` Khem Raj
2018-03-23 12:33     ` Aditya Tayade

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.