From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6909C30D for ; Wed, 2 Jul 2014 11:58:18 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 02 Jul 2014 02:58:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,587,1400050800"; d="scan'208";a="556323530" Received: from fmsmsx108.amr.corp.intel.com ([10.19.9.228]) by fmsmga001.fm.intel.com with ESMTP; 02 Jul 2014 02:58:37 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX108.amr.corp.intel.com (10.19.9.228) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 2 Jul 2014 02:58:36 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 2 Jul 2014 02:58:37 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.122]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.36]) with mapi id 14.03.0123.003; Wed, 2 Jul 2014 17:58:35 +0800 From: "Zhan, Zhaochen" To: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] eal: fix build for bsd Thread-Index: AQHPldc+N7dbB2vC6EaLYtGrKvTr8puMi55w Date: Wed, 2 Jul 2014 09:58:34 +0000 Message-ID: <6D0EE020084B194084D70B0A8D2207B8E8EA6B@SHSMSX104.ccr.corp.intel.com> References: <1404292944-5964-1-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1404292944-5964-1-git-send-email-thomas.monjalon@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] eal: fix build for bsd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 09:58:18 -0000 Hi=20 I have tested the patch, it still has a build error although it is differen= t from the previous one. OS: FreeBSD10 =3D=3D 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: fata= l error: linux/binfmts.h: No such file or directory #include ^ 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@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 02, 2014 5:22 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] eal: fix build for bsd >=20 > When adding link bonding to EAL initialization (a155d430119), > an include was missing for BSD. >=20 > Signed-off-by: Thomas Monjalon > --- > lib/librte_eal/bsdapp/eal/eal.c | 1 + > 1 file changed, 1 insertion(+) >=20 >=20 > Please, a quick test and acknowledgement of this fix would be helpful. >=20 >=20 > 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 > #include > #include > +#include > #include > #include > #include > -- > 2.0.0