Re: [dpdk-dev] DPDK Windows Build

2020-02-04 Thread Thomas Monjalon
29/01/2020 19:05, Jeremy Plsek: > Hi Dmitry, > > > There is a bug in Meson: '/OPT:REF' must be prefixed with '-Wl,' when using > > Clang with link.exe, because Clang does not recognize '/OPT:REF' as an > > argument to pass to linker, but treats it as a filename instead. > > A patch is not under re

Re: [dpdk-dev] DPDK Windows Build

2020-02-04 Thread William Tu
On Mon, Feb 3, 2020 at 10:16 PM Dmitry Kozlyuk wrote: > > Hi William, > > > examples\meson.build:11:0: ERROR: Program or command 'sh' not found or > > not executable > > > > A full log can be found at > > C:\dpdk-draft-windows\build11\meson-logs\meson-log.txt > > > > Do I need to install "sh"? > >

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread Dmitry Kozlyuk
Hi William, > examples\meson.build:11:0: ERROR: Program or command 'sh' not found or > not executable > > A full log can be found at > C:\dpdk-draft-windows\build11\meson-logs\meson-log.txt > > Do I need to install "sh"? No, you shouldn't have to, if you're building "master" branch of "dpdk" re

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread William Tu
On Mon, Feb 3, 2020 at 3:43 PM Dmitry Kozliuk wrote: >> >> Do I mess up some linker's configurations? >> I attached the meson log, thanks for your help! > > > Those are not errors, just harmless warnings. You can now build and run an > example program (rerun meson with -Dexamples=helloworld per W

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread Dmitry Kozliuk
> > Do I mess up some linker's configurations? > I attached the meson log, thanks for your help! Those are not errors, just harmless warnings. You can now build and run an example program (rerun meson with -Dexamples=helloworld per Windows Getting Started Guide).

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread William Tu
On Mon, Feb 3, 2020 at 3:03 PM Dmitry Kozlyuk wrote: > > > From the step in > > https://mesonbuild.com/Quick-guide.html#installation-from-source > > I tried to compile meson by doing: > > $ git clone https://github.com/mesonbuild/meson.git > > $ cd meson > > $ meson builddir > > ERROR: Neither d

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread Dmitry Kozlyuk
> From the step in > https://mesonbuild.com/Quick-guide.html#installation-from-source > I tried to compile meson by doing: > $ git clone https://github.com/mesonbuild/meson.git > $ cd meson > $ meson builddir > ERROR: Neither directory contains a build file meson.build. > > How do I generate a m

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread William Tu
On Mon, Feb 3, 2020 at 2:08 PM Dmitry Kozlyuk wrote: > > Hi, > > > Thanks for your help. "meson -v" only shows meson's version. > > Am I doing it wrong? > > It'm my mistake, pardon me. Ninja has '-v' option, Meson doesn't. > > > A full log can be found at > > [1mC:\dpdk-draft-windows\build\meson-l

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread Dmitry Kozlyuk
Hi, > Thanks for your help. "meson -v" only shows meson's version. > Am I doing it wrong? It'm my mistake, pardon me. Ninja has '-v' option, Meson doesn't. > A full log can be found at > [1mC:\dpdk-draft-windows\build\meson-logs\meson-log.txt [0m Please post C:\dpdk-draft-windows\build\meson-lo

Re: [dpdk-dev] DPDK Windows Build

2020-02-03 Thread William Tu
On Sat, Feb 1, 2020 at 3:43 AM Dmitry Kozliuk 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 command

Re: [dpdk-dev] DPDK Windows Build

2020-02-01 Thread Dmitry Kozliuk
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\msy

Re: [dpdk-dev] DPDK Windows Build

2020-01-29 Thread Jeremy Plsek
Hi Dmitry, There is a bug in Meson: '/OPT:REF' must be prefixed with '-Wl,' when using Clang with link.exe, because Clang does not recognize '/OPT:REF' as an argument to pass to linker, but treats it as a filename instead. A patch is not under review: https://github.com/mesonbuild/meson/pull/648

Re: [dpdk-dev] DPDK Windows Build

2020-01-28 Thread Dmitry Kozliuk
Hello Jeremy, > clang: error: no such file or directory: '/OPT:REF' There is a bug in Meson: '/OPT:REF' must be prefixed with '-Wl,' when using Clang with link.exe, because Clang does not recognize '/OPT:REF' as an argument to pass to linker, but treats it as a filename instead. A patch is not un

[dpdk-dev] DPDK Windows Build

2020-01-28 Thread Jeremy Plsek
Hello, I'm trying to build DPDK on Windows for the DPDK Community Lab CI. I have a mostly fresh install of Windows Server 2019 and I mostly followed https://doc.dpdk.org/guides/windows_gsg/build_dpdk.html But I'm having trouble compiling it. I've attached logs for both clang 7 and clang 9. Any

Re: [dpdk-dev] dpdk : windows build issue

2020-01-03 Thread Revanur Srinivasa Kumar (RBEI/ETA)
: Re: [dpdk-dev] dpdk : windows build issue Hi Srinivas On 9/17/2019 2:34 AM, Revanur Srinivasa Kumar (RBEI/ETA) wrote: > Hi, > > We are evaluating dpdk on windows10 64 bit desktop version ( linux runs fine > ). Build system is setup on PC, but I see that dpdk is supported on windo

Re: [dpdk-dev] dpdk : windows build issue

2019-09-23 Thread Pallavi Kadam
Hi Srinivas On 9/17/2019 2:34 AM, Revanur Srinivasa Kumar (RBEI/ETA) wrote: Hi, We are evaluating dpdk on windows10 64 bit desktop version ( linux runs fine ). Build system is setup on PC, but I see that dpdk is supported on windows server 2016/2019 only. Can we run dpdk on windows 10 ? Bes

[dpdk-dev] dpdk : windows build issue

2019-09-22 Thread Revanur Srinivasa Kumar (RBEI/ETA)
Hi, We are evaluating dpdk on windows10 64 bit desktop version ( linux runs fine ). Build system is setup on PC, but I see that dpdk is supported on windows server 2016/2019 only. Can we run dpdk on windows 10 ? Best regards, srinivas