From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 738DB42A0B; Thu, 27 Apr 2023 01:33:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F57D40F18; Thu, 27 Apr 2023 01:33:22 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id 7C28840E0F for ; Thu, 27 Apr 2023 01:33:21 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-63b51fd2972so6087334b3a.3 for ; Wed, 26 Apr 2023 16:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1682552000; x=1685144000; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=WDUY5o2h9Y+NOsPxQDVHAzoJzgg8r4aM7QK1vukS2ac=; b=FjTsDfH/QRzCdQWMPkwh3IuMWSZSSaaJLuiV+HRuzgdtp1Jt/JKiEv5W4Ce/C6iUWM yket6LAVjMQeVovmal/qmd2KVNN5oXGPmduSq6S5Yr6kN/EFYm8XOqLTc+1zaWEDZ7qT o/ETUV6cGBpgdjlQ/0GDttsYA26Em7bJ4R+YHL2pxDKjhuh+rTBf9PRW5wbQ4Q73Lnm1 y5jR5YYyLcfsEUhvX0K3q7LXwU/thzyZi96L1XJnITsk8jPaSC5Txrkf87c1EGJIE226 dgnlX09dlDb2ONcmYMmVz+ibetioivTQBMUuKvobXt/ahG0/3KeCBPxBSjWzI8pkW4Wq acdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682552000; x=1685144000; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WDUY5o2h9Y+NOsPxQDVHAzoJzgg8r4aM7QK1vukS2ac=; b=V+7v3VMyFuYiSbCYQuBQjpRBk55s3WNE8OOk1CFgbytKKbOGxa+IURIwR9h3nSBD/4 6bAJ3Vv8T9R0VWZ0ZZ1ie/wZccguB2kBz+AT0jPda9IhSK1zDA/Gs/47NPpKi4mEI/M4 yTXG2u56SvDw84ut1Sxrp1rXzQAcCLp28fsL0Z8xu3P5Zk6GdLGPwiyvvIW0UF8dnAup zLA7cYGTT+YlOVGyS32LyvjeGvdoKIyfSWKm2F2n36XQ/E86Xjdj0t0NvsNfJHzXJhTh ePoXmQEOXPlszwvSg5z4tV7/7YPILi19BnizDhVVzL7qBEl+LrYx6VzTa4nytzx7t9OI G6+A== X-Gm-Message-State: AAQBX9dljb7JcLhBR2lwb5mBL04/jNOS3mky5xvbgFDcqQ/vrD7fefkb AMJrCs5IH+Zst4XDm6EBmt+/5Q== X-Google-Smtp-Source: AKy350Y4YXLDQklheof2wjnmzXoRImWowcB5OSnW7q+e+8dR2AQB2dLggaV8jzQI/eIAhs/ad2Td0g== X-Received: by 2002:a05:6a00:2e19:b0:62d:cfd4:e440 with SMTP id fc25-20020a056a002e1900b0062dcfd4e440mr30143816pfb.8.1682552000536; Wed, 26 Apr 2023 16:33:20 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y21-20020aa78555000000b006242f4a8945sm11791318pfn.182.2023.04.26.16.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 16:33:20 -0700 (PDT) Date: Wed, 26 Apr 2023 16:33:18 -0700 From: Stephen Hemminger To: Chinmaya Agarwal Cc: "dev@dpdk.org" Subject: Re: Error while compiling DPDK with VPP 23.02 Message-ID: <20230426163318.516c8abd@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 26 Apr 2023 08:03:43 +0000 Chinmaya Agarwal wrote: > Hi, > > While compiling DPDK for VPP v23.02 on Centos 8, we saw below compilation error:- > > In file included from ../src-dpdk/drivers/common/mlx5/mlx5_common_mr.c:14: > ../src-dpdk/drivers/common/mlx5/linux/mlx5_glue.h:15:10: fatal error: infiniband/mlx5dv.h: No such file or directory > #include > ^~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > ninja: build stopped: subcommand failed. > Could not rebuild . > make[3]: *** [packages/dpdk.mk:218: /opt/vpp/build/external/rpm/tmp/.dpdk.install.ok] Error 255 > make[3]: Leaving directory '/opt/vpp/build/external' > error: Bad exit status from /var/tmp/rpm-tmp.whpNsT (%install) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.whpNsT (%install) > make[2]: *** [Makefile:113: vpp-ext-deps-23.02-8.x86_64.rpm] Error 1 > make[2]: Leaving directory '/opt/vpp/build/external' > make[1]: *** [Makefile:125: install-rpm] Error 2 > make[1]: Leaving directory '/opt/vpp/build/external' > make: *** [Makefile:627: install-ext-deps] Error 2 > > It is not able to find "infiniband/mlx5dv.h". > > What could be the reason for this error? Any package that might be missing and needs to install or are we missing something here? > Probably same package requirements as normal DPDK support for Mellanox. https://doc.dpdk.org/guides/platform/mlx5.html#mlx5-common-compilation