From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 33343326B for ; Tue, 4 Apr 2017 13:12:19 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 04 Apr 2017 04:12:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,275,1486454400"; d="scan'208";a="951536349" Received: from rhorton-mobl1.ger.corp.intel.com (HELO [163.33.230.208]) ([163.33.230.208]) by orsmga003.jf.intel.com with ESMTP; 04 Apr 2017 04:12:17 -0700 To: Thomas Monjalon , Markos Chandras References: <20170216161731.4590-1-mchandras@suse.de> <1762973.YT1Za91pN5@xps13> <2310633.U6SXsHI9VC@xps13> Cc: dev@dpdk.org, Nirmoy Das , "Iremonger, Bernard" From: Remy Horton Organization: Intel Shannon Limited Message-ID: Date: Tue, 4 Apr 2017 12:12:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <2310633.U6SXsHI9VC@xps13> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] examples: ethtool: Link against librte_pmd_ixgbe if necessary X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 11:12:20 -0000 On 04/04/2017 11:15, Thomas Monjalon wrote: > Ping [..] >>> --- a/examples/ethtool/ethtool-app/Makefile >>> +++ b/examples/ethtool/ethtool-app/Makefile >>> +ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) >>> +LDLIBS += -lrte_pmd_ixgbe >>> +endif >> >> Please, could you confirm we can remove the same LDLIBS line from >> examples/ethtool/lib/Makefile ? Did a quick smoke test and looks like it needs to be in lib/Makefile as well, at least for shared builds on Fedora. Not sure why though.. [ ethtool]$ make == lib LD librte_ethtool.so.1 rte_ethtool.o: In function `rte_ethtool_net_set_rx_mode': rte_ethtool.c:(.text+0x667): undefined reference to `rte_pmd_ixgbe_set_vf_rxmode' collect2: error: ld returned 1 exit status