* [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) @ 2018-05-11 12:28 Puneet Singh 2018-05-13 5:13 ` Rosen, Rami 0 siblings, 1 reply; 7+ messages in thread From: Puneet Singh @ 2018-05-11 12:28 UTC (permalink / raw) To: users 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 == 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 ‘igbuio_msix_mask_irq’: /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:157: error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) 2018-05-11 12:28 [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) Puneet Singh @ 2018-05-13 5:13 ` Rosen, Rami 2018-05-13 6:02 ` Puneet Singh 0 siblings, 1 reply; 7+ messages in thread From: Rosen, Rami @ 2018-05-13 5:13 UTC (permalink / raw) To: Puneet Singh, users 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=y 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=n 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 == 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 ‘igbuio_msix_mask_irq’: /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:157: error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) 2018-05-13 5:13 ` Rosen, Rami @ 2018-05-13 6:02 ` Puneet Singh 2018-05-13 6:39 ` Rosen, Rami 0 siblings, 1 reply; 7+ messages in thread From: Puneet Singh @ 2018-05-13 6:02 UTC (permalink / raw) To: Rosen, Rami; +Cc: users 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 version 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, <rami.rosen@intel.com> 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=y > 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=n 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 > > == 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 ‘igbuio_msix_mask_irq’: > > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:157: > error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) 2018-05-13 6:02 ` Puneet Singh @ 2018-05-13 6:39 ` Rosen, Rami 2018-05-13 6:45 ` Puneet Singh 0 siblings, 1 reply; 7+ messages in thread From: Rosen, Rami @ 2018-05-13 6:39 UTC (permalink / raw) To: Puneet Singh; +Cc: users Hi, What does “uname -r’ show ? Rami Rosen From: Puneet Singh [mailto:singh1989p@gmail.com] Sent: Sunday, May 13, 2018 09:02 To: Rosen, Rami <rami.rosen@intel.com> 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 version 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, <rami.rosen@intel.com<mailto:rami.rosen@intel.com>> 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=y 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=n in build/.config (unless you need KNI). Regards, Rami Rosen -----Original Message----- From: users [mailto:users-bounces@dpdk.org<mailto:users-bounces@dpdk.org>] On Behalf Of Puneet Singh Sent: Friday, May 11, 2018 15:28 To: users@dpdk.org<mailto: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 == 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 ‘igbuio_msix_mask_irq’: /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:157: error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) 2018-05-13 6:39 ` Rosen, Rami @ 2018-05-13 6:45 ` Puneet Singh 2018-05-13 7:07 ` Rosen, Rami 0 siblings, 1 reply; 7+ messages in thread From: Puneet Singh @ 2018-05-13 6:45 UTC (permalink / raw) To: Rosen, Rami; +Cc: users 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, <rami.rosen@intel.com> wrote: > Hi, > > What does “uname -r’ show ? > > > > Rami Rosen > > > > *From:* Puneet Singh [mailto:singh1989p@gmail.com] > *Sent:* Sunday, May 13, 2018 09:02 > *To:* Rosen, Rami <rami.rosen@intel.com> > *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 version > 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, <rami.rosen@intel.com> 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=y > 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=n 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 > > == 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 ‘igbuio_msix_mask_irq’: > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.c:157: > error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) 2018-05-13 6:45 ` Puneet Singh @ 2018-05-13 7:07 ` Rosen, Rami 2018-05-13 7:29 ` Puneet Singh 0 siblings, 1 reply; 7+ messages in thread From: Rosen, Rami @ 2018-05-13 7:07 UTC (permalink / raw) To: Puneet Singh; +Cc: users Hi According to the system requirements: https://dpdk.org/doc/guides/linux_gsg/sys_reqs.html … Required: • Kernel version >= 3.2 … Regards, Rami Rosen From: Puneet Singh [mailto:singh1989p@gmail.com] Sent: Sunday, May 13, 2018 09:46 To: Rosen, Rami <rami.rosen@intel.com> 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, <rami.rosen@intel.com<mailto:rami.rosen@intel.com>> wrote: Hi, What does “uname -r’ show ? Rami Rosen From: Puneet Singh [mailto:singh1989p@gmail.com<mailto:singh1989p@gmail.com>] Sent: Sunday, May 13, 2018 09:02 To: Rosen, Rami <rami.rosen@intel.com<mailto:rami.rosen@intel.com>> Cc: users@dpdk.org<mailto: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 version 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, <rami.rosen@intel.com<mailto:rami.rosen@intel.com>> 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=y 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=n in build/.config (unless you need KNI). Regards, Rami Rosen -----Original Message----- From: users [mailto:users-bounces@dpdk.org<mailto:users-bounces@dpdk.org>] On Behalf Of Puneet Singh Sent: Friday, May 11, 2018 15:28 To: users@dpdk.org<mailto: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 == 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 ‘igbuio_msix_mask_irq’: /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:157: error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) 2018-05-13 7:07 ` Rosen, Rami @ 2018-05-13 7:29 ` Puneet Singh 0 siblings, 0 replies; 7+ messages in thread From: Puneet Singh @ 2018-05-13 7:29 UTC (permalink / raw) To: Rosen, Rami; +Cc: users 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 errors: DPDK 16.04- CC [M] /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.occ1: warnings being treated as errors/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c: In function ‘igbuio_pci_probe’:/usr/src/kernels/4.4.131-1.el6.elrepo.x86_64/include/linux/slab.h:600: error: inlining failed in call to ‘kzalloc.clone.0’: --param max-inline-insns-single limit reached/home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/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/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 DPDK 18.02.1 CC [M] /home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/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 ‘igbuio_pci_probe’:/usr/src/kernels/4.4.131-1.el6.elrepo.x86_64/include/linux/slab.h:600: error: inlining failed in call to ‘kzalloc.clone.0’: --param max-inline-insns-single limit reached/home/dpdk-stable-18.02.1/x86_64-native-linuxapp-gcc/build/lib/librte_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/librte_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 <rami.rosen@intel.com> wrote: > Hi > > According to the system requirements: > > https://dpdk.org/doc/guides/linux_gsg/sys_reqs.html > > … > > Required: > > • Kernel version >= 3.2 > > … > > > > Regards, > > Rami Rosen > > > > *From:* Puneet Singh [mailto:singh1989p@gmail.com] > *Sent:* Sunday, May 13, 2018 09:46 > > *To:* Rosen, Rami <rami.rosen@intel.com> > *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, <rami.rosen@intel.com> wrote: > > Hi, > > What does “uname -r’ show ? > > > > Rami Rosen > > > > *From:* Puneet Singh [mailto:singh1989p@gmail.com] > *Sent:* Sunday, May 13, 2018 09:02 > *To:* Rosen, Rami <rami.rosen@intel.com> > *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 version > 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, <rami.rosen@intel.com> 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=y > 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=n 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 > > == 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 ‘igbuio_msix_mask_irq’: > > /home/dpdk-16.04/x86_64-native-linuxapp-gcc/build/lib/ > librte_eal/linuxapp/igb_uio/igb_uio.c:157: > error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use 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 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-05-13 7:29 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-05-11 12:28 [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit) Puneet Singh 2018-05-13 5:13 ` Rosen, Rami 2018-05-13 6:02 ` Puneet Singh 2018-05-13 6:39 ` Rosen, Rami 2018-05-13 6:45 ` Puneet Singh 2018-05-13 7:07 ` Rosen, Rami 2018-05-13 7:29 ` Puneet Singh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).