From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: MEMNIC error at EAL : [undefined symbol :per_lcore__lcore_id] Date: Thu, 17 Jul 2014 10:16:02 +0200 Message-ID: <2823033.y1LFkjRTVH@xps13> References: <27c23534f2294f27bfc6a4f038100375@GURMBXV02.AD.ARICENT.COM> <9630f52109e44da481c20cda15e72203@GURMBXV02.AD.ARICENT.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Srinivas Reddi Return-path: In-Reply-To: <9630f52109e44da481c20cda15e72203-AcH5Oudqfb99HHjWtI06IMyo0RDPibkP@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi, 2014-07-17 07:29, Srinivas Reddi: > 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/utils/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 You should use DPDK makefiles to build your application. Please try to follow this example: http://dpdk.org/browse/dpdk/tree/examples/helloworld/Makefile PS: please remove privacy disclaimers from your emails as it has no sense on a public mailing list. -- Thomas