DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jeremy Plsek <jplsek@iol.unh.edu>
To: dev@dpdk.org
Cc: dpdklab@iol.unh.edu, harini.ramakrishnan@microsoft.com,
	 ocardona@microsoft.com, "Kadam,
	Pallavi" <pallavi.kadam@intel.com>,
	 "Menon, Ranjit" <ranjit.menon@intel.com>
Subject: [dpdk-dev] DPDK Windows Build
Date: Tue, 28 Jan 2020 11:42:40 -0500	[thread overview]
Message-ID: <CA+xUZB729u8Cnna0exjSnWXoYuYOeHd98qOzyvcfjQbjOUQ9HA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

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 help or suggestions would be appreciated.

Thanks
-- 
Jeremy Plsek
UNH InterOperability Laboratory

[-- Attachment #2: windows-clang7.txt --]
[-- Type: text/plain, Size: 5329 bytes --]


builder@WIN-2IEI98HV07T C:\Users\builder\dpdk>meson -Dexamples=helloworld build
The Meson build system
Version: 0.52.1
Source dir: C:\Users\builder\dpdk
Build dir: C:\Users\builder\dpdk\build
Build type: native build
Program cat found: NO
Program more found: YES (C:\Windows\system32\more.COM)
Project name: DPDK
Project version: 20.02.0-rc1
C compiler for the host machine: clang (clang 7.0.1 "clang version 7.0.1 (tags/RELEASE_701/final)")
C linker for the host machine: link 14.24.28314.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program cat found: NO
Program more found: YES (C:\Windows\system32\more.COM)
Program ../buildtools/symlink-drivers-solibs.sh found: YES (sh C:\Users\builder\dpdk\config\../buildtools/symlink-drivers-solibs.sh)
WARNING: No include directory found parsing "clang -xc -E -v -" output
Checking for size of "void *" : 8
Library m found: NO
Library numa found: NO
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libbsd found: NO (tried pkgconfig and cmake)
pcap-config found: NO
Run-time dependency pcap found: NO (tried pkgconfig and config-tool)
Compiler for C supports arguments -Wextra: YES
WARNING: Consider using the builtin warning_level option instead of adding warning flags by hand.
Compiler for C supports arguments -Wcast-qual: YES
Compiler for C supports arguments -Wdeprecated: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wno-address-of-packed-member: YES
Compiler for C supports arguments -Wno-packed-not-aligned: NO
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Fetching value of define "__SSE4_2__" : 1
Fetching value of define "__AES__" : 1
Fetching value of define "__PCLMUL__" : 1
Fetching value of define "__AVX__" : 1
Fetching value of define "__AVX2__" :
Fetching value of define "__AVX512F__" :
Fetching value of define "__RDRND__" : 1
Fetching value of define "__RDSEED__" :
Program gen-pmdinfo-cfile.sh found: YES (sh C:\Users\builder\dpdk\buildtools\gen-pmdinfo-cfile.sh)
Program check-experimental-syms.sh found: YES (sh C:\Users\builder\dpdk\buildtools\check-experimental-syms.sh)
Program python3 found: YES (C:\Program Files\Meson\meson.exe runpython)
Program grep found: NO
Program findstr found: YES (C:\Windows\system32\findstr.EXE)
Compiler for C supports arguments -Wno-format-truncation: NO
Message: lib/librte_kvargs: Defining dependency "kvargs"
Checking for function "getentropy" : NO
Message: lib/librte_eal: Defining dependency "eal"
Program doxygen found: NO
Program sphinx-build found: NO
Library execinfo found: NO
Compiler for C supports arguments -Wno-format-truncation: NO (cached)
Configuring rte_build_config.h using configuration
Message:
=================
Libraries Enabled
=================

libs:
        kvargs, eal,

Message:
===============
Drivers Enabled
===============


Message:
=================
Content Skipped
=================

libs:

drivers:


Build targets in project: 8
Found ninja.EXE-1.9.0 at "C:\Program Files\Meson\ninja.EXE"

builder@WIN-2IEI98HV07T C:\Users\builder\dpdk>cd build

builder@WIN-2IEI98HV07T C:\Users\builder\dpdk\build>ninja
[3/18] Compiling C object lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_debug.c.obj.
../lib/librte_eal/windows/eal/eal_debug.c:16:42: warning: format string is not a string literal [-Wformat-nonliteral]
        rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap);
                                                ^~~~~~
