[dpdk-dev] implicit declaration of function rte_igb_pmd_init()

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 9 15:03:14 CEST 2014


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


More information about the dev mailing list