[dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree
Kevin Wilson
wkevils at gmail.com
Sat Jul 16 18:38:50 CEST 2016
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
More information about the dev
mailing list