From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) by dpdk.org (Postfix) with ESMTP id 82F6095C8 for ; Fri, 13 Nov 2015 21:09:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10559; q=dns/txt; s=iport; t=1447445367; x=1448654967; h=from:to:subject:date:message-id:mime-version; bh=pOQJTmHAlIrOHRQwCjJpaOBAi7kF5Kypl0R1up5wGlQ=; b=HaYKFRxs531zRbkygAP+GYLRBbvXzmfX5whtTWlWyAMn8OBNzuhMv0CY Rsbjw/VgyYpgFdAgCbeZOkpWzcyxrqOqg4S2R9zNXyUGHb5gzuNzeidN6 8NafVg987cJksRMna+U1LNLSrx0jDAU821osXy0TxF6M6+smCs+GeaAil U=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AlAgDqQkZW/5ldJa1egm5NU3W+QwENgWWHUDgUAQEBAQEBAX8LhDsnBl4BgQAmAQQbiCagAqAxAQEBAQYBAQEBAQEdhlSONwWWSAGNH5xLAR8BAUKCER2BVoUogQcBAQE X-IronPort-AV: E=Sophos;i="5.20,289,1444694400"; d="scan'208,217";a="206743342" Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-2.cisco.com with ESMTP; 13 Nov 2015 20:09:26 +0000 Received: from XCH-RCD-010.cisco.com (xch-rcd-010.cisco.com [173.37.102.20]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id tADK9Q9k032103 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for ; Fri, 13 Nov 2015 20:09:26 GMT Received: from xch-aln-006.cisco.com (173.36.7.16) by XCH-RCD-010.cisco.com (173.37.102.20) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 13 Nov 2015 14:09:25 -0600 Received: from xch-aln-006.cisco.com ([173.36.7.16]) by XCH-ALN-006.cisco.com ([173.36.7.16]) with mapi id 15.00.1104.000; Fri, 13 Nov 2015 14:09:25 -0600 From: "Serguei Bezverkhi (sbezverk)" To: "dev@dpdk.org" Thread-Topic: dpdk 2.1 building failure on rhel 7.2 rc1 Thread-Index: AdEeTtte2kKzGniMTGy/ArWHd0M1UQAAEdXQ Date: Fri, 13 Nov 2015 20:09:25 +0000 Message-ID: <14a2c1418a8240ea88b0f0055cdb30f0@XCH-ALN-006.cisco.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.117.219.133] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] dpdk 2.1 building failure on rhel 7.2 rc1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2015 20:09:28 -0000 Hello, When I try to build dpdk 2.1 on rhel 7.2 rc1 I am getting following errors,= appreciate if somebody could suggest a workaround of this problem. Thank y= ou, Serguei CC [M] /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxa= pp/kni/igb_main.o /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c: In function 'igb_ndo_bridge_getlink': /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c:2289:2: error: too few arguments to function 'ndo_dflt_bridge_getli= nk' return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode); ^ In file included from /usr/src/kernels/3.10.0-327.el7.x86_64/include/net/ds= t.h:13:0, from /usr/src/kernels/3.10.0-327.el7.x86_64/include/net/so= ck.h:68, from /usr/src/kernels/3.10.0-327.el7.x86_64/include/linux/= tcp.h:23, from /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librt= e_eal/linuxapp/kni/igb_main.c:34: /usr/src/kernels/3.10.0-327.el7.x86_64/include/linux/rtnetlink.h:87:12: not= e: declared here extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, ^ /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c: In function 'igb_xmit_frame_ring': /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c:5503:2: error: implicit declaration of function 'vlan_tx_tag_presen= t' [-Werror=3Dimplicit-function-declaration] if (vlan_tx_tag_present(skb)) { ^ /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c:5505:3: error: implicit declaration of function 'vlan_tx_tag_get' [= -Werror=3Dimplicit-function-declaration] tx_flags |=3D (vlan_tx_tag_get(skb) << IGB_TX_FLAGS_VLAN_SHIFT); ^ /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c: In function 'igb_ndo_get_vf_config': /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c:9472:5: error: 'struct ifla_vf_info' has no member named 'tx_rate' ivi->tx_rate =3D adapter->vf_data[vf].tx_rate; ^ /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c: In function 'igb_ndo_bridge_getlink': /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb= _main.c:2291:1: error: control reaches end of non-void function [-Werror=3D= return-type] } ^ cc1: all warnings being treated as errors make[10]: *** [/root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/l= inuxapp/kni/igb_main.o] Error 1 make[9]: *** [_module_/root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librt= e_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-native-linuxapp-gcc_install] Error 2 make: *** [install] Error 2