See attached. Thanks in case you get a chance to look into this. What are the messages with "...Failed" mean? Does "-- Missing Optional Items:" ok as it is optional? Does rxe_cfg script generated by the build? -Ganesh
Thanks in case you get a chance to look into this. What are the messages with "...Failed" mean? Does "-- Missing Optional Items:" ok as it is optional? Does rxe_cfg script generated by the build? -Ganesh --- Info start --- NOTE .../build and .../bin are populated. adminuser@xxx:~/gits/rdma-core$ ls build/lib ibacm libibacmp.so libipathverbs-rdmav17.so libmlx5.so.1 librdmacm.so.1 libbnxt_re-rdmav17.so libibumad.so libmlx4-rdmav17.so libmlx5.so.1.4.17.0 librdmacm.so.1.1.17.0 libcxgb3-rdmav17.so libibumad.so.3 libmlx4.so libmthca-rdmav17.so librspreload.so libcxgb4-rdmav17.so libibumad.so.3.0.17.0 libmlx4.so.1 libnes-rdmav17.so librxe-rdmav17.so libhfi1verbs-rdmav17.so libibverbs.so libmlx4.so.1.0.17.0 libocrdma-rdmav17.so libvmw_pvrdma-rdmav17.so libhns-rdmav17.so libibverbs.so.1 libmlx5-rdmav17.so libqedr-rdmav17.so libi40iw-rdmav17.so libibverbs.so.1.1.17.0 libmlx5.so librdmacm.so adminuser@xxx:~/gits/rdma-core$ ls build/bin cmtime ibv_devinfo ibv_xsrq_pingpong rdma-ndd rping udpong ibacm ibv_rc_pingpong iwpmd rdma_server rstream umad_compile_test ib_acme ibv_srq_pingpong mckey rdma_xclient srp_daemon umad_reg2 ibv_asyncwatch ibv_uc_pingpong rcopy rdma_xserver ucmatose umad_register2 ibv_devices ibv_ud_pingpong rdma_client riostream udaddy umad_sa_mcm_rereg_test adminuser@xxx:~/gits/rdma-core$ hostnamectl Static hostname: xxx Icon name: computer Machine ID: xxx Boot ID: xxx Operating System: Ubuntu 16.04.3 LTS Kernel: Linux 4.9.80-040980-generic Architecture: x86-64 No IB HW Installed following packages as in README: build-essential cmake gcc libudev-dev libnl-3-dev libnl-route-3-dev ninja-build pkg-config valgrind Install 16.04 Ubuntu netinstall Upgraded to latest long term stable kernel (4.9.80) (4.9.x version has the in-kernel rdma_rxe driver) >-- Performing Test HAVE_RDMA_IB_USER_VERBS_H - Failed The header file (ib_user_verbs.h), and others exist. adminuser@xxx:~/gits/rdma-core$ sudo find / -name ib_user_verbs.h [sudo] password for adminuser: /home/adminuser/gits/rdma-core/build/include/rdma/ib_user_verbs.h /usr/src/linux-headers-4.9.80-040980/include/uapi/rdma/ib_user_verbs.h /usr/src/linux-headers-4.4.0-112/include/uapi/rdma/ib_user_verbs.h /usr/include/rdma/ib_user_verbs.h --- Info end --- --- stdout start --- adminuser@wizard:~/gits/rdma-core$ bash build.sh -- The C compiler identification is GNU 5.4.0 -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Performing Test HAVE_NO_SPARSE -- Performing Test HAVE_NO_SPARSE - Success -- Performing Test HAVE_C_WARNINGS -- Performing Test HAVE_C_WARNINGS - Success -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WWRITE_STRINGS -- Performing Test HAVE_C_WWRITE_STRINGS - Success -- Performing Test HAVE_C_WFORMAT_2 -- Performing Test HAVE_C_WFORMAT_2 - Success -- Performing Test HAVE_C_WORKING_SHADOW -- Performing Test HAVE_C_WORKING_SHADOW - Success -- Performing Test HAVE_C_WORKING_MISSING_FIELD_INITIALIZERS -- Performing Test HAVE_C_WORKING_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAVE_NO_STRICT_ALIASING -- Performing Test HAVE_NO_STRICT_ALIASING - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_IFUNC -- Performing Test HAVE_FUNC_ATTRIBUTE_IFUNC - Success -- Performing Test HAS_CLOEXEC -- Performing Test HAS_CLOEXEC - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_ALWAYS_INLINE -- Performing Test HAVE_FUNC_ATTRIBUTE_ALWAYS_INLINE - Success -- Looking for stdatomic.h -- Looking for stdatomic.h - found -- Performing Test SUPPORTS_AS_NEEDED -- Performing Test SUPPORTS_AS_NEEDED - Success -- Performing Test SUPPORTS_NO_UNDEFINED -- Performing Test SUPPORTS_NO_UNDEFINED - Success -- Performing Test _LDSYMVER_SUCCESS -- Performing Test _LDSYMVER_SUCCESS - Success -- Found LDSymVer: GNU -- Found PythonInterp: /usr/bin/python (found version "2.7.12") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Checking for modules 'libnl-3.0;libnl-route-3.0' -- Found libnl-3.0, version 3.2.27 -- Found libnl-route-3.0, version 3.2.27 -- Performing Test HAVE_WORKING_IF_H -- Performing Test HAVE_WORKING_IF_H - Success -- Found UDev: /usr/lib/x86_64-linux-gnu/libudev.so -- Check size of long -- Check size of long - done -- Performing Test HAVE_RDMA_IB_USER_VERBS_H -- Performing Test HAVE_RDMA_IB_USER_VERBS_H - Failed -- Performing Test HAVE_RDMA_IB_USER_SA_H -- Performing Test HAVE_RDMA_IB_USER_SA_H - Success -- Performing Test HAVE_RDMA_IB_USER_CM_H -- Performing Test HAVE_RDMA_IB_USER_CM_H - Success -- Performing Test HAVE_RDMA_HFI_HFI1_IOCTL_H -- Performing Test HAVE_RDMA_HFI_HFI1_IOCTL_H - Failed -- Performing Test HAVE_RDMA_RDMA_USER_IOCTL_H -- Performing Test HAVE_RDMA_RDMA_USER_IOCTL_H - Failed -- Performing Test HAVE_RDMA_IB_USER_MAD_H -- Performing Test HAVE_RDMA_IB_USER_MAD_H - Success -- Performing Test HAVE_RDMA_RDMA_NETLINK_H -- Performing Test HAVE_RDMA_RDMA_NETLINK_H - Failed -- Performing Test HAVE_RDMA_RDMA_USER_CM_H -- Performing Test HAVE_RDMA_RDMA_USER_CM_H - Success -- Performing Test HAVE_RDMA_RDMA_USER_RXE_H -- Performing Test HAVE_RDMA_RDMA_USER_RXE_H - Failed -- Performing Test HAVE_RDMA_VMW_PVRDMA-ABI_H -- Performing Test HAVE_RDMA_VMW_PVRDMA-ABI_H - Failed -- Performing Test HAVE_COHERENT_DMA -- Performing Test HAVE_COHERENT_DMA - Success -- Found Systemd: /usr/lib/x86_64-linux-gnu/libsystemd.so -- Looking for valgrind/memcheck.h -- Looking for valgrind/memcheck.h - found -- Looking for valgrind/drd.h -- Looking for valgrind/drd.h - found -- Performing Test LIBC_HAS_LIBRT -- Performing Test LIBC_HAS_LIBRT - Success -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_C_WOLD_STYLE_DEFINITION -- Performing Test HAVE_C_WOLD_STYLE_DEFINITION - Success -- Performing Test HAVE_C_WREDUNDANT_DECLS -- Performing Test HAVE_C_WREDUNDANT_DECLS - Success -- Missing Optional Items: -- rdma/ib_user_verbs.h NOT found (old system kernel headers) -- rdma/rdma_netlink.h NOT found (old system kernel headers) -- rdma/rdma_user_rxe.h NOT found (old system kernel headers) -- rdma/vmw_pvrdma-abi.h NOT found (old system kernel headers) -- Configuring done -- Generating done -- Build files have been written to: /home/adminuser/gits/rdma-core/build [188/188] Linking C shared module lib/libibacmp.so --- stdout end ---