From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) by dpdk.org (Postfix) with ESMTP id 6E4E668F0 for ; Thu, 16 Jan 2014 18:30:13 +0100 (CET) Received: by mail-we0-f179.google.com with SMTP id w62so3438066wes.24 for ; Thu, 16 Jan 2014 09:31:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=mgAHXO94MCQySqEJ0F8jBktoX8+kzwbhnUTurUIdysU=; b=YCHq/TWFbKso6xmI5O88UUJM+rVnJF9RT2tI07GMZHXCNOFMVIWsexnNBPwcnm0D03 Q5L45MvKVC2WH30N7TnUMn3NsyV4SzdXCKukWe2sCbfJysZIbF5fXWEkKEfolsmgYCly anEIBfafFjddbVjcO+hvrSkZkBhorCQ7qf7mz36hJQfQ7uQxy2q+ePR813QO0w6f63lu RiyibPKkB3kR8XxGzKJywAFFI93eta2SBNpGt7U1Jlu9jGzxeIez5hbXqbBbdqC06SGF 6TplADiEDWgOq44Wkcnk4j/KTnXAQsABpdegCaW+Ezd4ERQZIXTdsllIOjDTMvgVi3PQ yD4g== X-Gm-Message-State: ALoCoQnoFGHq6230kDydIzAEl5w2waSSx77VuMApTaorpn99iy8r90mmUEFI1M5NbivGsck/oJUl X-Received: by 10.194.118.228 with SMTP id kp4mr16017wjb.94.1389893487640; Thu, 16 Jan 2014 09:31:27 -0800 (PST) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id uq2sm6853950wjc.5.2014.01.16.09.31.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2014 09:31:26 -0800 (PST) From: Thomas Monjalon Organization: 6WIND To: "TSADOK, Shlomi (Shlomi)" Date: Thu, 16 Jan 2014 18:31:24 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <70ED7DF10DA6754880C553B2CD6E25230D1766@FR712WXCHMBA16.zeu.alcatel-lucent.com> In-Reply-To: <70ED7DF10DA6754880C553B2CD6E25230D1766@FR712WXCHMBA16.zeu.alcatel-lucent.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201401161831.24881.thomas.monjalon@6wind.com> 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:30:13 -0000 16/01/2014 18:16, TSADOK, Shlomi (Shlomi): > When compiling DPDK-1.5.2-2 I'm getting the below error > OS is CentOS 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 =2D-=20 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]=20 > /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 > /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 > =E2netdev_features_t=E2 was here make[10]: *** > [/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/li > nuxapp/kni/ixgbe_main.o] Error 1 make[9]: *** > [_module_/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librt > 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