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

sothy shan sothy.e98 at gmail.com
Wed Jul 9 14:52:15 CEST 2014


 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


More information about the dev mailing list