From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id 07B0DD072; Fri, 18 May 2018 18:17:15 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 18 May 2018 16:17:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: mk X-Bugzilla-Version: 18.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jingshaochen@gmail.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://dpdk.org/tracker/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] =?utf-8?q?=5BBug_49=5D_Compile_error_kni=5Fnet=2Ec_unk?= =?utf-8?b?bm93biBmaWVsZCDigJhuZG9fY2hhbmdlX210deKAmQ==?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 16:17:15 -0000 https://dpdk.org/tracker/show_bug.cgi?id=3D49 Bug ID: 49 Summary: Compile error kni_net.c unknown field =E2=80=98ndo_chan= ge_mtu=E2=80=99 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=3Di686-native-linuxapp-gcc make =3D=3D Build lib =3D=3D Build lib/librte_compat =3D=3D Build lib/librte_eal =3D=3D Build lib/librte_eal/common =3D=3D Build lib/librte_eal/linuxapp =3D=3D Build lib/librte_eal/linuxapp/eal =3D=3D Build lib/librte_eal/linuxapp/igb_uio Building modules, stage 2. MODPOST 1 modules =3D=3D Build lib/librte_eal/linuxapp/kni CC [M]=20 /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 =E2=80=98ndo_change_mtu=E2=80=99 specified in initiali= zer .ndo_change_mtu =3D 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=3Dmissing-braces] /root/dpdk-stable-18.02.1/build/build/lib/librte_eal/linuxapp/kni/kni_net.c= :714:2: error: (near initialization for =E2=80=98kni_net_netdev_ops.=E2= =80=99) [-Werror=3Dmissing-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 =E2=80=98kni_net_netdev_ops..ndo_select_queue=E2=80=99) [-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 --=20 You are receiving this mail because: You are the assignee for the bug.=