DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Jia.Sui(贾睢)" <Jia.Sui@advantech.com.cn>
To: dev <dev@dpdk.org>
Subject: [dpdk-dev]  miss include file in DPDK 1.3.1r2
Date: Wed, 31 Jul 2013 10:43:16 +0800	[thread overview]
Message-ID: <581E2E1085FAEF45B48CF8A139824CF804E64C5644@ACNMAIL1.ACN.ADVANTECH.CORP> (raw)
In-Reply-To: <alpine.LRH.2.03.1307291301430.23215@techie.net>

Hi All,

In DPDK 1.3.1r2, When I include 'rte_malloc.h' in my app, and then compile it
Will cause this issue:
/root/dpdk/x86_64-default-linuxapp-gcc/include/rte_malloc.h:333: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rte_malloc_virt2phy’

It looks it miss the definition of 'phys_addr_t' which is defined in 'rte_memory.h'

Thanks

BRs
Jia Sui

  reply	other threads:[~2013-07-31  2:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 19:39 [dpdk-dev] NIC Stops Transmitting Scott Talbert
2013-07-26 19:53 ` Stephen Hemminger
2013-07-26 20:04   ` Scott Talbert
2013-07-26 22:31     ` jinho hwang
2013-07-26 23:26       ` Scott Talbert
2013-07-29 17:02         ` Scott Talbert
2013-07-31  2:43           ` Jia.Sui [this message]
2013-07-31  9:18             ` [dpdk-dev] [PATCH] mem: fix include in rte_malloc Thomas Monjalon
2013-07-31 11:36               ` didier.pallard
2013-07-31 11:48                 ` Thomas Monjalon

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=581E2E1085FAEF45B48CF8A139824CF804E64C5644@ACNMAIL1.ACN.ADVANTECH.CORP \
    --to=jia.sui@advantech.com.cn \
    --cc=dev@dpdk.org \
    /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).