From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix compilation for x86_x32-native-linuxapp-gcc Date: Mon, 03 Aug 2015 00:25:24 +0200 Message-ID: <2133764.5Y3MGMYgGN@xps13> References: <1438288008-4294-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Olivier Matz Return-path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id EC58CC40A for ; Mon, 3 Aug 2015 00:26:38 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so97568085wib.0 for ; Sun, 02 Aug 2015 15:26:38 -0700 (PDT) In-Reply-To: <1438288008-4294-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Applied, thanks