* [dpdk-dev] [Bug 49] Compile error kni_net.c unknown field ‘ndo_change_mtu’
@ 2018-05-18 16:17 bugzilla
2018-05-31 4:53 ` bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2018-05-18 16:17 UTC (permalink / raw)
To: dev
https://dpdk.org/tracker/show_bug.cgi?id=49
Bug ID: 49
Summary: Compile error kni_net.c unknown field ‘ndo_change_mtu’
Product: DPDK
Version: 18.02
Hardware: All
OS: All
Status: CONFIRMED
Severity: major
Priority: Normal
Component: mk
Assignee: dev@dpdk.org
Reporter: jingshaochen@gmail.com
Target Milestone: ---
Try to build DPDK in CentOS 7. Both 18.02.1 and 17.11.2 have the same error.
uname -a
Linux cse-kvm 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
make config T=i686-native-linuxapp-gcc
make
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/eal
== Build lib/librte_eal/linuxapp/igb_uio
Building modules, stage 2.
MODPOST 1 modules
== Build lib/librte_eal/linuxapp/kni
CC [M]
/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.o
/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.c:714:2:
error: unknown field ‘ndo_change_mtu’ specified in initializer
.ndo_change_mtu = kni_net_change_mtu,
^
/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.c:714:2:
error: missing braces around initializer [-Werror=missing-braces]
/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.c:714:2:
error: (near initialization for ‘kni_net_netdev_ops.<anonymous>’)
[-Werror=missing-braces]
/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.c:714:2:
error: initialization from incompatible pointer type [-Werror]
/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.c:714:2:
error: (near initialization for
‘kni_net_netdev_ops.<anonymous>.ndo_select_queue’) [-Werror]
cc1: all warnings being treated as errors
make[8]: ***
[/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.o]
Error 1
make[7]: ***
[_module_/root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni]
Error 2
make[6]: *** [sub-make] Error 2
make[5]: *** [rte_kni.ko] Error 2
make[4]: *** [kni] Error 2
make[3]: *** [linuxapp] Error 2
make[2]: *** [librte_eal] Error 2
make[1]: *** [lib] Error 2
make: *** [all] Error 2
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-31 4:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 16:17 [dpdk-dev] [Bug 49] Compile error kni_net.c unknown field ‘ndo_change_mtu’ bugzilla
2018-05-31 4:53 ` bugzilla
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).