DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  Epoll installation in FreeBSD
@ 2020-07-05 10:27 Ibtisam Tariq
  2020-07-06  8:25 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Ibtisam Tariq @ 2020-07-05 10:27 UTC (permalink / raw)
  To: dev

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?

Thanks.
- Ibtisam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Epoll installation in FreeBSD
  2020-07-05 10:27 [dpdk-dev] Epoll installation in FreeBSD Ibtisam Tariq
@ 2020-07-06  8:25 ` Bruce Richardson
  2020-07-06 12:34   ` Ibtisam Tariq
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2020-07-06  8:25 UTC (permalink / raw)
  To: Ibtisam Tariq; +Cc: 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Epoll installation in FreeBSD
  2020-07-06  8:25 ` Bruce Richardson
@ 2020-07-06 12:34   ` Ibtisam Tariq
  0 siblings, 0 replies; 3+ messages in thread
From: Ibtisam Tariq @ 2020-07-06 12:34 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev

Okay.
Thank you for clarification.

On Mon, Jul 6, 2020 at 1:26 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> 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



-- 
Regards,
Ibtisam Tariq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-06 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 10:27 [dpdk-dev] Epoll installation in FreeBSD Ibtisam Tariq
2020-07-06  8:25 ` Bruce Richardson
2020-07-06 12:34   ` Ibtisam Tariq

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).