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 7697AA0597; Fri, 17 Apr 2020 23:14:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 02E751EB48; Fri, 17 Apr 2020 23:14:41 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 65B9B1EB44 for ; Fri, 17 Apr 2020 23:14:39 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 008EA5C01C8; Fri, 17 Apr 2020 17:14:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 17 Apr 2020 17:14:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=kVLriEoufU+7k91iB4N6JzheqAcDz/vEeCEJar5yklc=; b=eKHFCrWRLSTB /vLcudaJZ6Es9drdpTmr4/dnSMYdlFFzbPDYWDIsHZN1TdnmY32eeF51s1EslK16 FxvP4sLZgaktgykKhSsJ9Mh4hQe1O9kaStqWwpnWMU4T3qy/JmAbM5C/rMKN/agW VmuGKal9SOXWcMM1Y2xRh8lRBg599pM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=kVLriEoufU+7k91iB4N6JzheqAcDz/vEeCEJar5yk lc=; b=MspzbAicmDMmdI55ibPfPVX7qxvn5RB0lmFInQPP+oA039IOso/7Meg0E ikvtIp5nAKMzMneKRmRtCd16OYj3gl1jR4FCTOFzIvs82Yp36rdfwvtGlAlTPflf 96T/MNM29bTzj8ZXY9pQU/KojDS8z0RhnWWvWmRzae9RYxoSZcYvKsDJI5L4y+JH A0/3eW2uuzL7W9E1i4paigGCVJVWofIycVFrkBIHW5fpczd3zCJWY3qRvnf1G6Rg 6zm4p9AaYVOXa8cZDKH1HG6SVFP4sPMV4lArxtJmcoEe3U4NPtP6431Z3zVPPCok ptQZ+6gm2dLGVYxjHkp5GWpYDS0yA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeejgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 0F93A328005E; Fri, 17 Apr 2020 17:14:36 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: David Hunt , dev@dpdk.org Date: Fri, 17 Apr 2020 23:14:35 +0200 Message-ID: <3152428.ucjEoNaZvj@thomas> In-Reply-To: <20200417185534.2285671-1-ferruh.yigit@intel.com> References: <20200417185534.2285671-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] examples/vm_power_manager: fix build 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" 17/04/2020 20:55, Ferruh Yigit: > Build fails because '__rte_unused' macro not defined in file, error > produced by 'i686-native-linux-gcc config' but it seems generic issue. >=20 > Build error: > .../examples/vm_power_manager/oob_monitor_nop.c:11:13: > error: expected =E2=80=98;=E2=80=99 before =E2=80=98static=E2=80=99 > 11 | __rte_unused static float > | ^~~~~~~ > | ; > .../examples/vm_power_manager/oob_monitor_nop.c:12:14: > error: unknown type name =E2=80=98__rte_unused=E2=80=99 > 12 | apply_policy(__rte_unused int core) > | ^~~~~~~~~~~~ > .../examples/vm_power_manager/oob_monitor_nop.c:18:21: > error: unknown type name =E2=80=98__rte_unused=E2=80=99 > 18 | add_core_to_monitor(__rte_unused int core) > | ^~~~~~~~~~~~ > .../examples/vm_power_manager/oob_monitor_nop.c:24:26: > error: unknown type name =E2=80=98__rte_unused=E2=80=99 > 24 | remove_core_from_monitor(__rte_unused int core) > | ^~~~~~~~~~~~ >=20 > Including 'rte_common.h' header which defines the macro for fix. >=20 > Fixes: f2fc83b40f06 ("replace unused attributes") >=20 > Signed-off-by: Ferruh Yigit The file oob_monitor_nop.c is not compiled on x86_64. Unfortunately, my build matrix does not include vm_power_manager on i686. Applied, thanks