From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hoemail1.alcatel.com (hoemail1.alcatel.com [192.160.6.148]) by dpdk.org (Postfix) with ESMTP id 79E3868F7 for ; Thu, 16 Jan 2014 18:52:34 +0100 (CET) Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by hoemail1.alcatel.com (8.13.8/IER-o) with ESMTP id s0GHrk12005652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 16 Jan 2014 11:53:47 -0600 (CST) Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (fr711wxchhub02.zeu.alcatel-lucent.com [135.239.2.112]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id s0GHrjYC023770 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 16 Jan 2014 18:53:46 +0100 Received: from FR712WXCHMBA16.zeu.alcatel-lucent.com ([169.254.8.251]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.02.0247.003; Thu, 16 Jan 2014 18:53:45 +0100 From: "TSADOK, Shlomi (Shlomi)" To: Thomas Monjalon Thread-Topic: [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here Thread-Index: Ac8S3o2EgqF9iIzPTqGbs8TxzLlHiv//868A///pPVA= Date: Thu, 16 Jan 2014 17:53:44 +0000 Message-ID: <70ED7DF10DA6754880C553B2CD6E25230D1805@FR712WXCHMBA16.zeu.alcatel-lucent.com> References: <70ED7DF10DA6754880C553B2CD6E25230D1766@FR712WXCHMBA16.zeu.alcatel-lucent.com> <201401161831.24881.thomas.monjalon@6wind.com> In-Reply-To: <201401161831.24881.thomas.monjalon@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.239.27.39] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 17:52:34 -0000 That solved it indeed=20 Thank you! Shlomi -----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]=20 Sent: Thursday, January 16, 2014 7:31 PM To: TSADOK, Shlomi (Shlomi) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] conflicting types for "netdev_features_t"; netdevic= e.h:854: note: previous declaration of "netdev_features_t" was here 16/01/2014 18:16, TSADOK, Shlomi (Shlomi): > When compiling DPDK-1.5.2-2 I'm getting the below error OS is CentOS=20 > 6.5, kernel is 2.6.32-431.3.1.el6.x86_64 >=20 > Any idea what the issue is? I think you are not using the latest version. This commit should be the needed in your case: http://www.dpdk.org/browse/dpdk/commit/?id=3Dcaa3d413086205f3bff0fa4753edb7= dfbfc1f633 -- Thomas > =3D=3D Build lib/librte_eal/linuxapp/kni > LD =20 > /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal > /lin > uxapp/kni/built-in.o CC [M] > /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal > /lin uxapp/kni/ixgbe_main.o In file included from=20 > /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ > osde > p.h:41, from > /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ > type > .h:31, from > /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb= . > h:32, from > /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe. > h:52 > , from > /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal > /lin > uxapp/kni/ixgbe_main.c:56: > /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h= : > 3084: error: conflicting types for =E2netdev_features_t=E2 > include/linux/netdevice.h:854: note: previous declaration of=20 > =E2netdev_features_t=E2 was here make[10]: ***=20 > [/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_ea > l/li nuxapp/kni/ixgbe_main.o] Error 1 make[9]: ***=20 > [_module_/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/l > ibrt e_eal/linuxapp/kni] Error 2 make[8]: *** [sub-make] Error 2 > make[7]: *** [rte_kni.ko] Error 2 > make[6]: *** [kni] Error 2 > make[5]: *** [linuxapp] Error 2 > make[4]: *** [librte_eal] Error 2 > make[3]: *** [lib] Error 2 > make[2]: *** [all] Error 2 > make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2 > make: *** [install] Error 2