From: Kevin Wilson <wkevils@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree
Date: Sat, 16 Jul 2016 19:38:50 +0300 [thread overview]
Message-ID: <CAGXs5wVyL25J-ot_O_+rE83NcaGm_nFT7AaYVw5u==TnKskeAg@mail.gmail.com> (raw)
Hello,
I had tried to build the connectx-3 driver with latest git tree and
it fails with
...
...
== Build drivers/net/mlx4
CC mlx4.o
/work/down/temp/dpdk/drivers/net/mlx4/mlx4.c: In function ‘txq_cleanup’:
/work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1106:37: error: storage
size of ‘params’ isn’t known
struct ibv_exp_release_intf_params params;
^
/work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:4: error: unknown
field ‘comp_mask’ specified in initializer
.comp_mask = 0,
^
/work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:17: error: excess
elements in struct initializer [-Werror]
.comp_mask = 0,
^
/work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:17: note: (near
initialization for ‘(anonymous)’)
/work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1117:3: error: invalid
use of undefined type ‘struct ibv_exp_release_intf_params’
};
The steps that I took is (after clonning the dpdk tree) are:
make config T=x86_64-native-linuxapp-gcc
sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config
Then make
Then edited build/.config and set:
CONFIG_RTE_LIBRTE_MLX4_PMD=y
and then make.
Any ideas?
regards,
Kevin
next reply other threads:[~2016-07-16 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 16:38 Kevin Wilson [this message]
2016-07-18 6:26 ` Nélio Laranjeiro
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='CAGXs5wVyL25J-ot_O_+rE83NcaGm_nFT7AaYVw5u==TnKskeAg@mail.gmail.com' \
--to=wkevils@gmail.com \
--cc=dev@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).