From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by dpdk.org (Postfix) with ESMTP id 804DA30E for ; Sat, 5 Jul 2014 17:26:58 +0200 (CEST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s65FRI3x016817 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sat, 5 Jul 2014 08:27:18 -0700 (PDT) Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.107]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0169.001; Sat, 5 Jul 2014 08:27:18 -0700 From: "Wiles, Roger Keith" To: "" Thread-Topic: Build failure on Ubuntu 14.04 Thread-Index: AQHPmGWa9Ih4FyE/AUm0ClG5mA5rDA== Date: Sat, 5 Jul 2014 15:27:17 +0000 Message-ID: <2C4D5C7B-3FC1-4C90-BEB1-30790FC6E3DE@windriver.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.40.164] MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Build failure on Ubuntu 14.04 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: Sat, 05 Jul 2014 15:26:58 -0000 Hi All, I got a build failure on : [10:20][keithw@keithw-W2600CR:umf(dev)]$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty Looks like the skb_set_hash() function changed from: static inline void skb_set_hash(struct sk_buff *skb, __u32 hash, __always_unused int type) { skb->rxhash =3D hash; } To: static inline void skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) { skb->l4_rxhash =3D (type =3D=3D PKT_HASH_TYPE_L4); skb->rxhash =3D hash; } Compile line: 'make install T=3Dx86_64-native-linuxapp-gcc' ... CC [M] /home/keithw/projects/dpdk/dpdk.org/x86_64-native-linuxapp-gcc/bu= ild/lib/librte_eal/linuxapp/kni/e1000_82575.o In file included from /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/li= nuxapp/kni/ethtool/igb/e1000_osdep.h:41:0, from /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/li= nuxapp/kni/ethtool/igb/e1000_hw.h:31, from /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/li= nuxapp/kni/ethtool/igb/e1000_api.h:31, from /home/keithw/projects/dpdk/dpdk.org/x86_64-native-lin= uxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38: /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/linuxapp/kni/ethtool/igb= /kcompat.h:3853:1: error: conflicting types for =E2=80=98skb_set_hash=E2=80= =99 skb_set_hash(struct sk_buff *skb, __u32 hash, __always_unused int type) ^ In file included from /usr/src/linux-headers-3.13.0-30-generic/include/linu= x/if_ether.h:23:0, from /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/li= nuxapp/kni/ethtool/igb/e1000_osdep.h:39, from /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/li= nuxapp/kni/ethtool/igb/e1000_hw.h:31, from /home/keithw/projects/dpdk/dpdk.org/lib/librte_eal/li= nuxapp/kni/ethtool/igb/e1000_api.h:31, from /home/keithw/projects/dpdk/dpdk.org/x86_64-native-lin= uxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38: /usr/src/linux-headers-3.13.0-30-generic/include/linux/skbuff.h:740:1: note= : previous definition of =E2=80=98skb_set_hash=E2=80=99 was here skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) ^ make[10]: *** [/home/keithw/projects/dpdk/dpdk.org/x86_64-native-linuxapp-g= cc/build/lib/librte_eal/linuxapp/kni/e1000_82575.o] Error= 1 make[9]: *** [_module_/home/keithw/projects/dpdk/dpdk.org/x86_64-native-lin= uxapp-gcc/build/lib/librte_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 Please verify this is correct. Thanks ++Keith Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533 [Powering 30 Years of Innovation]