From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8A498A00C5; Mon, 6 Jul 2020 10:28:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9A2231D70F; Mon, 6 Jul 2020 10:26:04 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C526C1D70F for ; Mon, 6 Jul 2020 10:26:02 +0200 (CEST) IronPort-SDR: r0Hm9IqXe3EOlmT4pQKI4nlPM+/8Q2mHufuTOOiXZn02lQe1o8FK0iCaH1sEsUQUSPCobGJ6aH UyfP9GOBhenQ== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="208883418" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="208883418" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:26:02 -0700 IronPort-SDR: r+AAeiB+PnbAuAWPE8esoDDfrl1R/ndVBCnadxvH0jT9pHqSNdunB26QpSgXR8D0dClI502Aw2 cMl25ATAlN/A== X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="427018784" Received: from unknown (HELO bricha3-MOBL.ger.corp.intel.com) ([10.252.19.54]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 06 Jul 2020 01:26:01 -0700 Date: Mon, 6 Jul 2020 09:25:57 +0100 From: Bruce Richardson To: Ibtisam Tariq Cc: dev@dpdk.org Message-ID: <20200706082557.GD636@bricha3-MOBL.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] Epoll installation in FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sun, Jul 05, 2020 at 03:27:30PM +0500, Ibtisam Tariq wrote: > Hey. > > I've tried to install a new copy of FreeBSD. But it can't find the > sys/epoll.h header file. > I have searched and sys/epoll.h is not available on FreeBSD. > > The output of meson builds on FreeBSD. > ---------------------------------------------------------------------- > Has header "sys/epoll.h" : NO > examples/meson.build:109.2: ERROR: Problem encountered: Cannot build > requested example "ip_pipeline" > ---------------------------------------------------------------------- > > How can I solve this problem? > The ip_pipeline example application is indeed not buildable on FreeBSD, sadly, so there is no way to solve this problem without modifying the code to not require the use of epoll. To get a clean DPDK build on FreeBSD you need to remove this example from the list of examples you are requesting to be built as part of the SDK build. One suggestion to find all the examples which are working on FreeBSD is to pass "-Dexamples=all" to meson, rather than requesting each by name. This will attempt to build all examples, but won't error out on any that are not buildable, instead it will just skip them. Regards, /Bruce