From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 48A8C5F34 for ; Thu, 19 Apr 2018 10:25:19 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id z73-v6so11601107wrb.0 for ; Thu, 19 Apr 2018 01:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=CRE0Y8LIqdRiI3Un0gayrMcnw+UWXoSU+jTIrQusyNw=; b=fTEbmNsUSLQOhwIrWJjhasCUc9/Z+s2YzZy+G0Qtw1STcK6D1IwpXlS4w0e2TXLl2m 0w8K1d4L0BrTytk3sdju7xzVANo59s/f42Q6rhQbo2PAVLLeQySsS9va6AzwvPAYW//R iOSr5SRo+cZXvg7Pqdxd9kwbSvpGXrrxULg1ciZ2Ruz5tNfqo0bqbeIwXsxoCxxJdQdH nSIAZhQd0IMvSXC8lEZbwuPV6vpjHuoQPtTJuiiB6Pl1Nry/uMRg6X+g6ioLLBjPiwbB C5fckWUJx1DM6Vx/HOZOa5DeuKTN1x7HmnTByKfw19OZLB3Nq2eYvpchCjQpqKF40AgU pJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=CRE0Y8LIqdRiI3Un0gayrMcnw+UWXoSU+jTIrQusyNw=; b=FuKge44I5KoBvrFkCJ3a66oMXbu4dzhraCu5Rl7Bt5Mje28jgL4kH2ani4o/hJ2f57 QEGvM7WAtggT2Yp686lKUe1C92NpwvXEeBIuxrw+MfvvzzxG4Zqi2Ak1y0ayYEvv7cmB NnZ0sp1F5Co9FPYClVjNeVwC3hLYgtNFRgLiai3IWmWnyFA0v2d4+HkFQgAHQ7pMTFa5 iWuzEEXFrTsQaXnKjucTboXCB+Be5ruB5mmNu7Svc70jhwqSrvKfZURXkScuikoIhJIP ++puhIWahtsWshL6/L8c9px1EQ4Hwei7soAtwficqq1ErrQcnrLuEr8hnPh3KgH5eFvN pN8Q== X-Gm-Message-State: ALQs6tBzgZZCgg154FCEHB5DKvKciT7rHQKnw0ZVVPLvkoQmTwiecZk9 k5qPSNkgs6KzvsAh6xFpbg7qTw4yqQ== X-Google-Smtp-Source: AIpwx4/fT8UmSzElPOUidah1/asXAvhL8KT/9lJP5+lCUMi2ctu/Ymi0nfVCmhrGyjS/i+/mTWEv2g== X-Received: by 2002:adf:87d4:: with SMTP id c20-v6mr4087344wrc.197.1524126318901; Thu, 19 Apr 2018 01:25:18 -0700 (PDT) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id d28-v6sm2796962wra.37.2018.04.19.01.25.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Apr 2018 01:25:18 -0700 (PDT) Date: Thu, 19 Apr 2018 10:25:55 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: =?iso-8859-1?Q?Andr=E9s_Pozo_Mu=F1oz?= Cc: users@dpdk.org Message-ID: <20180419082555.vt5dyhvtkqzbozws@laranjeiro-vm.dev.6wind.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 options X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 08:25:19 -0000 On Wed, Apr 18, 2018 at 08:15:28PM +0200, Andrés Pozo Muñoz wrote: > Hi all, > > I'm trying to build DPDK (tried with 17.11 and 18.02) on Ubuntu 16.04, > with MLX5 support and I'm getting some compilation errors. > The sequence of commands I follow: > > root@olnmalp026Bn001:/usr/src# uname -a > Linux olnmalp026Bn001 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 > 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux > root@olnmalp026Bn001:/usr/src# wget > http://dpdk.org/browse/dpdk/snapshot/dpdk-18.02-rc4.tar.gz > --2018-04-18 20:04:17-- > http://dpdk.org/browse/dpdk/snapshot/dpdk-18.02-rc4.tar.gz > Resolving dpdk.org (dpdk.org)... 92.243.14.124 > Connecting to dpdk.org (dpdk.org)|92.243.14.124|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [application/x-gzip] > Saving to: ‘dpdk-18.02-rc4.tar.gz’ > > dpdk-18.02-rc4.tar.gz [ <=> > > ] 12.45M 4.20MB/s in 3.0s > > 2018-04-18 20:04:20 (4.20 MB/s) - ‘dpdk-18.02-rc4.tar.gz’ saved [13059456] > > root@olnmalp026Bn001:/usr/src# tar xvfz dpdk-18.02-rc4.tar.gz > .... > > root@olnmalp026Bn001:/usr/src# export DPDK_DIR=/usr/src/dpdk-18.02-rc4 > root@olnmalp026Bn001:/usr/src# cd $DPDK_DIR > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# export > DPDK_TARGET=x86_64-native-linuxapp-gcc > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# export > DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# sed -i > 's/\(CONFIG_RTE_LIBRTE_MLX5_PMD=\)n/\1y/g' > $DPDK_DIR/config/common_base > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# sed -i > 's/\(CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=\)n/\1y/g' > $DPDK_DIR/config/common_base > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# grep MLX5 > $DPDK_DIR/config/common_base > # Compile burst-oriented Mellanox ConnectX-4 & ConnectX-5 (MLX5) PMD > CONFIG_RTE_LIBRTE_MLX5_PMD=y > CONFIG_RTE_LIBRTE_MLX5_DEBUG=n > CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=y > CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=8 > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# make -j install > T=$DPDK_TARGET DESTDIR=install > Configuration done using x86_64-native-linuxapp-gcc > == Build lib > == Build lib/librte_compat > == Build lib/librte_eal > == Build lib/librte_cfgfile > == Build lib/librte_eal/common > SYMLINK-FILE include/rte_compat.h > In file included from /usr/src/dpdk-18.02-rc4/drivers/net/mlx5/mlx5.c:42:0: > /usr/src/dpdk-18.02-rc4/drivers/net/mlx5/mlx5_glue.h:64:11: warning: > ‘struct ibv_rwq_ind_table_init_attr’ declared inside parameter list > struct ibv_rwq_ind_table_init_attr *init_attr); >[...] > > > > Complete log here -> https://pastebin.com/5gSuV3PV > > Is there any problem with those DPDK versions in Ubuntu 16.04? > Has anyone experienced similar problems? > > > Thank you very much in advance! > Regards, > Andrés Hi, Seems you do not have the 3rd party libraries installed. Please take a look at [1] first, Regards, [1] https://dpdk.org/doc/guides/nics/mlx5.html -- Nélio Laranjeiro 6WIND