From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by dpdk.org (Postfix) with ESMTP id E8BE71CEFC for ; Sun, 13 May 2018 08:02:26 +0200 (CEST) Received: by mail-qt0-f194.google.com with SMTP id g13-v6so12287173qth.8 for ; Sat, 12 May 2018 23:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6xb1EJAA8nt2QFN1tAB63Q8zGc6UAAeW2Jg91IT0g2w=; b=ElGQV2lKGfz1rEc+MDrdO9ANeOeogYIul3N1FA2HMnM4JrNcFHaeTT6Kl0k9ODoc3c kzq0HVUAb1Rn5zZxIrHaFICCB1w4U95kSO73nqfpGP22gobWxDA0r2ioQW0ljSEmYy7/ u4BWs31065nldJ/D9vHK4lYtBorvl7jUpnmPID/ysiS9AB6iypSuhCZtIsGk+CFfA4Qu pwMqAuEN8HxrcMZFwc8Gh5xbqJbV5pqQzwuvCyoFb7csKharampyuB8LeNHDSskbG9x0 b9fHwkNZlrtjprB7Lvfo3q8/kXUq8/SUQMSsckvuTejiUvkVMbv6HX3SdOtmLGeMiwul wh+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6xb1EJAA8nt2QFN1tAB63Q8zGc6UAAeW2Jg91IT0g2w=; b=rPb7wL5wd02qTm35ef7aCWFIuzyBPF+4y4NXtpBO4NBqJMbr7bNS0rgFKWSaBCOFjO wIIMQxNUvzEfp6sRguVYh3Rr5f9yy5T/u1uFWNFwnJEqvXPSDa2fHe8C7SANcKgNdfE+ RA0hpxSxxot4uJ4Gxo28wEleXjq46eTWYh0teq4AIQgVf14MawQZGUdTN4mNvIDoo/OI en4BCtW/1bFI188XJ68aQxqmo4iRmRj7a4atUDBHR7T6EY8zRaSh+NTC4yfZLl+4aapV AvbzC6gTNwyRfGo7VMNXS1/94BPRGCjvj6h95xenqO8eAD/M3/rP7n25Iyh9CcrK2IVM nJUQ== X-Gm-Message-State: ALKqPwcjNr0kGMYLxKKfnz2WWfYbavpIT6+zY/Xjveqw+ddNs8sUpnex qpUPyLNFJVCAtDbsJPSDTHKHiCP7K/Q1+G9gVcM= X-Google-Smtp-Source: AB8JxZoiFAGWEkLYfAqU6wNASPnSYrqLtn5YZl7AJlRJuUqIc6UDCb2p1Fnu+hnud/CDWj9cLSeioi5OvpZqTTWXU5Q= X-Received: by 2002:ac8:30a1:: with SMTP id v30-v6mr4224214qta.296.1526191346260; Sat, 12 May 2018 23:02:26 -0700 (PDT) MIME-Version: 1.0 References: <9B0331B6EBBD0E4684FBFAEDA55776F958A234C6@HASMSX110.ger.corp.intel.com> In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F958A234C6@HASMSX110.ger.corp.intel.com> From: Puneet Singh Date: Sun, 13 May 2018 11:32:13 +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 06:02:27 -0000 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, 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/linuxap= p/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 >