From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jaguar.aricent.com (jaguar.aricent.com [180.151.2.24]) by dpdk.org (Postfix) with ESMTP id 785071FE for ; Thu, 17 Jul 2014 09:28:50 +0200 (CEST) Received: from jaguar.aricent.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 519BF21862C for ; Thu, 17 Jul 2014 12:59:44 +0530 (IST) Received: from GURCASV01.AD.ARICENT.COM (unknown [10.203.26.91]) by jaguar.aricent.com (Postfix) with ESMTPS id 3A78E21860B for ; Thu, 17 Jul 2014 12:59:44 +0530 (IST) Received: from GURMBXV02.AD.ARICENT.COM (10.203.26.97) by GURMBXV02.AD.ARICENT.COM (10.203.26.97) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 17 Jul 2014 12:59:37 +0530 Received: from GURMBXV02.AD.ARICENT.COM ([169.254.4.204]) by GURMBXV02.AD.ARICENT.COM ([169.254.4.204]) with mapi id 15.00.0847.030; Thu, 17 Jul 2014 12:59:37 +0530 From: Srinivas Reddi To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] MEMNIC error at EAL : [undefined symbol :per_lcore__lcore_id] Thread-Index: AQHPoZDcbGAqiDC8LUW9gOTr5O6c2w== Date: Thu, 17 Jul 2014 07:29:37 +0000 Message-ID: <9630f52109e44da481c20cda15e72203@GURMBXV02.AD.ARICENT.COM> References: <27c23534f2294f27bfc6a4f038100375@GURMBXV02.AD.ARICENT.COM> In-Reply-To: <27c23534f2294f27bfc6a4f038100375@GURMBXV02.AD.ARICENT.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.203.2.27] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-MML: disable Subject: Re: [dpdk-dev] MEMNIC error at EAL : [undefined symbol :per_lcore__lcore_id] 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, 17 Jul 2014 07:28:50 -0000 Hi, I compiled my testapp using this command cc testapp.c -lrte_eal -lrte_mbuf -lrte_cmdline -lrte_timer -lrte_mempool = -lrte_pmd_ring -lethdev -lrte_malloc -ldl -lpthread -lrte_ring -I/home/u= tils/dpdk-1.7.0/x86_64-native-linuxapp-gcc/include -L/home/utils/dpdk-1.7.0= /x86_64-native-linuxapp-gcc/lib -o testapp do I need to include any libraries to make it work. Hi , Trying to write a test app for MEMNIC ... At the EAL init I got the error while loading the memnic driver .. .. EAL: /usr/local/lib/librte_pmd_memnic_copy.so: undefined symbol: per_lcore_= _lcore_id EAL arguments are : ./my_memnic_app --no-hpet -c 7 -n 4 --porc-type=3Dauto -d /usr/loca= l/lib/librte_pmd_memnic_copy.so -m 1024 -- -q 7 -p f EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Detected lcore 4 as core 0 on socket 0 EAL: Detected lcore 5 as core 1 on socket 0 EAL: Detected lcore 6 as core 2 on socket 0 EAL: Detected lcore 7 as core 3 on socket 0 EAL: Support maximum 64 logical core(s) by configuration. EAL: Detected 8 lcore(s) EAL: Auto-detected process type: PRIMARY EAL: cannot open VFIO container, error 2 (No such file or directory) EAL: VFIO support could not be initialized EAL: Setting up memory... EAL: Ask a virtual area of 0x80000000 bytes EAL: Virtual area found at 0x7fff40000000 (size =3D 0x80000000) EAL: Requesting 1 pages of size 1024MB from socket 0 EAL: TSC frequency is ~3092836 KHz EAL: open shared lib /usr/local/lib/librte_pmd_memnic_copy.so EAL: /usr/local/lib/librte_pmd_memnic_copy.so: undefined symbol: per_lcore_= _lcore_id EAL: Master core 0 is ready (tid=3Df7fe1880) EAL: Core 2 is ready (tid=3Df6fa8700) EAL: Core 1 is ready (tid=3Df77a9700) Thanks and Regards, Srinivas. "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."