Closed starnullptr closed 4 years ago
@anubhavguleria47 not sure, but I updated the branch, please try now
@leonidravich sure. I will try and let you know.
Also, is it possible to run build rdma-core in-place and use it with ntrdma? If so, can you please let me know the steps for this ?
Thanks, Anubhav
@leonidravich I tried, it's still the same error. What changes have you made ?
@leonidravich I was able to use rdma-core in-place with ntrdma. Thanks.
@anubhavguleria47 great please share what was the solution maybe it will help to others
@lravich for 4.14 kernel and with current ntrdma code I didn't need to make any changes.
Hi, Using the rdma-core code present at https://github.com/ntrdma/rdma-core, I tried building package for Ubuntu. However, the cbuild pkg ubuntu fails with following error:
[106/393] /usr/bin/cc -D_STATIC_LIBRARYBUILD=1 -Iinclude -I/usr/include/libnl3 -g -O2 -fdebug-prefix-map=/home/root/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -std=gnu11 -MD -MT libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o -MF libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o.d -o libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o -c ../libibverbs/all_providers.c FAILED: libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o /usr/bin/cc -D_STATIC_LIBRARYBUILD=1 -Iinclude -I/usr/include/libnl3 -g -O2 -fdebug-prefix-map=/home/root/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -std=gnu11 -MD -MT libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o -MF libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o.d -o libibverbs/CMakeFiles/ibverbs-static.dir/all_providers.c.o -c ../libibverbs/all_providers.c ../libibverbs/all_providers.c:43:26: error: 'verbs_provider_ntrdma' undeclared here (not in a function); did you mean 'verbs_provider_ocrdma'? #define FOR_PROVIDER(x) &verbsprovider ## x, ^ include/infiniband/all_providers.h:1:271: note: in expansion of macro 'FOR_PROVIDER' #define FOR_EACH_PROVIDER() FOR_PROVIDER(bnxt_re) FOR_PROVIDER(cxgb3) FOR_PROVIDER(cxgb4) FOR_PROVIDER(hns) FOR_PROVIDER(i40iw) FOR_PROVIDER(mlx4) FOR_PROVIDER(mlx5) FOR_PROVIDER(mthca) FOR_PROVIDER(nes) FOR_PROVIDER(ocrdma) FOR_PROVIDER(qedr) FOR_PROVIDER(vmw_pvrdma) FOR_PROVIDER(ntrdma) FOR_PROVIDER(hfi1verbs) FOR_PROVIDER(ipathverbs) FOR_PROVIDER(rxe) ^
~~~ ../libibverbs/all_providers.c:45:2: note: in expansion of macro 'FOR_EACH_PROVIDER' FOR_EACH_PROVIDER() ^~~~~What am I missing here ? @leonidravich can you help me understand/resolve this issue.