[ovs-discuss] OvS build (w DPDK) failed - Undefined Mellanox references

Avi Cohen (A) avi.cohen at huawei.com
Mon Feb 19 16:21:00 UTC 2018


Hi,
I build dpdk-18.02 with MLX5_PMD - ok..
Then I failed to build ovs - 2.8.1]  with dpdk and get many undefined reference for mlx
I have mellanox OFED installed

Some of the errors here :


/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_dv_init_obj':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:307: undefined reference to `mlx5dv_init_obj'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_dv_set_context_attr':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:301: undefined reference to `mlx5dv_set_context_attr'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_dv_query_device':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:294: undefined reference to `mlx5dv_query_device'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_dv_create_cq':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:287: undefined reference to `mlx5dv_create_cq'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_port_state_str':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:273: undefined reference to `ibv_port_state_str'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_get_async_event':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:267: undefined reference to `ibv_get_async_event'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_ack_async_event':
/home/avi/dpdk-18.02/drivers/net/mlx5/mlx5_glue.c:260: undefined reference to `ibv_ack_async_event'
/home/avi/dpdk-18.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx5.a(mlx5_glue.o): In function `mlx5_glue_dereg_mr':

Who can help ?
Best Regards
Avi


More information about the discuss mailing list