[dpdk-dev] DPDK Windows Build

William Tu u9012063 at gmail.com
Mon Feb 3 20:26:23 CET 2020


On Sat, Feb 1, 2020 at 3:43 AM Dmitry Kozliuk <dmitry.kozliuk at 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


More information about the dev mailing list