DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Ильдар Мустафин" <imustafin@bk.ru>
To: dev@dpdk.org
Subject: [dpdk-dev]   librte_power/rte_power.h causes link error
Date: Mon, 19 Jan 2015 16:55:42 +0300	[thread overview]
Message-ID: <1421675742.286701346@f175.i.mail.ru> (raw)

 Hi list,

I got " multiple definition of 'rte_power_freq_min' " link error, while compiling my dpdk project.
I think extern keyword was missed in rte_power.h header for some reason:

/**
 * Scale down the frequency of a specific lcore to the lowest according to the
 * available frequencies.
 * Review each environments specific documentation for usage..
 *
 * @param lcore_id
 *  lcore id.
 *
 * @return
 *  - 1 on success with frequency changed.
 *  - 0 on success without frequency changed.
 *  - Negative on error.
 */
rte_power_freq_change_t rte_power_freq_min;


Thanks, 
Ildar


             reply	other threads:[~2015-01-19 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 13:55 Ильдар Мустафин [this message]
2015-01-19 15:47 ` Thomas Monjalon
2015-01-20  9:18 ` [dpdk-dev] [PATCH] power: added missing extern keyword in rte_power.h Pablo de Lara
2015-01-27 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=1421675742.286701346@f175.i.mail.ru \
    --to=imustafin@bk.ru \
    --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).