DPDK patches and discussions
 help / color / mirror / Atom feed
From: William Tu <u9012063@gmail.com>
To: Dmitry Kozliuk <dmitry.kozliuk@gmail.com>
Cc: Jeremy Plsek <jplsek@iol.unh.edu>, dev@dpdk.org
Subject: Re: [dpdk-dev] DPDK Windows Build
Date: Mon, 3 Feb 2020 11:26:23 -0800	[thread overview]
Message-ID: <CALDO+SY2LxSK0kBdvXzT6+JFucSFCcBYUQpdCYW7ikRpVpri6g@mail.gmail.com> (raw)
In-Reply-To: <20200201144347.487e20f2@Sovereign>

On Sat, Feb 1, 2020 at 3:43 AM Dmitry Kozliuk <dmitry.kozliuk@gmail.com> wrote:
>
> Hi William,
>
> > Sanity check compile stderr:
> > clang.exe: error: linker command failed with exit code 1104 (use -v to
> > see invocation)
>
> Please add '-v' flag to Meson invocation and post the output as plain text.
> The exact commands you're using will also help.
>
> > Program cat found: YES (C:\MinGW\msys\1.0\bin\cat.EXE)
>
> I suspect MSYS confuses Meson and it may call 'clang.exe' instead of
> 'clang-cl.exe'. Try excluding MSYS from your PATH.
>
> --
Hi Dmitry,

Thanks for your help. "meson -v" only shows meson's version.
Am I doing it wrong?

C:\dpdk-draft-windows>set CC=clang

C:\dpdk-draft-windows>meson build
The Meson build system
Version: 0.53.1
Source dir: C:\dpdk-draft-windows
Build dir: C:\dpdk-draft-windows\build
Build type: native build
Program cat found: YES (C:\MinGW\msys\1.0\bin\cat.EXE)
Project name:  [1mDPDK [0m
Project version:  [1m19.05.0-rc4 [0m

meson.build:4:0:  [1;31mERROR: [0m Compiler clang can not compile programs.

A full log can be found at
[1mC:\dpdk-draft-windows\build\meson-logs\meson-log.txt [0m

C:\dpdk-draft-windows>meson -v build
0.53.1

Thanks
William

  reply	other threads:[~2020-02-03 19:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29 18:05 Jeremy Plsek
     [not found] ` <CALDO+SbTP6jsAsPyupHsXy2+qJLg5ndu31GLniQJN84=be2bNg@mail.gmail.com>
2020-02-01 11:43   ` Dmitry Kozliuk
2020-02-03 19:26     ` William Tu [this message]
2020-02-03 22:08       ` Dmitry Kozlyuk
2020-02-03 22:25         ` William Tu
2020-02-03 23:02           ` Dmitry Kozlyuk
2020-02-03 23:26             ` William Tu
2020-02-03 23:43               ` Dmitry Kozliuk
2020-02-04  0:55                 ` William Tu
2020-02-04  6:16                   ` Dmitry Kozlyuk
2020-02-04 20:58                     ` William Tu
2020-02-04 21:51 ` Thomas Monjalon
  -- strict thread matches above, loose matches on Subject: below --
2020-01-28 16:42 Jeremy Plsek
2020-01-28 21:36 ` Dmitry Kozliuk

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=CALDO+SY2LxSK0kBdvXzT6+JFucSFCcBYUQpdCYW7ikRpVpri6g@mail.gmail.com \
    --to=u9012063@gmail.com \
    --cc=dev@dpdk.org \
    --cc=dmitry.kozliuk@gmail.com \
    --cc=jplsek@iol.unh.edu \
    /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).