Hi I have tested the patch, it still has a build error although it is different from the previous one.
OS: FreeBSD10 == Build lib/librte_pmd_bond CC rte_eth_bond_api.o /root/zzc/dpdk-1.7.0-rc3/lib/librte_pmd_bond/rte_eth_bond_api.c:35:27: fatal error: linux/binfmts.h: No such file or directory #include <linux/binfmts.h> ^ compilation terminated. gmake[5]: *** [rte_eth_bond_api.o] Error 1 gmake[4]: *** [librte_pmd_bond] Error 2 gmake[3]: *** [lib] Error 2 gmake[2]: *** [all] Error 2 gmake[1]: *** [x86_64-native-bsdapp-gcc_install] Error 2 gmake: *** [install] Error 2 Thanks, Zhaochen > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 02, 2014 5:22 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] eal: fix build for bsd > > When adding link bonding to EAL initialization (a155d430119), > an include was missing for BSD. > > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com> > --- > lib/librte_eal/bsdapp/eal/eal.c | 1 + > 1 file changed, 1 insertion(+) > > > Please, a quick test and acknowledgement of this fix would be helpful. > > > diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c > index ec57b26..69ead31 100644 > --- a/lib/librte_eal/bsdapp/eal/eal.c > +++ b/lib/librte_eal/bsdapp/eal/eal.c > @@ -66,6 +66,7 @@ > #include <rte_cpuflags.h> > #include <rte_interrupts.h> > #include <rte_pci.h> > +#include <rte_dev.h> > #include <rte_devargs.h> > #include <rte_common.h> > #include <rte_version.h> > -- > 2.0.0