DPDK usage discussions
 help / color / mirror / Atom feed
From: "Rosen, Rami" <rami.rosen@intel.com>
To: Puneet Singh <singh1989p@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Regarding Issues in Compilation of DPDK 16.04/16.11 on CentOS 6.9 ( 64 Bit)
Date: Sun, 13 May 2018 05:13:26 +0000	[thread overview]
Message-ID: <9B0331B6EBBD0E4684FBFAEDA55776F958A234C6@HASMSX110.ger.corp.intel.com> (raw)
In-Reply-To: <CAEPmXphK=c1dgkd8XriMcVKmaqWBE2-WC39Z1snztSkYcqJq-w@mail.gmail.com>

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

  reply	other threads:[~2018-05-13  5:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-11 12:28 Puneet Singh
2018-05-13  5:13 ` Rosen, Rami [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9B0331B6EBBD0E4684FBFAEDA55776F958A234C6@HASMSX110.ger.corp.intel.com \
    --to=rami.rosen@intel.com \
    --cc=singh1989p@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).