DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, Helin" <helin.zhang@intel.com>
To: sothy shan <sothy.e98@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] implicit declaration of function rte_igb_pmd_init()
Date: Wed, 9 Jul 2014 15:34:26 +0000	[thread overview]
Message-ID: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A74BA59@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <CAHcF_0bLfxM=sSKNewr+aebr_mP10-gD8o1rqbGxt=szL3rDsA@mail.gmail.com>



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of sothy shan
> Sent: Wednesday, July 9, 2014 8:52 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] implicit declaration of function rte_igb_pmd_init()
> 
>  Hi All!
> 
> I have an error when I compile latest DPDK ovs code. DPDK version is 1.7.
> 
> Error is:
> 
> ============================================================
>   CC main.o
>   CC init.o
> In file included from
> /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init.c:42:0:
> /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init_drivers.h: In
> function ‘init_drivers’:
> /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init_drivers.h:49:4:
> error: implicit declaration of function ‘rte_igb_pmd_init’
> [-Werror=implicit-function-declaration]
>     (rte_igb_pmd_init() < 0) ||
>     ^
> /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init_drivers.h:52:4:
> error: implicit declaration of function ‘rte_ixgbe_pmd_init’
> [-Werror=implicit-function-declaration]
>     (rte_ixgbe_pmd_init() < 0) ||
>     ^
> cc1: all warnings being treated as errors
> make[4]: *** [init.o] Erreur 1
> make[3]: *** [all] Erreur 2
> make[3]: quittant le répertoire «
> /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk »
> make[2]: *** [app] Erreur 2
> make[2]: quittant le répertoire «
> /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/cubiq/sothy/dpdk-ovs/openvswitch »
> make: *** [all] Erreur
> 
> ================================================================
> ===============
> 
> THanks for your help.
> 
> Best regardss
> Sothy

Hi Sothy

As 'PMD_REGISTER_DRIVER' was introduced recently to replace those direct invoking, those functions do not need to be called and have been removed. Please search ' PMD_REGISTER_DRIVER ' to see more details in code.

Regards,
Helin

      parent reply	other threads:[~2014-07-09 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHcF_0ZeXekcmjy3O-s6W0tqRba9SBD_NQKnTX_th184u5v+XA@mail.gmail.com>
2014-07-09 12:52 ` sothy shan
2014-07-09 13:03   ` Thomas Monjalon
2014-07-09 15:34   ` Zhang, Helin [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=F35DEAC7BCE34641BA9FAC6BCA4A12E70A74BA59@SHSMSX104.ccr.corp.intel.com \
    --to=helin.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=sothy.e98@gmail.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).