From: Cao Tong <tony.caotong@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] kni compile failed with Linux-3.10.0-514.6.1.el7.x86_64
Date: Wed, 8 Feb 2017 11:52:42 +0800 [thread overview]
Message-ID: <2f69d2c2-0235-09d5-d2cc-bc81c4e6a339@gmail.com> (raw)
hi,
KNI compile failed with kernel "Linux-3.10.0-514.6.1.el7.x86_64" under
CentOS 7.
DPDK version is 'dpdk-stable-16.07.2' .
CC [M]
/root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o
/root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
In function ‘igb_ndo_bridge_getlink’:
/root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:2290:2:
error: too few arguments to function ‘ndo_dflt_bridge_getlink’
return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode, 0, 0);
^
In file included from
/usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/net/dst.h:13:0,
from
/usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/net/sock.h:72,
from
/usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/linux/tcp.h:23,
from
/root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:34:
/usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/linux/rtnetlink.h:100:12:
note: declared here
extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
^
--
------------
Cao Tong
next reply other threads:[~2017-02-08 3:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 3:52 Cao Tong [this message]
2017-02-08 8:48 ` Thomas Monjalon
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=2f69d2c2-0235-09d5-d2cc-bc81c4e6a339@gmail.com \
--to=tony.caotong@gmail.com \
--cc=users@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).