Hi Nicolas, stable-v16 branch doesn't compile on Fedora 28
-- Missing Optional Items: -- Configuring done -- Generating done -- Build files have been written to: /images/src/rdma-core/build [1/30] Creating library symlink lib/libmlx5.so.1 lib/libmlx5.so [2/30] Creating library symlink lib/libmlx4.so.1 lib/libmlx4.so [3/30] Linking C static library librdmacm/examples/librdmacm_tools.a [4/30] Linking C executable bin/ibv_xsrq_pingpong [5/30] Linking C shared module lib/librspreload.so [6/30] Linking C executable bin/rdma_client [7/30] Linking C executable bin/ibv_devinfo [8/30] Linking C executable bin/rdma_xserver [9/30] Linking C executable bin/ibv_devices [10/30] Linking C executable bin/rdma_xclient [11/30] Linking C executable bin/ibv_uc_pingpong [12/30] Linking C executable bin/rdma_server [13/30] Linking C executable bin/mckey [14/30] Linking C executable bin/ibv_rc_pingpong [15/30] Linking C executable bin/cmpost [16/30] Linking C executable bin/ibv_srq_pingpong [17/30] Linking C executable bin/ibv_ud_pingpong [18/30] Linking C executable bin/rcopy [19/30] Linking C executable bin/rping [20/30] Linking C executable bin/srp_daemon [21/30] Linking C executable bin/cmtime [22/30] Linking C executable bin/ucmatose [23/30] Linking C executable bin/udpong [24/30] Linking C executable bin/riostream [25/30] Linking C executable bin/rstream [26/30] Linking C executable bin/udaddy [27/30] Building C object providers/rxe/CMakeFiles/rxe-rdmav16.dir/rxe.c.o FAILED: providers/rxe/CMakeFiles/rxe-rdmav16.dir/rxe.c.o /usr/local/bin/cc -Drxe_rdmav16_EXPORTS -Iinclude -I/usr/include/libnl3 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O2 -g -DNDEBUG -fPIC -std=gnu11 -MD -MT providers/rxe/CMakeFiles/rxe-rdmav16.dir/rxe.c.o -MF providers/rxe/CMakeFiles/rxe-rdmav16.dir/rxe.c.o.d -o providers/rxe/CMakeFiles/rxe-rdmav16.dir/rxe.c.o -c ../providers/rxe/rxe.c In file included from ../providers/rxe/rxe.h:42:0, from ../providers/rxe/rxe.c:57: /usr/include/rdma/rdma_user_rxe.h:156:8: error: redefinition of 'struct rxe_create_cq_resp' struct rxe_create_cq_resp { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.c:56:0: ../providers/rxe/rxe-abi.h:51:8: note: originally defined here struct rxe_create_cq_resp { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.h:42:0, from ../providers/rxe/rxe.c:57: /usr/include/rdma/rdma_user_rxe.h:160:8: error: redefinition of 'struct rxe_resize_cq_resp' struct rxe_resize_cq_resp { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.c:56:0: ../providers/rxe/rxe-abi.h:56:8: note: originally defined here struct rxe_resize_cq_resp { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.h:42:0, from ../providers/rxe/rxe.c:57: /usr/include/rdma/rdma_user_rxe.h:164:8: error: redefinition of 'struct rxe_create_qp_resp' struct rxe_create_qp_resp { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.c:56:0: ../providers/rxe/rxe-abi.h:61:8: note: originally defined here struct rxe_create_qp_resp { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.h:42:0, from ../providers/rxe/rxe.c:57: /usr/include/rdma/rdma_user_rxe.h:169:8: error: redefinition of 'struct rxe_create_srq_resp' struct rxe_create_srq_resp { ^~~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.c:56:0: ../providers/rxe/rxe-abi.h:67:8: note: originally defined here struct rxe_create_srq_resp { ^~~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.h:42:0, from ../providers/rxe/rxe.c:57: /usr/include/rdma/rdma_user_rxe.h:175:8: error: redefinition of 'struct rxe_modify_srq_cmd' struct rxe_modify_srq_cmd { ^~~~~~~~~~~~~~~~~~ In file included from ../providers/rxe/rxe.c:56:0: ../providers/rxe/rxe-abi.h:74:8: note: originally defined here struct rxe_modify_srq_cmd { ^~~~~~~~~~~~~~~~~~ ../providers/rxe/rxe.c: In function 'rxe_create_cq': ../providers/rxe/rxe.c:176:10: error: 'struct rxe_create_cq_resp' has no member named 'ibv_resp' &resp.ibv_resp, sizeof resp); ^ ../providers/rxe/rxe.c:190:16: error: incompatible types when assigning to type 'struct mmap_info' from type 'struct mminfo' cq->mmap_info = resp.mi; ^ ../providers/rxe/rxe.c: In function 'rxe_resize_cq': ../providers/rxe/rxe.c:206:10: error: 'struct rxe_resize_cq_resp' has no member named 'ibv_resp' &resp.ibv_resp, sizeof resp); ^ ../providers/rxe/rxe.c:227:16: error: incompatible types when assigning to type 'struct mmap_info' from type 'struct mminfo' cq->mmap_info = resp.mi; ^ ../providers/rxe/rxe.c: In function 'rxe_create_srq': ../providers/rxe/rxe.c:286:11: error: 'struct rxe_create_srq_resp' has no member named 'ibv_resp' &resp.ibv_resp, sizeof resp); ^ ../providers/rxe/rxe.c:301:17: error: incompatible types when assigning to type 'struct mmap_info' from type 'struct mminfo' srq->mmap_info = resp.mi; ^ ../providers/rxe/rxe.c: In function 'rxe_modify_srq': ../providers/rxe/rxe.c:324:9: error: 'struct rxe_modify_srq_cmd' has no member named 'ibv_cmd' &cmd.ibv_cmd, sizeof cmd); ^ ../providers/rxe/rxe.c: In function 'rxe_create_qp': ../providers/rxe/rxe.c:453:10: error: 'struct rxe_create_qp_resp' has no member named 'ibv_resp' &resp.ibv_resp, sizeof resp); ^ ../providers/rxe/rxe.c:474:20: error: incompatible types when assigning to type 'struct mmap_info' from type 'struct mminfo' qp->rq_mmap_info = resp.rq_mi; ^ ../providers/rxe/rxe.c:491:19: error: incompatible types when assigning to type 'struct mmap_info' from type 'struct mminfo' qp->sq_mmap_info = resp.sq_mi; ^ [28/30] Building C object ibacm/CMakeFiles/ibacmp.dir/prov/acmp/src/acmp.c.o ninja: build stopped: subcommand failed.
Attachment:
signature.asc
Description: PGP signature