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 EEB0DA0535; Tue, 4 Feb 2020 22:26:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3074F1C135; Tue, 4 Feb 2020 22:26:25 +0100 (CET) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by dpdk.org (Postfix) with ESMTP id B11731C11D for ; Tue, 4 Feb 2020 22:26:23 +0100 (CET) Received: by mail-qk1-f177.google.com with SMTP id q15so19606007qki.2 for ; Tue, 04 Feb 2020 13:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=vNGCMDUWggPH2SlwESj7a4K5qzuOuU2JIdxKiBz8dRA=; b=hXm+Y1X46S7YyhpY2PVVmojrVqQw6MvaVqTApJpJOTbJybedX6YBq6KK6PGnaxmhr2 fCnkUMEuFzFfO26XpSvHPS+oRKLSNM0arulErYs+zkwNrjbWOhOqSbi2CKl1e1HDQkOp V4p9XYoUQVAzwZFVdS7vMen4wlh3tkcbKv9J84QVJEfHpebm5pFLxGaJbo+eo/+0z4tq JPiA31E+Q5RTW+78HKgrOZ0REscyaey4OZQyMMQuNNamrG4NWK7k57/IRGF7U0TVNDlC PmcxS2E4/D2HzD3MB5bKaPCylGwrObCLABWiI/Df+MMnpvvVXqcs65Nf/VOhD6Lh4f9J 4CWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=vNGCMDUWggPH2SlwESj7a4K5qzuOuU2JIdxKiBz8dRA=; b=dQovFYpwJtMjxwGpIBjTWoioRj6tnXiLyeTN2MwP1bj9In7f1U7ov1rYd6Yiyu/8Jn 4VvIqW/8e/KUycqTMHSCYxTXNlCKLMeup1FTCf8ow579NNlE1v5clxp7Oskw6Y9FJp4f yqo2H5HZh/S3I6NdFMl3y61huqlVjmGKvBEPqgokAJvbBAACWZlsee9biWszZnU9nhot E1J4kJQnzT5y5WX3KIliqDUTa/sYAaAwwmUhRIWkZkVeJVvICwzTsOT44AM5KRXEOcFb dTsC4ZOgvprgvU5eMCrl9DE1KXyN8IkOeWVFGYG5JgcxLFh/y4m4fapTQoQ7qdX5HkQB jmIg== X-Gm-Message-State: APjAAAVEP1Igu6C6DYS7oMLA6RiVZ/xexRpw5zxL/OlDoz4fls036Jro S2YJSnMyJfGVW1HtiAbKA7IN0y5FefJJjH4icgrUtoquOCc= X-Google-Smtp-Source: APXvYqwMczKfK22uMze4+SBb8p/45pliwX3teaX6Af8BLjPZ7emKmH/leLI0ugRJSnqMnOf2dI2jvMshG+a64EpjFfo= X-Received: by 2002:a37:b602:: with SMTP id g2mr30929211qkf.174.1580851582736; Tue, 04 Feb 2020 13:26:22 -0800 (PST) MIME-Version: 1.0 From: William Tu Date: Tue, 4 Feb 2020 13:25:46 -0800 Message-ID: To: dev@dpdk.org Cc: Dmitry Kozliuk Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-dev] How to compile and run l2fwd/l3fwd on DPDK 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" Hi, I'm able to follow the doc to run helloworld example https://doc.dpdk.org/guides/windows_gsg/build_dpdk.html#build-the-code I'm thinking about running l2fwd on my x710 card. Is there any step-by-step document to follow? So far I'm not able to compile the l3fwd and l2fwd. meson fails for l3fwd: c:\dpdk>meson --reconfigure -Dexamples=l3fwd build The Meson build system examples\meson.build:93:4: ERROR: Problem encountered: Missing dependency "hash" for example "l3fwd" ninja fails for l2fwd: c:\dpdk>meson --reconfigure -Dexamples=l2fwd build c:\dpdk\build>ninja -v [1/18] "C:/Python38/python.exe" "../buildtools/map_to_def.py" "C:/dpdk/lib/librte_kvargs/rte_kvargs_version.map" "lib/rte_kvargs_exports.def" [2/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_debug.c.obj.rsp ../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. [3/18] clang @lib/76b5a35@@rte_kvargs@sta/librte_kvargs_rte_kvargs.c.obj.rsp [4/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_lcore.c.obj.rsp [5/18] llvm-ar "csrD" lib/librte_kvargs.a @lib/librte_kvargs.a.rsp [6/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_launch.c.obj.rsp [7/18] clang @lib/librte_kvargs-0.200.dll.rsp clang.exe: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument] LINK : warning LNK4044: unrecognized option '/-no-as-needed'; ignored Creating library lib\librte_kvargs.dll.a and object lib\librte_kvargs.dll.exp [8/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_log.c.obj.rsp [9/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_errno.c.obj.rsp [10/18] "C:\Python38\Scripts\meson" --internal symbolextractor lib/librte_kvargs-0.200.dll lib/76b5a35@@rte_kvargs@sha/librte_kvargs-0.200.dll.symbols [11/18] "C:/Python38/python.exe" "../buildtools/map_to_def.py" "C:/dpdk/lib/librte_eal/rte_eal_version.map" "lib/rte_eal_exports.def" [12/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal.c.obj.rsp [13/18] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_thread.c.obj.rsp [14/18] clang @examples/c590b3c@@dpdk-l2fwd@exe/l2fwd_main.c.obj.rsp FAILED: examples/c590b3c@@dpdk-l2fwd@exe/l2fwd_main.c.obj clang @examples/c590b3c@@dpdk-l2fwd@exe/l2fwd_main.c.obj.rsp ../examples/l2fwd/main.c:12:10: fatal error: 'netinet/in.h' file not found #include ^~~~~~~~~~~~~~ 1 error generated. Thanks for your help William