From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id BF3DBC6A0 for ; Thu, 30 Jul 2015 22:27:25 +0200 (CEST) Received: by wibud3 with SMTP id ud3so34629220wib.1 for ; Thu, 30 Jul 2015 13:27:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Kro1wzM4jBHS+AJrT+xheNNXZC1FNrOcfc4SbYbFUeQ=; b=LYK8eUdGImhu2EyJsS8rDN9h3HDUSeOAhNgP5uUVuUcGXsKr1bL6vxN1NqHa74cMOu LvO1IfMTgm18WEHjhZhmmMOvFGsHPrygS6QXeq2YpilDBE9D25N+HLps0hkfjkfVNPlA bnCXfzNWNwy5tqY4Dxbk3ymeO14QVm2Fy7WOe50mB1/IIkBJuv0e2ilocb1ts8ndqXGq WRO77XrGv0/r7q+1vQ/Sda2Hn0VBr5Kd4t0HV7VDazlOhUMLTqeSqH368INjeggmNr6O yzRJA6yMG5AFWNpxA/v9aMp1v2q7aqeV47dtsd0wZIrVNaMhQ+xnK27zf5IzClUCNV7V 1Lew== X-Gm-Message-State: ALoCoQngq3dITL2hAPhQWJrlUBxtXQid8wDyXMYRa0o98BQgEMGj4+87XH7r82oe6fD0O7KoVnuy X-Received: by 10.194.87.69 with SMTP id v5mr1515673wjz.140.1438288045530; Thu, 30 Jul 2015 13:27:25 -0700 (PDT) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id yu4sm3525024wjc.43.2015.07.30.13.27.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jul 2015 13:27:24 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Date: Thu, 30 Jul 2015 22:26:48 +0200 Message-Id: <1438288008-4294-1-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH] eal: fix compilation for x86_x32-native-linuxapp-gcc 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: Thu, 30 Jul 2015 20:27:26 -0000 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 --- lib/librte_eal/common/eal_common_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_timer.c b/lib/librte_eal/common/eal_common_timer.c index 255f995..72371b8 100644 --- a/lib/librte_eal/common/eal_common_timer.c +++ b/lib/librte_eal/common/eal_common_timer.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #include -- 2.1.4