../lib/librte_eal/windows/eal/eal_debug.c:10:1: warning: no previous prototype for function '__rte_panic' [-Wmissing-prototypes]
__rte_panic(const char *funcname, const char *format, ...)
^
2 warnings generated.
[10/18] Linking target lib/librte_kvargs-0.200.dll.
FAILED: lib/librte_kvargs-0.200.dll
clang @lib/librte_kvargs-0.200.dll.rsp
clang.exe: error: no such file or directory: '/OPT:REF'
[13/18] Compiling C object lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_lcore.c.obj.
../lib/librte_eal/windows/eal/eal_lcore.c:79:1: warning: no previous prototype for function 'eal_cpu_detected' [-Wmissing-prototypes]
eal_cpu_detected(unsigned int lcore_id)
^
../lib/librte_eal/windows/eal/eal_lcore.c:88:1: warning: no previous prototype for function 'eal_cpu_socket_id' [-Wmissing-prototypes]
eal_cpu_socket_id(unsigned int lcore_id)
^
../lib/librte_eal/windows/eal/eal_lcore.c:97:1: warning: no previous prototype for function 'eal_cpu_core_id' [-Wmissing-prototypes]
eal_cpu_core_id(unsigned int lcore_id)
^
3 warnings generated.
[14/18] Compiling C object examples/c590b3c@@dpdk-helloworld@exe/helloworld_main.c.obj.
ninja: build stopped: subcommand failed.

builder@WIN-2IEI98HV07T C:\Users\builder\dpdk\build>

[-- Attachment #3: windows-clang9.txt --]
[-- Type: text/plain, Size: 5974 bytes --]


builder@WIN-2IEI98HV07T C:\Users\builder\dpdk>meson -Dexamples=helloworld build
The Meson build system
Version: 0.52.1
Source dir: C:\Users\builder\dpdk
Build dir: C:\Users\builder\dpdk\build
Build type: native build
Program cat found: NO
Program more found: YES (C:\Windows\system32\more.COM)
Project name: DPDK
Project version: 20.02.0-rc1
C compiler for the host machine: clang (clang 9.0.0 "clang version 9.0.0 (tags/RELEASE_900/final)")
C linker for the host machine: link 14.24.28314.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program cat found: NO
Program more found: YES (C:\Windows\system32\more.COM)
Program ../buildtools/symlink-drivers-solibs.sh found: YES (sh C:\Users\builder\dpdk\config\../buildtools/symlink-drivers-solibs.sh)
WARNING: No include directory found parsing "clang -xc -E -v -" output
Checking for size of "void *" : 8
Library m found: NO
Library numa found: NO
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libbsd found: NO (tried pkgconfig and cmake)
pcap-config found: NO
Run-time dependency pcap found: NO (tried pkgconfig and config-tool)
Compiler for C supports arguments -Wextra: YES
WARNING: Consider using the builtin warning_level option instead of adding warning flags by hand.
Compiler for C supports arguments -Wcast-qual: YES
Compiler for C supports arguments -Wdeprecated: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wno-address-of-packed-member: YES
Compiler for C supports arguments -Wno-packed-not-aligned: NO
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Fetching value of define "__SSE4_2__" : 1
Fetching value of define "__AES__" : 1
Fetching value of define "__PCLMUL__" : 1
Fetching value of define "__AVX__" : 1
Fetching value of define "__AVX2__" :
Fetching value of define "__AVX512F__" :
Fetching value of define "__RDRND__" : 1
Fetching value of define "__RDSEED__" :
Program gen-pmdinfo-cfile.sh found: YES (sh C:\Users\builder\dpdk\buildtools\gen-pmdinfo-cfile.sh)
Program check-experimental-syms.sh found: YES (sh C:\Users\builder\dpdk\buildtools\check-experimental-syms.sh)
Program python3 found: YES (C:\Program Files\Meson\meson.exe runpython)
Program grep found: NO
Program findstr found: YES (C:\Windows\system32\findstr.EXE)
Compiler for C supports arguments -Wno-format-truncation: NO
Message: lib/librte_kvargs: Defining dependency "kvargs"
Checking for function "getentropy" : NO
Message: lib/librte_eal: Defining dependency "eal"
Program doxygen found: NO
Program sphinx-build found: NO
Library execinfo found: NO
Compiler for C supports arguments -Wno-format-truncation: NO (cached)
Configuring rte_build_config.h using configuration
Message:
=================
Libraries Enabled
=================

libs:
        kvargs, eal,

Message:
===============
Drivers Enabled
===============


Message:
=================
Content Skipped
=================

libs:

drivers:


Build targets in project: 8
Found ninja.EXE-1.9.0 at "C:\Program Files\Meson\ninja.EXE"

builder@WIN-2IEI98HV07T C:\Users\builder\dpdk>cd build

builder@WIN-2IEI98HV07T C:\Users\builder\dpdk\build>ninja
[2/18] Compiling C object lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_debug.c.obj.
../lib/librte_eal/windows/eal/eal_debug.c:16:42: warning: format string is not a string literal [-Wformat-nonliteral]
        rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap);
                                                ^~~~~~
