DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Srinivas Reddi <srinivas.reddi@aricent.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] MEMNIC error at EAL : [undefined symbol :per_lcore__lcore_id]
Date: Thu, 17 Jul 2014 10:16:02 +0200	[thread overview]
Message-ID: <2823033.y1LFkjRTVH@xps13> (raw)
In-Reply-To: <9630f52109e44da481c20cda15e72203@GURMBXV02.AD.ARICENT.COM>

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

      reply	other threads:[~2014-07-17  8:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17  6:10 [dpdk-dev] MEMNIC error at EAL : [underined symbol : per_lcore__lcore_id] Srinivas Reddi
2014-07-17  7:29 ` [dpdk-dev] MEMNIC error at EAL : [undefined symbol :per_lcore__lcore_id] Srinivas Reddi
2014-07-17  8:16   ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2823033.y1LFkjRTVH@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=srinivas.reddi@aricent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).