From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Viktorin Subject: Re: dpdk-armv7: build failure since de96fe68ae9 Date: Fri, 7 Apr 2017 16:15:18 +0200 Message-ID: <20170407161518.32f55a2a.viktorin@rehivetech.com> References: <20170407131313.4c24d15a.viktorin@rehivetech.com> <20170407140559.3d0da31a@paques.dev.6wind.com> <20170407142134.139c3d14.viktorin@rehivetech.com> <20170407152716.3eaad611@paques.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Pascal Mazon Return-path: Received: from wes1-so1.wedos.net (wes1-so1.wedos.net [46.28.106.15]) by dpdk.org (Postfix) with ESMTP id E065B2B9B for ; Fri, 7 Apr 2017 16:16:56 +0200 (CEST) In-Reply-To: <20170407152716.3eaad611@paques.dev.6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 7 Apr 2017 15:27:16 +0200 Pascal Mazon wrote: > Hmmm. This is very strange. > From what you've given me, tap_flow.c should include a tap_autoconf.h wit= h HAVE_TC_FLOWER, avoiding the duplicated definition. >=20 > Just to be sure, can you compile the tap driver with V=3D1 and look for t= he following line? > Looking for TCA_FLOWER_UNSPEC enum in linux/pkt_cls.h. Defining HAVE_TC= _FLOWER. >=20 > And maybe use the following patch to be able to compare variables during = standard compilation: >=20 > diff --git a/drivers/net/tap/Makefile b/drivers/net/tap/Makefile > index c42a680555e9..740d77ed66b9 100644 > --- a/drivers/net/tap/Makefile > +++ b/drivers/net/tap/Makefile > @@ -70,6 +70,8 @@ export AUTO_CONFIG_CFLAGS =3D -Wno-error > =20 > ifndef V > AUTOCONF_OUTPUT :=3D >/dev/null > +else > +$(info tap_autoconf CC=3D$(CC) CFLAGS=3D$(CFLAGS) CPPFLAGS=3D$(CPPFLAGS)= EXTRA_CFLAGS=3D$(EXTRA_CFLAGS) EXTRA_CPPFLAGS=3D$(EXTRA_CPPFLAGS)) > endif > =20 > tap_autoconf.h.new: FORCE >=20 >=20 > Prior to rebuilding, please make sure the tap_autoconf.h are removed from= build/build/drivers/net/tap/. Got it, gcc is failing inside the shell script: tap_autoconf CC=3D/opt/gcc/br2-arm32-glibc-4.9.x/usr/bin/arm-buildroot-linu= x-gnueabi-gcc CFLAGS=3D-marm -munaligned-access -pthread -march=3Darmv7-a = -mtune=3D"cortex-a9" -mfpu=3Dneon -DRTE_MACHINE_CPUFLAG_NEON -I/home/vikto= rin/dpdk/build/include -include /home/viktorin/dpdk/build/include/rte_confi= g.h -O3 -I/home/viktorin/dpdk/drivers/net/tap -I. -W -Wall -Wstrict-prototy= pes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpo= inter-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -= Wformat-security -Wundef -Wwrite-strings -Werror -Wno-error=3Dcast-align CP= PFLAGS=3D EXTRA_CFLAGS=3D-I/home/viktorin/dpdk/dpdk-armv7-env/usr/local/inc= lude EXTRA_CPPFLAGS=3D rm -f -f -- 'tap_autoconf.h.new' VERBOSE=3D1 sh -- '/home/viktorin/dpdk/buildtools/auto-config-h.sh' 'tap_au= toconf.h.new' \ HAVE_TC_FLOWER \ linux/pkt_cls.h \ enum TCA_FLOWER_UNSPEC \ =09 Looking for TCA_FLOWER_UNSPEC enum in linux/pkt_cls.h. arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized argument in op= tion =E2=80=98-mtune=3D"cortex-a9"=E2=80=99 arm-buildroot-linux-gnueabi-gcc.br_real: note: valid arguments to =E2=80=98= -mtune=3D=E2=80=99 are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10= tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf= -s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm70= 0i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe = arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm9= 20 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e a= rm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a5 cortex-a53 cor= tex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a8 cortex-a9 cortex-m0 corte= x-m0plus cortex-m1 cortex-m3 cortex-m4 cortex-r4 cortex-r4f cortex-r5 corte= x-r7 ep9312 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmm= xt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 str= ongarm1100 strongarm1110 xscale Not defining HAVE_TC_FLOWER. sh -- '/home/viktorin/dpdk/buildtools/auto-config-h.sh' 'tap_autoconf.h.new= ' \ HAVE_TC_VLAN_ID \ linux/pkt_cls.h \ enum TCA_FLOWER_KEY_VLAN_PRIO \ It seems like the -mtune=3D"cortex-a9" has extra quotes (or they are misinterpreted in some way). Jan >=20 > Thank you. >=20 > Best regards, > Pascal >=20 > On Fri, 7 Apr 2017 14:21:34 +0200 > Jan Viktorin wrote: >=20 > > On Fri, 7 Apr 2017 14:05:59 +0200 > > Pascal Mazon wrote: > > =20 > > > On Fri, 7 Apr 2017 13:13:13 +0200 > > > Jan Viktorin wrote: > > > =20 > > > > Hello Pascal, > > > >=20 > > > > my internal ARMv7 DPDK autobuilder is failing. I've bisected to the > > > > source of the problem: > > > >=20 > > > > commit de96fe68ae95990f5ce2cd4c8d9547ab62d2a810 > > > > Author: Pascal Mazon > > > > Date: Thu Mar 23 09:33:57 2017 +0100 > > > >=20 > > > > net/tap: add basic flow API patterns and actions > > > >=20 > > > >=20 > > > > Is it a know issue? Is there some patch for this already? =20 > > >=20 > > > Hello Jan, > > >=20 > > > Well I'm quite surprised (and don't have a patch yet). > > > In drivers/net/tap/Makefile, I'm using buildtools/auto-config-h.sh to= determine whether the TCA_FLOWER_UNSPEC enum can be found when including l= inux/pkt_cls.h. > > > In case it isn't found, I define it in tap_flow.c. > > >=20 > > > What's weird in this case is that auto-config-h.sh apparently doesn't= use the same linux/pkt_cls.h as during tap compilation time, or it would h= ave found it... > > >=20 > > > Can you run manually this command on the building system? > > > VERBOSE=3D1 sh -- ./buildtools/auto-config-h.sh tap_autoconf.h HAVE= _TC_FLOWER linux/pkt_cls.h enum TCA_FLOWER_UNSPEC =20 > >=20 > > $ VERBOSE=3D1 CC=3D/opt/gcc/br2-arm32-glibc-4.9.x/usr/bin/arm-buildroot= -linux-gnueabi-gcc \ > > sh -- ./buildtools/auto-config-h.sh tap_autoconf.h HAVE_TC_FLOWER linu= x/pkt_cls.h enum TCA_FLOWER_UNSPEC > > Looking for TCA_FLOWER_UNSPEC enum in linux/pkt_cls.h. > > Defining HAVE_TC_FLOWER. > > =20 > > >=20 > > > It should define HAVE_TC_FLOWER in the generated tap_autoconf.h. =20 > >=20 > > $ cat tap_autoconf.h=20 > > #ifndef HAVE_TC_FLOWER > > #define HAVE_TC_FLOWER 1 > > #endif /* HAVE_TC_FLOWER */ > >=20 > > $ grep -n TCA_FLOWER_UNSPEC /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buil= droot-linux-gnueabi/sysroot/usr/include/linux/pkt_cls.h=20 > > 339: TCA_FLOWER_UNSPEC, > > =20 > > >=20 > > > The auto-config-h.sh script uses the following for compiling: > > > ${CC} ${CPPFLAGS} ${EXTRA_CPPFLAGS} ${CFLAGS} ${EXTRA_CFLAGS} ${AUT= O_CONFIG_CFLAGS} \ > > > -c -o /dev/null "${temp}" 1>&${out} 2>&${err} > > >=20 > > > If it does not use the same include folders as the standard compilati= on, then I guess we ought to fix the script. =20 > >=20 > > I am not sure by this... > >=20 > > Jan > > =20 > > >=20 > > > Best regards, > > > Pascal > > > =20 > > > >=20 > > > > Error messages: > > > >=20 > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:52:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_UNSPEC=E2= =80=99 > > > > TCA_FLOWER_UNSPEC, > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:339:2: note: previous definition of =E2=80= =98TCA_FLOWER_UNSPEC=E2=80=99 was here > > > > TCA_FLOWER_UNSPEC, > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:53:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_CLASSID=E2= =80=99 > > > > TCA_FLOWER_CLASSID, > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:340:2: note: previous definition of =E2=80= =98TCA_FLOWER_CLASSID=E2=80=99 was here > > > > TCA_FLOWER_CLASSID, > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:54:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_INDEV=E2=80= =99 > > > > TCA_FLOWER_INDEV, > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:341:2: note: previous definition of =E2=80= =98TCA_FLOWER_INDEV=E2=80=99 was here > > > > TCA_FLOWER_INDEV, > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:55:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_ACT=E2=80=99 > > > > TCA_FLOWER_ACT, > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:342:2: note: previous definition of =E2=80= =98TCA_FLOWER_ACT=E2=80=99 was here > > > > TCA_FLOWER_ACT, > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:56:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_ETH_DST= =E2=80=99 > > > > TCA_FLOWER_KEY_ETH_DST, /* ETH_ALEN */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:343:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_ETH_DST=E2=80=99 was here > > > > TCA_FLOWER_KEY_ETH_DST, /* ETH_ALEN */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:57:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_ETH_DST= _MASK=E2=80=99 > > > > TCA_FLOWER_KEY_ETH_DST_MASK, /* ETH_ALEN */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:344:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_ETH_DST_MASK=E2=80=99 was here > > > > TCA_FLOWER_KEY_ETH_DST_MASK, /* ETH_ALEN */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:58:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_ETH_SRC= =E2=80=99 > > > > TCA_FLOWER_KEY_ETH_SRC, /* ETH_ALEN */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:345:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_ETH_SRC=E2=80=99 was here > > > > TCA_FLOWER_KEY_ETH_SRC, /* ETH_ALEN */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:59:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_ETH_SRC= _MASK=E2=80=99 > > > > TCA_FLOWER_KEY_ETH_SRC_MASK, /* ETH_ALEN */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:346:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_ETH_SRC_MASK=E2=80=99 was here > > > > TCA_FLOWER_KEY_ETH_SRC_MASK, /* ETH_ALEN */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:60:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_ETH_TYP= E=E2=80=99 > > > > TCA_FLOWER_KEY_ETH_TYPE, /* be16 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:347:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_ETH_TYPE=E2=80=99 was here > > > > TCA_FLOWER_KEY_ETH_TYPE, /* be16 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:61:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IP_PROT= O=E2=80=99 > > > > TCA_FLOWER_KEY_IP_PROTO, /* u8 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:348:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IP_PROTO=E2=80=99 was here > > > > TCA_FLOWER_KEY_IP_PROTO, /* u8 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:62:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV4_SR= C=E2=80=99 > > > > TCA_FLOWER_KEY_IPV4_SRC, /* be32 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:349:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV4_SRC=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV4_SRC, /* be32 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:63:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV4_SR= C_MASK=E2=80=99 > > > > TCA_FLOWER_KEY_IPV4_SRC_MASK, /* be32 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:350:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV4_SRC_MASK=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV4_SRC_MASK, /* be32 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:64:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV4_DS= T=E2=80=99 > > > > TCA_FLOWER_KEY_IPV4_DST, /* be32 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:351:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV4_DST=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV4_DST, /* be32 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:65:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV4_DS= T_MASK=E2=80=99 > > > > TCA_FLOWER_KEY_IPV4_DST_MASK, /* be32 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:352:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV4_DST_MASK=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV4_DST_MASK, /* be32 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:66:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV6_SR= C=E2=80=99 > > > > TCA_FLOWER_KEY_IPV6_SRC, /* struct in6_addr */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:353:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV6_SRC=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV6_SRC, /* struct in6_addr */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:67:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV6_SR= C_MASK=E2=80=99 > > > > TCA_FLOWER_KEY_IPV6_SRC_MASK, /* struct in6_addr */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:354:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV6_SRC_MASK=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV6_SRC_MASK, /* struct in6_addr */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:68:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV6_DS= T=E2=80=99 > > > > TCA_FLOWER_KEY_IPV6_DST, /* struct in6_addr */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:355:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV6_DST=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV6_DST, /* struct in6_addr */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:69:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_IPV6_DS= T_MASK=E2=80=99 > > > > TCA_FLOWER_KEY_IPV6_DST_MASK, /* struct in6_addr */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:356:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_IPV6_DST_MASK=E2=80=99 was here > > > > TCA_FLOWER_KEY_IPV6_DST_MASK, /* struct in6_addr */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:70:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_TCP_SRC= =E2=80=99 > > > > TCA_FLOWER_KEY_TCP_SRC, /* be16 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:357:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_TCP_SRC=E2=80=99 was here > > > > TCA_FLOWER_KEY_TCP_SRC, /* be16 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:71:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_TCP_DST= =E2=80=99 > > > > TCA_FLOWER_KEY_TCP_DST, /* be16 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:358:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_TCP_DST=E2=80=99 was here > > > > TCA_FLOWER_KEY_TCP_DST, /* be16 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:72:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_UDP_SRC= =E2=80=99 > > > > TCA_FLOWER_KEY_UDP_SRC, /* be16 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:359:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_UDP_SRC=E2=80=99 was here > > > > TCA_FLOWER_KEY_UDP_SRC, /* be16 */ > > > > ^ > > > > /var/lib/jenkins/jobs/dpdk-armv7/workspace/drivers/net/tap/tap_flow= .c:73:2: error: redeclaration of enumerator =E2=80=98TCA_FLOWER_KEY_UDP_DST= =E2=80=99 > > > > TCA_FLOWER_KEY_UDP_DST, /* be16 */ > > > > ^ > > > > In file included from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_tcmsgs.h:40:0, > > > > from /var/lib/jenkins/jobs/dpdk-armv7/workspace/dr= ivers/net/tap/tap_flow.c:44: > > > > /opt/gcc/br2-arm32-glibc-4.9.x/usr/arm-buildroot-linux-gnueabi/sysr= oot/usr/include/linux/pkt_cls.h:360:2: note: previous definition of =E2=80= =98TCA_FLOWER_KEY_UDP_DST=E2=80=99 was here > > > > TCA_FLOWER_KEY_UDP_DST, /* be16 */ > > > > ^ > > > > make[4]: *** [tap_flow.o] Error 1 > > > > make[3]: *** [tap] Error 2 > > > > make[2]: *** [net] Error 2 > > > > make[1]: *** [drivers] Error 2 > > > > make: *** [all] Error 2 > > > > Finished: FAILURE > > > >=20 > > > > Regards > > > > Jan Viktorin > > > > =20 > > > =20 > >=20 > >=20 > > =20 >=20 --=20 Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic