From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f68.google.com (mail-vk0-f68.google.com [209.85.213.68]) by dpdk.org (Postfix) with ESMTP id 83A541F5 for ; Thu, 16 Jun 2016 17:46:06 +0200 (CEST) Received: by mail-vk0-f68.google.com with SMTP id t7so8791349vkf.2 for ; Thu, 16 Jun 2016 08:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4G0HW/431beVA2UCO3HS6lLT4seI5tWBKkEEBjkhudU=; b=ZIxGuiYpEQgK3F71BSaXFmRc5Vjf6a7TL17UK3ZDfXhNSBj1L8SMfJevuZHzfSZc52 oF8/G/b+Zj/vXM2+tsNiVUF8LWRL5rtguWGXYpYoVhdbiNS+K14ltE3M1tUymTQXwFwq ruoVxaLIoUPQOUMJCdI+JxGcC8lFN/cuEuRX6b4VIEVAZjFfnqbtA1U+TeGjVjT3+arP rkOfOsetGJfoF6XwSDmOsWxE4PnTjdYNxo2uTE8WItTKHYS4xuZSk7HM8o+E+1aeRO31 HYstUCaCm6jb6kGLkBbb8Tht9qAYn1lLCIpKxpgXZU+2sPSsAqKXZBvGVkcl5/vLIdVS /MAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4G0HW/431beVA2UCO3HS6lLT4seI5tWBKkEEBjkhudU=; b=HAb+rR17NmLcvC21DnLyFhDVeL+ljksJFw1HVca4KMCbPcH+8bqrbsGui7ZyV4hSjS NuVZeTP6K4ptxbwKDLg+fkFQTGoz6Szk842iHkzLrePnVpYBMWl4YMY2a/0Ag6LSZGnd FiJkHldPyQ/eSPZZKEVc++KCMXC23HV57HvrSpvGgk4QtjFt+0IToPimY821nM9FGZAH RJhJ2+UlOx5VkN4ZkRQtNz7ZJ/hQvbbMtPXH2umr3ohecOY7DmH788jgVLPtXCGMLUPG FvaDlT1IfknZ2y6QJTN2GUH39l0XJ9IP6mnYYQDDw6bDcOR+JTbld4AEYw3aRdbAiQed 7QoQ== X-Gm-Message-State: ALyK8tJ5PqJgKIOhYbcwXY/lOwo/+6XDkU/7U/0rxpwqud0RXFpWvg1GQnP2qsNjL8bxRNNCABIgTBanYonlmQ== X-Received: by 10.176.5.103 with SMTP id 94mr822503uax.129.1466091965740; Thu, 16 Jun 2016 08:46:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.76.210 with HTTP; Thu, 16 Jun 2016 08:45:36 -0700 (PDT) In-Reply-To: <57617B63.4040602@intel.com> References: <9B0331B6EBBD0E4684FBFAEDA55776F92CD5CBC7@HASMSX110.ger.corp.intel.com> <1466006262-30228-1-git-send-email-ferruh.yigit@intel.com> <57617B63.4040602@intel.com> From: =?UTF-8?B?TWFydGlueCAtIOOCuOOCp+ODvOODoOOCug==?= Date: Thu, 16 Jun 2016 11:45:36 -0400 Message-ID: To: Ferruh Yigit Cc: dev , Rami Rosen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] igb_uio: fix build with backported kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 15:46:06 -0000 On 15 June 2016 at 11:59, Ferruh Yigit wrote: > On 6/15/2016 4:57 PM, Ferruh Yigit wrote: > > Following compile error observed with CentOS 6.8, which uses kernel > > kernel-devel-2.6.32-642.el6.x86_64: > > > > CC eal_thread.o > > .../build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c: > > In function 'igbuio_msix_mask_irq': > > .../build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:157: > > error: 'PCI_MSIX_ENTRY_CTRL_MASKBIT' undeclared (first use in this > > function) > > > > Reported-by: Thiago > > Signed-off-by: Ferruh Yigit > > Hi Thiago, > > Can you please test this patch? > > Thanks, > ferruh > > Hi Ferruh, That patch applied and worked (kind of): --- [root@centos6-1 dpdk-16.04]# patch -p1 < ../dpdk-centos6.patch patching file lib/librte_eal/linuxapp/igb_uio/compat.h Hunk #1 succeeded at 24 with fuzz 2. --- It passed that broken step, however, it is failing in a different part of build process now, as follows: --- [root@centos6-1 ~]# time rpmbuild --ba /root/rpmbuild/SPECS/dpdk.spec ....... ....... LD librte_eal.so.2 INSTALL-LIB librte_eal.so.2 == Build lib/librte_eal/linuxapp/kni LD /root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/built-in.o CC [M] /root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o CC [M] /root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_api.o In file included from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h:41, from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31, from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.h:31, from /root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_api.c:28: /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h: In function '__kc_vlan_get_protocol': /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h:2836: error: implicit declaration of function 'vlan_tx_tag_present' make[8]: *** [/root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_api.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h:41, from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31, from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.h:32, from /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h:52, from /root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:56: /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h: In function '__kc_vlan_get_protocol': /root/rpmbuild/BUILD/dpdk-16.04/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h:2836: error: implicit declaration of function 'vlan_tx_tag_present' make[8]: *** [/root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o] Error 1 make[7]: *** [_module_/root/rpmbuild/BUILD/dpdk-16.04/x86_64-default-linuxapp-gcc/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 error: Bad exit status from /var/tmp/rpm-tmp.Naoj9c (%build) --- Might be a totally different problem now, I don't know... :-) Best, Thiago