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 B80D2A04DD; Tue, 20 Oct 2020 17:52:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E99CAC9E; Tue, 20 Oct 2020 17:52:34 +0200 (CEST) Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by dpdk.org (Postfix) with ESMTP id D71DCAA0F for ; Tue, 20 Oct 2020 17:52:31 +0200 (CEST) Received: by mail-lf1-f66.google.com with SMTP id h6so2735176lfj.3 for ; Tue, 20 Oct 2020 08:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+Rs7zFXchTjjnUcc+YtpyrB/fG4Vm/KkllhvGEOKUOU=; b=tvCt5MZw7ZaHpNH+KgjSzzbMafexTS2ATPqiin/pFiDQTAkffWuSdVBQgpR2r5s99e 2+lRC4iM7rfQMsEzQryXcdayoLh2HXn+dYdrpX3kq4JJ/IV/1+BeTuHujUaZacu0d1gm V7sH3MgjCPDOQNo2jGuihebEqQLlgBBeZvJblN6GohiNi0cbMt2oYjZ9vd/MduiYkHwP AhyemeIDZTQSD0C3RrEtJmTUVJ6eYCKONLKp5Ksv4BXc8heXXx8v8zF6LIO05PpNvBZ6 EN1joFczbxDNNNdC+kyY0Skqf/2KnZWbLnAUrtTppCPrdRX5IfupJLgroAqCsjijCqpF bdUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+Rs7zFXchTjjnUcc+YtpyrB/fG4Vm/KkllhvGEOKUOU=; b=ZEdujAoJ3SFIwM2yiH6pzIwaXve59sS2HSC2zEZ/2GzF2yR3V4YZgeiX5pA1M2pzXg V2CslqWO66SdlgYRAOZtw4Gi/V/ZVU4Hksnu4pp64xYpiT7kTA7QMvrjs4cKGryuq23t dIRSG0fFoL+Oozt7aYS1tgIVTasaPyrDHzVtuPSDs7pk/SGgRa9dg7+JWvDP3O9MhDA9 g6ImR3UjdnP+urPOLhHl6V6JED3qGbv6MoCyiBJRSGwX5TPo0rJnkdO3W6/VgJfijNs7 tAKwYl1FW714ZSkdcYrgtCLsR44Jnw4luubqKLxY5K5kv04pHVyyh4KfdJHsNCXqLn8s +uYw== X-Gm-Message-State: AOAM531eB4WeYr535Tm8fJjm3BIXbBjpqNe2FscM0HBBXow81ct/w1JE 7OULmXS86cabhqDgYBgVQnc= X-Google-Smtp-Source: ABdhPJwQEBo5SVNatMFxqgAOvWh/evZcYHcf6bvqRWzZVyWjt1uCqvF8D66hn+UaP0LmcRt1pF0MRw== X-Received: by 2002:a05:6512:2013:: with SMTP id a19mr1167331lfb.410.1603209150426; Tue, 20 Oct 2020 08:52:30 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id 21sm367070lfd.272.2020.10.20.08.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 08:52:29 -0700 (PDT) Date: Tue, 20 Oct 2020 18:52:28 +0300 From: Dmitry Kozlyuk To: Dharmik Thakkar Cc: David Marchand , Narcisa Ana Maria Vasile , "Dmitry Malloy (MESHCHANINOV)" , Pallavi Kadam , dev , nd , Honnappa Nagarahalli , "thomas@monjalon.net" Message-ID: <20201020185228.5216c602@sovereign> In-Reply-To: References: <20201019233336.9627-1-dharmik.thakkar@arm.com> <20201020113443.694de796@sovereign> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [RFC] rcu: build on Windows 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" On Tue, 20 Oct 2020 12:51:14 +0000, Dharmik Thakkar wrote: > I tried cross-compilation on Linux (Ubuntu 18.04) with MinGW-w64 toolchai= n, but I am seeing some compilation error: >=20 > ../lib/librte_eal/common/eal_common_dev.c: In function =E2=80=98rte_dev_p= robe=E2=80=99: > ../lib/librte_eal/common/eal_common_dev.c:215:12: error: =E2=80=98ENOMSG= =E2=80=99 undeclared (first use in this function); did you mean =E2=80=98NP= MSG=E2=80=99? > return -ENOMSG; > ^~~~~~ > NPMSG > ../lib/librte_eal/common/eal_common_dev.c:215:12: note: each undeclared i= dentifier is reported only once for each function it appears in > ../lib/librte_eal/common/eal_common_dev.c: In function =E2=80=98rte_dev_r= emove=E2=80=99: > ../lib/librte_eal/common/eal_common_dev.c:361:12: error: =E2=80=98ENOMSG= =E2=80=99 undeclared (first use in this function); did you mean =E2=80=98NP= MSG=E2=80=99? > return -ENOMSG; > ^~~~~~ > NPMSG >=20 > [52/178] Compiling C object 'lib/lib@@rte_eal@sta/librte_eal_windows_eal_= memory.c.obj'. > ninja: build stopped: subcommand failed. >=20 >=20 > Any help is appreciated. Ubuntu 18.04 has MinGW-w64 5.0.4, while 6.0.0 is required (note: MinGW-w64 version is not the same as GCC version). I've certainly hit this issue with older MinGW.