[openib-general] [DAPL] latest DAPL cannot be compiled with the latest librdmacm

Dotan Barak dotanb at mellanox.co.il
Wed May 10 06:52:26 PDT 2006


Hi.

The latest DAPL cannot be compiled with the latest librdmacm after an API change in the librdmacm.


Driver: openib_gen2-20060510-1209 (REV=7038)
kernel: 2.6.9-22.ELsmp
Arch: x86_64

gcc -DHAVE_CONFIG_H -I. -I. -I. -I../libibverbs/include/infiniband -I../librdmacm/include -I../libibverbs/include -Wall -g -D_GNU_SOURCE -D
REDHAT_EL4 -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_cma -g -O2 -MT
dapl_udapl_libdaplcma_la-dapl_ib_util.lo -MD -MP -MF .deps/dapl_udapl_libdaplcma_la-dapl_ib_util.Tpo -c dapl/openib_cma/dapl_ib_util.c  -fPI
C -DPIC -o .libs/dapl_udapl_libdaplcma_la-dapl_ib_util.o
dapl/openib_cma/dapl_ib_util.c: In function `dapls_ib_open_hca':
dapl/openib_cma/dapl_ib_util.c:229: warning: passing arg 1 of `rdma_create_id' from incompatible pointer type
dapl/openib_cma/dapl_ib_util.c:229: error: too few arguments to function `rdma_create_id'
dapl/openib_cma/dapl_ib_util.c: In function `dapli_ib_thread_init':
dapl/openib_cma/dapl_ib_util.c:554: warning: implicit declaration of function `rdma_get_fd'


Not only the DPAL cannot be compiled,  the examples that comes with the DAPL that uses the librdmacm need to be updated too.

thanks
Dotan



More information about the general mailing list