[dpdk-users] kni compile failed with Linux-3.10.0-514.6.1.el7.x86_64

Cao Tong tony.caotong at gmail.com
Wed Feb 8 04:52:42 CET 2017


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



More information about the users mailing list