From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id F08A41B01C for ; Thu, 18 Jan 2018 08:45:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2018 23:45:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,376,1511856000"; d="scan'208";a="20705625" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 17 Jan 2018 23:45:26 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 17 Jan 2018 23:45:26 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 17 Jan 2018 23:45:25 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Thu, 18 Jan 2018 15:45:24 +0800 From: "Wang, Xiao W" To: Thomas Monjalon , Yuanhan Liu CC: "dev@dpdk.org" , "Yigit, Ferruh" , Olivier Matz Thread-Topic: [PATCH 2/2] net: fix build error Thread-Index: AQHTkArkXF8hETU+tEGmwGLuhwEBi6N4uHkAgACHaMA= Date: Thu, 18 Jan 2018 07:45:23 +0000 Message-ID: References: <20180118030921.GW29540@yliu-mob> <1516245283-23990-1-git-send-email-yliu@fridaylinux.org> <1516245283-23990-2-git-send-email-yliu@fridaylinux.org> <7347756.cFi570UBhb@xps> In-Reply-To: <7347756.cFi570UBhb@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWExNGI4NjMtMDlmOC00YWE4LTkwZDEtNGFmMTAxMDcwZDQwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJIRkRUVCttUW9sVEpOR2FxTGNVV3ZxbHlLaDQ5UmQ3Uk5IOFdxNFlKQXBRRjZuK1ZsUVpYallTRWJQaXB0NG9tIn0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/2] net: fix build error 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: Thu, 18 Jan 2018 07:45:29 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Thursday, January 18, 2018 3:39 PM > To: Yuanhan Liu > Cc: dev@dpdk.org; Wang, Xiao W ; Yigit, Ferruh > ; Olivier Matz > Subject: Re: [PATCH 2/2] net: fix build error >=20 > 18/01/2018 04:14, Yuanhan Liu: > > Fix build error when shared lib is enabled: > > > > LD librte_net.so.1.1 > > rte_arp.o: In function `rte_net_make_rarp_packet': > > rte_arp.c:(.text+0x1f0): undefined reference to `rte_mempool_ops_table' > > rte_arp.c:(.text+0x21d): undefined reference to `rte_mempool_ops_table' > > rte_arp.c:(.text+0x2d5): undefined reference to `rte_mempool_ops_table' > > rte_arp.c:(.text+0x384): undefined reference to `rte_mempool_ops_table' > > rte_arp.c:(.text+0x4b7): undefined reference to `rte_mempool_ops_table' >=20 > This is very strange, I do not see this error on my machine. I could see this error on mine with: +CONFIG_RTE_BUILD_SHARED_LIB=3Dy And this fix helps. Best Regards, Xiao