From: "Wu, Xiaoban" <Xiaoban_Wu@student.uml.edu>
To: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>,
"Andrés Pozo Muñoz" <andres.pozom@gmail.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 options
Date: Thu, 19 Apr 2018 14:12:08 +0000 [thread overview]
Message-ID: <DM5PR02MB25230FD86A34E65E1E3119E2BCB50@DM5PR02MB2523.namprd02.prod.outlook.com> (raw)
In-Reply-To: <20180419082555.vt5dyhvtkqzbozws@laranjeiro-vm.dev.6wind.com>
Hi,
I also encountered a similar problem yesterday with dpdk-17.11 on ubuntu 16.04. I checked my old email from this mailing list, I found a successful solution by reinstall the latest "mlnxofed" by "./mlnxofedinstall --upstream-libs --dpdk"
Then you can try to install the dpdk-18.02 and see if it works. Hopefully, this will help you.
Best wishes,
Xiaoban
________________________________
From: users <users-bounces@dpdk.org> on behalf of Nélio Laranjeiro <nelio.laranjeiro@6wind.com>
Sent: Thursday, April 19, 2018 4:25:55 AM
To: Andrés Pozo Muñoz
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 options
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
prev parent reply other threads:[~2018-04-19 14:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 18:15 Andrés Pozo Muñoz
2018-04-19 8:25 ` Nélio Laranjeiro
2018-04-19 14:12 ` Wu, Xiaoban [this message]
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=DM5PR02MB25230FD86A34E65E1E3119E2BCB50@DM5PR02MB2523.namprd02.prod.outlook.com \
--to=xiaoban_wu@student.uml.edu \
--cc=andres.pozom@gmail.com \
--cc=nelio.laranjeiro@6wind.com \
--cc=users@dpdk.org \
/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).