DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Olivier Matz <olivier.matz@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] eal: fix compilation for x86_x32-native-linuxapp-gcc
Date: Mon, 03 Aug 2015 00:25:24 +0200	[thread overview]
Message-ID: <2133764.5Y3MGMYgGN@xps13> (raw)
In-Reply-To: <1438288008-4294-1-git-send-email-olivier.matz@6wind.com>

2015-07-30 22:26, Olivier Matz:
> Compiling for dpdk x86_x32 gives the following error:
> 
>   CC eal_common_timer.o
> In file included from /usr/include/sys/sysctl.h:63:0,
>                  from dpdk.org/lib/librte_eal/common/eal_common_timer.c:39:
> /usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel"
>  # error "sysctl system call is unsupported in x32 kernel"
>    ^
> dpdk.org/mk/internal/rte.compile-pre.mk:126: recipe for target 'eal_common_timer.o' failed
> make[6]: *** [eal_common_timer.o] Error 1
> 
> Including sysctl.h was added by mistake when merging bsd and linux EAL
> timer code. It can be safely removed in this file, fixing the
> compilation.
> 
> Fixes: 040cf8a411 ("eal: deduplicate timer functions")
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Applied, thanks

      reply	other threads:[~2015-08-02 22:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 20:26 Olivier Matz
2015-08-02 22:25 ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2133764.5Y3MGMYgGN@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=olivier.matz@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).