From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f169.google.com (mail-wj0-f169.google.com [209.85.210.169]) by dpdk.org (Postfix) with ESMTP id 1391737A6 for ; Wed, 28 Dec 2016 15:13:48 +0100 (CET) Received: by mail-wj0-f169.google.com with SMTP id c11so133102633wjx.3 for ; Wed, 28 Dec 2016 06:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=9G6IfTpsFUejL52nl5oMxz+8w5+po4sgcTPFMRLUm3k=; b=I4A/LaD/ViXCg7TEv9MmLIe707I+Bjciefxliu1CJozEYmyIp/kSbKl1tt//KS8TFW LJAdCXax7X9qUdjkRQAo5ZMTy+5nolrRdQ2u1ZU9AB2UPlBj+F27cfNU7tYe+OzoO9vO +kFjLnmMZKpuY1VbIlMzl0Azw7tb27/WTal93dwGjl+ln3eszMNKUt6WKDJNsa2zBOTQ I/6VzLchneOpyZFYjA60a1PY82uYlLL7B0+fmV6nY55JEotGWeDfjKyQ1nzWbVXz3m8B wT0HBCCS2E17Fid3tM3hf2ggl5OL8lyqlVefs1kfBxbJUuW4VXxt661qgNxNl0BKmdVv q5qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9G6IfTpsFUejL52nl5oMxz+8w5+po4sgcTPFMRLUm3k=; b=Iyi86ODSOwfaFXkLuzfDdmsTKXZdFEO5T7OsojXvRsMRaYXZcrk4dysTRaqpiUsEV0 x2yZ3/YkY8C1vhLjR6dPJh0m0pkQeXf+vqXYxpw3qIkNCpNIL/jJ/PD3nU34OghytMv8 VUl+XeyjpXlZgyNLgzDb8+Ewhlxb4CbFZWDAV8of5LUKlkS/LalCg6UidT07SfUKYr7Y XOhSzJJBizSftdCYAjoORjsyT7brKqJw/lJKnsvhpdD9ZgLNwcp/rY7YNyYMjr2jQ9Cq Q/MQ8MXGO5CPg7dthzuhZqhdH5p6W/78JoPnwipPZsiltpxt3ixiwXk76emF2YfXd9bP iyhA== X-Gm-Message-State: AIkVDXIv4WItIW6BPgZxoFgbpHY8z5JXWpQ+ewp/bSp39oQD8ff9znedX7axu44DuTC9pnzmVF3UEGojoSQqMg== X-Received: by 10.194.78.179 with SMTP id c19mr21685937wjx.72.1482934427463; Wed, 28 Dec 2016 06:13:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.185.212 with HTTP; Wed, 28 Dec 2016 06:13:46 -0800 (PST) From: Shepard Siegel Date: Wed, 28 Dec 2016 09:13:46 -0500 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK v16.07 Build Failure with Unsupported OS CentOS 6.8 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: Wed, 28 Dec 2016 14:13:48 -0000 A client of ours shipped us an IBM x3650 with CentOS 6.8 installed. Our software team is off for the holidays. We use DPDK 16.07 and have had no issues with supported OSs. We understand that CentOS 6.8 is not supported for DPDK v16.07. Still, since IBM doesn't support CentOS 7 on the x3650, I figured I'd give it a try before risking a server OS change. We do this little dance to setup DPDK on our systems... git clone git://dpdk.org/dpdk cd dpdk git branch develop git checkout develop git reset --hard v16.07 make config T=3Dx86_64-native-linuxapp-gcc sed -ri 's,(PMD_PCAP=3D).*,\1y,' build/.config sed -ri 's/CONFIG_RTE_BUILD_SHARED_LIB=3Dn/CONFIG_RTE_BUILD_SHARED_LIB=3Dy/= ' build/.config sudo yum install libpcap-devel make Then the make fails some ways in as below... [labuser@bw-x3650 dpdk]$ git rev-parse HEAD 20e2b6eba13d9eb61b23ea75f09f2aa966fa6325 [labuser@bw-x3650 dpdk]$ uname -r 2.6.32-642.11.1.el6.x86_64 [labuser@bw-x3650 dpdk]$ cat /etc/redhat-release CentOS release 6.8 (Final) [labuser@bw-x3650 dpdk]$ 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 LD librte_eal.so.2.1 INSTALL-LIB librte_eal.so.2.1 =3D=3D Build lib/librte_eal/linuxapp/igb_uio (cat /dev/null; echo kernel//home/labuser/projects/dpdk/build/build/lib/librte_eal/linuxapp/igb_= uio/igb_uio.ko;) > /home/labuser/projects/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio/mod= ules.order Building modules, stage 2. MODPOST 1 modules =3D=3D Build lib/librte_eal/linuxapp/kni CC [M] /home/labuser/projects/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixgbe_m= ain.o In file included from /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe= _osdep.h:41, from /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe= _type.h:31, from /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe= _dcb.h:32, from /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe= .h:52, from /home/labuser/projects/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixgbe_m= ain.c:56: /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcomp= at.h: In function =E2=80=98__kc_vlan_get_protocol=E2=80=99: /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcomp= at.h:2836: error: implicit declaration of function =E2=80=98vlan_tx_tag_present=E2=80= =99 make[8]: *** [/home/labuser/projects/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixgbe_= main.o] Error 1 make[7]: *** [_module_/home/labuser/projects/dpdk/build/build/lib/librte_eal/linuxapp/kn= i] 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 Google suggested some hacks; but I'm out of my element in driver source. Is this a lost cause and I should try to get the server up to CentOS 7? Or is there a relatively simple (if untested) patch that we could try? Our objective here is to get through the DPDK and our net/ark PMD build process and see if we can run some of our most-basic packet ingress/egress ops on our Arkville IP in this system. Thanks in advance for any constructive feedback. Happy Holidays All. -Shep Shepard Siegel, CTO atomicrules.com