From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id E22FE376C for ; Wed, 28 Dec 2016 15:45:24 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id a197so283663983wmd.0 for ; Wed, 28 Dec 2016 06:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0mS5c2gDWnyXxYyxXHLOiD0xbN5whCG+ET3EsNrWUcc=; b=Dngkt5tficZhlA7Nk73oxb8SEA2K2oCrn74mqcTtNGZkBExkn7enKKGNbhQ04VNUzV 3zP48Aj3lyX7Ohf9HYhk9YgXgAjCDIbu5s2/qEtWONcNsxM9Nl6vYAtWWLSuWpMKjGvo In2Y5nAfKtcXyxokTcDXX1tfEBODU6ITiAUCct+3Q91ZGFs3XTifvM3uBtsbrLvpcghv R+2pMWs6Y2hxXZuclDK/vCupuJYmmdbXn1uUBmD744QiVsHukAGxh50EKm/G2lEiU1PN TaJpU1xSUHXQ8P0rBA0z/4R953mG1ne6fhVdJTXYaC873NS6qubIXnbQQCU8EKjd7/bO hM9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0mS5c2gDWnyXxYyxXHLOiD0xbN5whCG+ET3EsNrWUcc=; b=CGBAJz+eI/7+jR1ode4/vF6Zd1RQUgiGIemRfOVIfBw/+oucTdc4hBK2ODE6SNv2Ud G4au1MGfrXpyk6ARks+Znle6OhI9L9jQN18vHbdEadZ3Pws0yJzD04uS7ppVrLuVQgN7 hpxM2aGigdf866wxhqYlU/q2UgT7z98lI2S5NF0T7KnLD9WJ7BxD2I5tycEmhgiiE91/ J4D1G5w6Rmui5shs7jfPG1UKBEY85Cc16xAmFdhheHpHP5mIVKlHNhSXp1scmaQA9gCB ITUtfPyU3BDnL9HENJbr9xvwOpvAIScQnue9DgGKTJDuaNYhSzhE45OaFr7n+zPYQ3ii wuRg== X-Gm-Message-State: AIkVDXLEMUTvenUmtyFjBFN1Zml+/v9kHLDnm+r8Hfp7GEbbkGqAJRmAq0TjZf0vBfEkg0t6ggeEpiYNNqzjbA== X-Received: by 10.28.95.193 with SMTP id t184mr26937583wmb.93.1482936324402; Wed, 28 Dec 2016 06:45:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.185.212 with HTTP; Wed, 28 Dec 2016 06:45:23 -0800 (PST) In-Reply-To: References: From: Shepard Siegel Date: Wed, 28 Dec 2016 09:45:23 -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: Re: [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:45:25 -0000 Follow-Up: We're all set, thanks John Miller; and my apologies for incorrectly posting this to "dev" as opposed to "users" mailing list. -Shep On Wed, Dec 28, 2016 at 9:13 AM, Shepard Siegel < shepard.siegel@atomicrules.com> wrote: > 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=3D= y/' > 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/modules.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_main.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_main.c:56: > /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kco= mpat.h: > In function =E2=80=98__kc_vlan_get_protocol=E2=80=99: > /home/labuser/projects/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kco= mpat.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/linu= xapp/kni/ixgbe_main.o] > Error 1 > make[7]: *** [_module_/home/labuser/projects/dpdk/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 > > 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? O= r > 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 proce= ss > 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. -She= p > > Shepard Siegel, CTO > atomicrules.com > > > > > >