* [dpdk-dev] implicit declaration of function rte_igb_pmd_init()
[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
0 siblings, 2 replies; 3+ messages in thread
From: sothy shan @ 2014-07-09 12:52 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] implicit declaration of function rte_igb_pmd_init()
2014-07-09 12:52 ` [dpdk-dev] implicit declaration of function rte_igb_pmd_init() sothy shan
@ 2014-07-09 13:03 ` Thomas Monjalon
2014-07-09 15:34 ` Zhang, Helin
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2014-07-09 13:03 UTC (permalink / raw)
To: sothy shan; +Cc: dev
Hi,
2014-07-09 14:52, sothy shan:
> /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) ||
> ^
You are building an openvswitch application using an old DPDK API.
This function is not public anymore in DPDK 1.7.0.
Please fix and report it on the appropriate mailing list.
You can use some macros in version.h to keep compatibility with
older versions.
--
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] implicit declaration of function rte_igb_pmd_init()
2014-07-09 12:52 ` [dpdk-dev] implicit declaration of function rte_igb_pmd_init() sothy shan
2014-07-09 13:03 ` Thomas Monjalon
@ 2014-07-09 15:34 ` Zhang, Helin
1 sibling, 0 replies; 3+ messages in thread
From: Zhang, Helin @ 2014-07-09 15:34 UTC (permalink / raw)
To: sothy shan, dev
> -----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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-09 15:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAHcF_0ZeXekcmjy3O-s6W0tqRba9SBD_NQKnTX_th184u5v+XA@mail.gmail.com>
2014-07-09 12:52 ` [dpdk-dev] implicit declaration of function rte_igb_pmd_init() sothy shan
2014-07-09 13:03 ` Thomas Monjalon
2014-07-09 15:34 ` Zhang, Helin
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).