../lib/librte_eal/windows/eal/eal_debug.c:10:1: warning: no previous prototype for function '__rte_panic' [-Wmissing-prototypes]
__rte_panic(const char *funcname, const char *format, ...)
^
../lib/librte_eal/windows/eal/eal_debug.c:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
2 warnings generated.
[9/18] Linking target lib/librte_kvargs-0.200.dll.
FAILED: lib/librte_kvargs-0.200.dll
clang @lib/librte_kvargs-0.200.dll.rsp
clang: error: no such file or directory: '/OPT:REF'
[13/18] Compiling C object lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_lcore.c.obj.
../lib/librte_eal/windows/eal/eal_lcore.c:79:1: warning: no previous prototype for function 'eal_cpu_detected' [-Wmissing-prototypes]
eal_cpu_detected(unsigned int lcore_id)
^
../lib/librte_eal/windows/eal/eal_lcore.c:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int
^
static
../lib/librte_eal/windows/eal/eal_lcore.c:88:1: warning: no previous prototype for function 'eal_cpu_socket_id' [-Wmissing-prototypes]
eal_cpu_socket_id(unsigned int lcore_id)
^
../lib/librte_eal/windows/eal/eal_lcore.c:87:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned
^
static
../lib/librte_eal/windows/eal/eal_lcore.c:97:1: warning: no previous prototype for function 'eal_cpu_core_id' [-Wmissing-prototypes]
eal_cpu_core_id(unsigned int lcore_id)
^
../lib/librte_eal/windows/eal/eal_lcore.c:96:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned
^
static
3 warnings generated.
[14/18] Compiling C object examples/c590b3c@@dpdk-helloworld@exe/helloworld_main.c.obj.
ninja: build stopped: subcommand failed.

builder@WIN-2IEI98HV07T C:\Users\builder\dpdk\build>

             reply	other threads:[~2020-01-28 16:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28 16:42 Jeremy Plsek [this message]
2020-01-28 21:36 ` Dmitry Kozliuk
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
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

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=CA+xUZB729u8Cnna0exjSnWXoYuYOeHd98qOzyvcfjQbjOUQ9HA@mail.gmail.com \
    --to=jplsek@iol.unh.edu \
    --cc=dev@dpdk.org \
    --cc=dpdklab@iol.unh.edu \
    --cc=harini.ramakrishnan@microsoft.com \
    --cc=ocardona@microsoft.com \
    --cc=pallavi.kadam@intel.com \
    --cc=ranjit.menon@intel.com \
    /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).