[openib-general] [PATCH] cmpost: allow cmpost to build with latest RDMA CM
Sean Hefty
mshefty at ichips.intel.com
Wed Aug 16 09:33:05 PDT 2006
Bub Thomas wrote:
> cmpost.c:65: error: field `path_rec' has incomplete type
> cmpost.c: In function `int modify_to_rtr(cmtest_node*)':
> cmpost.c:130: error: invalid conversion from `int' to `ibv_qp_attr_mask'
> cmpost.c:130: error: initializing argument 3 of `int
> ibv_modify_qp(ibv_qp*, ibv_qp_attr*, ibv_qp_attr_mask)'
> cmpost.c:142: error: invalid conversion from `int' to `ibv_qp_attr_mask'
> cmpost.c:142: error: initializing argument 3 of `int
> ibv_modify_qp(ibv_qp*, ibv_qp_attr*, ibv_qp_attr_mask)'
> cmpost.c: In function `int modify_to_rts(cmtest_node*)':
> cmpost.c:161: error: invalid conversion from `int' to `ibv_qp_attr_mask'
> cmpost.c:161: error: initializing argument 3 of `int
> ibv_modify_qp(ibv_qp*, ibv_qp_attr*, ibv_qp_attr_mask)'
> cmpost.c: In function `void cm_handler(ib_cm_id*, ib_cm_event*)':
> cmpost.c:267: error: invalid conversion from `void*' to `cmtest_node*'
> cmpost.c: In function `int create_nodes()':
> cmpost.c:353: error: invalid conversion from `void*' to `cmtest_node*'
> cmpost.c: In function `int query_for_path(char*)':
> cmpost.c:631: error: `RDMA_PS_TCP' undeclared (first use this function)
> cmpost.c:631: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
> cmpost.c:657: error: 'struct cmtest' has no member named 'path_rec'
> cmpost.c:657: error: invalid use of undefined type `struct
> ibv_sa_path_rec'
> /vob/pkgs/sys/linux-include/rdma/rdma_cma.h:84: error: forward
> declaration of `struct ibv_sa_path_rec'
> cmpost.c: In function `void run_client(char*)':
> cmpost.c:678: error: 'struct cmtest' has no member named 'path_rec'
> *** Error code 1
> clearmake: Error: Build script failed for "cmpost.o"
Some of these look like missing include files. Are libibverbs and librdmacm
installed?
- Sean
More information about the general
mailing list