From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) by dpdk.org (Postfix) with ESMTP id 9273A1CB8C for ; Sun, 13 May 2018 09:29:05 +0200 (CEST) Received: by mail-qt0-f180.google.com with SMTP id q13-v6so12401565qtp.4 for ; Sun, 13 May 2018 00:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0P74wuZSL0hXU9s4D21hGYM2lCOLH+doFlIQWqT0iaQ=; b=F21JA9LOHcd1ZrQ6CN0r39vkRFm4mikLQCHk4/pvKv4S725sY1zqVUVXRkh4fdZmUo LzfAp5Ekp0SQQlXAISv5t/vhXZjY9uvxTLeanU0bR+IujhqWwWJHtdxU04Pl7Us6qTWE 0bj3zrVjdvPMhwN8A1yQogmyIkh0byUQXKdsixkI04cXP9vjgYrfyUe9ma+eeJUSbDxB 9sk+UzNnyqavp8qWnmzzELIbCxIv90/7+nibzcbnsK4RMPHpH6J8+iAdoJ0w3OBQxbQE 2EtbYumZ/H7iC6Op2fIxbfBOO81atoFM3Syrv1Ce2qrBMukKWBPs8KKlk9SzhSaIMihb kzkA== 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:cc; bh=0P74wuZSL0hXU9s4D21hGYM2lCOLH+doFlIQWqT0iaQ=; b=dfUXMIhv/oZzk0sWUh+4SVPeHMIJftvXigUxQ4aPH4ZnXcE9XSnJuy9I1h0uLL49Al awjNwSBgfT5X2ofuttEZGfJGQHKcCImpqAiW9/gnNUn/Vb4bMIfcP6KuxVCWW9KosrWD TJtDKABXD4b8CsZ3ZAQHZwWCfUIu072dgjjMopzILJ0Nb305OQVTTsmhfCqjrv+3LhG+ 0MsRpVBkg10321Mdc9FezMIUhI6CXPXvS1C6reEGKiaJWhsS/Anohxg0Jw5Qoof6PD+S dPHO1/haX8T0kj74PNOBWDACUF7+gG33Dl9dVAf+0xQImgTYdPpijdguy2lPMBcbnU8Q 9pVA== X-Gm-Message-State: ALKqPwfcE7itZv+SKObahim07o/SJvG6iymU6Yymx2nfayMCYEVtnJj7 Z+8iyIzkuChtKMVvjSjQvDIonKkXKqTlKQmHIaCKl5Gf X-Google-Smtp-Source: AB8JxZouU1oJK8tZ1Y7TF2vDBGg9tJihEztd1XWLp4JW0tiwKsmacQQVIWX4ZJPvqavSGIW1671gOw9pCiARWaCRfmw= X-Received: by 2002:aed:3fa2:: with SMTP id s31-v6mr4402345qth.419.1526196544880; Sun, 13 May 2018 00:29:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.191.253 with HTTP; Sun, 13 May 2018 00:29:04 -0700 (PDT) In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F958A23D6C@HASMSX110.ger.corp.intel.com> References: <9B0331B6EBBD0E4684FBFAEDA55776F958A234C6@HASMSX110.ger.corp.intel.com> <9B0331B6EBBD0E4684FBFAEDA55776F958A23D34@HASMSX110.ger.corp.intel.com> <9B0331B6EBBD0E4684FBFAEDA55776F958A23D6C@HASMSX110.ger.corp.intel.com> From: Puneet Singh Date: Sun, 13 May 2018 12:59:04 +0530 Message-ID: To: "Rosen, Rami" Cc: "users@dpdk.org" X-Mailman-Approved-At: Sun, 13 May 2018 19:12:35 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2018 07:29:06 -0000 Hi , Thanks for the Reply. I had also tried to upgrade the Kernel Version on CentOs 6.9 . uname -r 4.4.131-1.el6.elrepo.x86_64 But then i am facing following compilation err= ors: DPDK 16.04- CC [M] /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/i= gb_uio/igb_uio.occ1: warnings being treated as errors/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linu= xapp/igb_uio/igb_uio.c: In function =E2=80=98igbuio_pci_probe=E2=80=99:/usr/src/kernels/4.4.131-1.e= l6.elrepo.x86_64/include/linux/slab.h:600: error: inlining failed in call to =E2=80=98kzalloc.clone.0=E2=80=99: --para= m max-inline-insns-single limit reached/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/lin= uxapp/igb_uio/igb_uio.c:383: error: called from heremake[10]: *** [/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/= igb_uio/igb_uio.o] Error 1make[9]: *** [_module_/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/l= inuxapp/igb_uio] Error 2make[8]: *** [sub-make] Error 2make[7]: *** [igb_uio.ko] Error 2make= [6]: *** [igb_uio] Error 2make[5]: *** [linuxapp] Error 2make[4]: *** [librte_eal] Error 2make[3]: *** [lib] Error 2make[2]: *** [all] Error 2make[1]: *** [pre_install] Error 2make: *** [install] Error 2 DPDK 18.02.1 CC [M] /home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/librte_eal/l= inuxapp/igb_uio/igb_uio.occ1: warnings being treated as errors/home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/librte= _eal/linuxapp/igb_uio/igb_uio.c: In function =E2=80=98igbuio_pci_probe=E2=80=99:/usr/src/kernels/4.4.131-1.e= l6.elrepo.x86_64/include/linux/slab.h:600: error: inlining failed in call to =E2=80=98kzalloc.clone.0=E2=80=99: --para= m max-inline-insns-single limit reached/home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/librt= e_eal/linuxapp/igb_uio/igb_uio.c:476: error: called from heremake[10]: *** [/home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/librte_eal/= linuxapp/igb_uio/igb_uio.o] Error 1make[9]: *** [_module_/home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/lib= rte_eal/linuxapp/igb_uio] Error 2make[8]: *** [sub-make] Error 2make[7]: *** [igb_uio.ko] Error 2make= [6]: *** [igb_uio] Error 2make[5]: *** [linuxapp] Error 2make[4]: *** [librte_eal] Error 2make[3]: *** [lib] Error 2make[2]: *** [all] Error 2make[1]: *** [pre_install] Error 2make: *** [install] Error 2 Thanks & Regards Puneet Singh On Sun, May 13, 2018 at 12:37 PM, Rosen, Rami wrote: > Hi > > According to the system requirements: > > https://dpdk.org/doc/guides/linux_gsg/sys_reqs.html > > =E2=80=A6 > > Required: > > =E2=80=A2 Kernel version >=3D 3.2 > > =E2=80=A6 > > > > Regards, > > Rami Rosen > > > > *From:* Puneet Singh [mailto:singh1989p@gmail.com] > *Sent:* Sunday, May 13, 2018 09:46 > > *To:* Rosen, Rami > *Cc:* users@dpdk.org > *Subject:* Re: [dpdk-users] Regarding Issues in Compilation of DPDK > 16.04/16.11 on CentOS 6.9 ( 64 Bit) > > > > Hi, > > > > uname -r > > 2.6.32-696.28.1.el6.x86_64 > > > > cat /etc/redhat-release > > CentOS release 6.9 (Final) > > > > > > > > Thanks and Regards > > Puneet Singh > > > > On Sun 13 May, 2018, 12:09 PM Rosen, Rami, wrote: > > Hi, > > What does =E2=80=9Cuname -r=E2=80=99 show ? > > > > Rami Rosen > > > > *From:* Puneet Singh [mailto:singh1989p@gmail.com] > *Sent:* Sunday, May 13, 2018 09:02 > *To:* Rosen, Rami > *Cc:* users@dpdk.org > *Subject:* Re: [dpdk-users] Regarding Issues in Compilation of DPDK > 16.04/16.11 on CentOS 6.9 ( 64 Bit) > > > > Hi , > > > > Thanks for the prompt response. Is there any other alternative through > which i can compile dpdk igb driver on centos 6.9.? Any other lower versi= on > of dpdk.? I have tried dpdk 2.0, 2.1, 2.2 versions but no success. Google > cloud by default provide CentOs 6.9 VM image. > > > > > > Thanks and Regards > > Puneet Singh > > > > On Sun 13 May, 2018, 10:43 AM Rosen, Rami, wrote: > > Hi, Singh, > > It seems the kernel version you are building against does not support > DPDK 16.04 IGB kernel module. > > If it OK for you to bind DPDK with alternate modules, like > uio_pci_generic, which > I assume comes with your CentOS (you can check with "modinfo > uio_pci_generic"), then > you can try disabling the build of igb_uio by setting > CONFIG_RTE_EAL_IGB_UIO=3Dy > in build/.config and running "make" again. > > Note: you may encounter errors also when building KNI kernel module, and > if so, > you can avoid them by disabling build of KNI kernel module with setting > CONFIG_RTE_KNI_KMOD=3Dn in build/.config (unless you need KNI). > > Regards, > Rami Rosen > > > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Puneet Singh > Sent: Friday, May 11, 2018 15:28 > To: users@dpdk.org > Subject: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 > on CentOS 6.9 ( 64 Bit) > > Hi Everyone, > > > > I am trying to compile DPDK SDK v16.04/v16.11 on CentOS 6.9 64 Bit , > Following error is coming. > > > > Can some one guide me to resolve following issue > > > > INSTALL-LIB librte_eal.a > > =3D=3D Build lib/librte_eal/linuxapp/igb_uio > > LD /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/built-in.o > > CC [M] /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.o > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.c: > In function =E2=80=98igbuio_msix_mask_irq=E2=80=99: > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.c:157: > error: =E2=80=98PCI_MSIX_ENTRY_CTRL_MASKBIT=E2=80=99 undeclared (first us= e in this > function) > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.c:157: > error: (Each undeclared identifier is reported only once > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.c:157: > error: for each function it appears in.) > > make[10]: *** [/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.o] > Error 1 > > make[9]: *** [_module_/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/ > lib/librte_eal/linuxapp/igb_uio] > Error 2 > > make[8]: *** [sub-make] Error 2 > > make[7]: *** [igb_uio.ko] Error 2 > > make[6]: *** [igb_uio] 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]: *** [pre_install] Error 2 > > make: *** [install] Error 2 > > > > Thanks & Regards > > Puneet Singh > >