From: "TSADOK, Shlomi (Shlomi)" <shlomi.tsadok@alcatel-lucent.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here
Date: Thu, 16 Jan 2014 17:16:45 +0000 [thread overview]
Message-ID: <70ED7DF10DA6754880C553B2CD6E25230D1766@FR712WXCHMBA16.zeu.alcatel-lucent.com> (raw)
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
Any idea what the issue is?
Thanks
Shlomi
== Build lib/librte_eal/linuxapp/kni
LD /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/built-in.o
CC [M] /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o
In file included from /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.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/linuxapp/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 ânetdev_features_tâ
include/linux/netdevice.h:854: note: previous declaration of ânetdev_features_tâ was here
make[10]: *** [/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o] Error 1
make[9]: *** [_module_/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_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
next reply other threads:[~2014-01-16 17:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-16 17:16 TSADOK, Shlomi (Shlomi) [this message]
2014-01-16 17:31 ` Thomas Monjalon
2014-01-16 17:53 ` TSADOK, Shlomi (Shlomi)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70ED7DF10DA6754880C553B2CD6E25230D1766@FR712WXCHMBA16.zeu.alcatel-lucent.com \
--to=shlomi.tsadok@alcatel-lucent.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).