[openib-general] Dapl compilation fails (openib branch 1.0)
Vladimir Sokolovsky
vlad at mellanox.co.il
Sun Mar 5 08:48:26 PST 2006
Arlin,
I tried to compile dapl and it failed while linking libdapl.so
Please advise:
Command line:
librdmacm:
make -C src/userspace/librdmacm \
CPPFLAGS="-I../libibverbs/include" \
LDFLAGS="-L../libibverbs/src -libverbs"
dat:
make -C $(SRC)userspace/dapl/dat/udat
udapl:
make -C src/userspace/dapl/dapl/udapl \
CPPFLAGS="-I../../../libibverbs/include/infiniband
-I../../../librdmacm/include \
-I../../../libibverbs/include" \
LDFLAGS="-L../../../libibverbs/src/.libs -libverbs \
-L../../../dapl/dat/udat/Target/i686 -ldat
-L../../../librdmacm/src/.libs -lrdmacm"
.....
Linking
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Target/libdap
l.so
ld -L../../../libibverbs/src/.libs -libverbs
-L../../../dapl/dat/udat/Target/i686 -ldat
-L../../../librdmacm/src/.libs -lrdmacm /tmp/openib_gen2/last_stable
/src/userspace/dapl/dapl/udapl/Obj/dapl_init.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
create.o /tmp/openib_gen2/last_stable/
src/userspace/dapl/dapl/udapl/Obj/dapl_evd_query.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cno_
create.o /tmp/openib_gen2/last_sta
ble/src/userspace/dapl/dapl/udapl/Obj/dapl_cno_modify_agent.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cno_
free.o /tmp/openib_gen2
/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cno_wait.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cno_
query.o /tmp/openib_ge
n2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_lmr_create.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
wait.o /tmp/openib
_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_disable.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
enable.o /tmp/
openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_modif
y_cno.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
set_u
nwaitable.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
clear_unwaitable.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/u
dapl/Obj/dapl_cookie.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cr_a
ccept.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/u
dapl/Obj/dapl_cr_query.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cr_r
eject.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl
/udapl/Obj/dapl_cr_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cr_c
allback.o /tmp/openib_gen2/last_stable/src/userspace/dapl/d
apl/udapl/Obj/dapl_cr_handoff.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_c
onnect.o /tmp/openib_gen2/last_stable/src/userspace/d
apl/dapl/udapl/Obj/dapl_ep_create.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_d
isconnect.o /tmp/openib_gen2/last_stable/src/user
space/dapl/dapl/udapl/Obj/dapl_ep_dup_connect.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_f
ree.o /tmp/openib_gen2/last_stable/sr
c/userspace/dapl/dapl/udapl/Obj/dapl_ep_reset.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_g
et_status.o /tmp/openib_gen2/last_sta
ble/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_modify.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_p
ost_rdma_read.o /tmp/openib_ge
n2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_post_rdma_write
.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_p
ost_recv.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_p
ost_send.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_q
u
ery.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_u
til.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
d
equeue.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
free.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_e
vd_post_se.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
resize.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/
dapl_evd_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
cq_async_error_callb.o /tmp/openib_gen2/last_stable/src/userspace/dap
l/dapl/udapl/Obj/dapl_evd_qp_async_error_callb.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
un_async_error_callb.o /tmp/openib_g
en2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_connection_ca
llb.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_evd_
dto_cal
lb.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_get_
consumer_context.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Ob
j/dapl_get_handle_type.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_hash
.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udap
l/Obj/dapl_hca_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ia_c
lose.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/uda
pl/Obj/dapl_ia_open.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ia_q
uery.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/uda
pl/Obj/dapl_ia_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_llis
t.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/
Obj/dapl_lmr_free.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_lmr_
query.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udap
l/Obj/dapl_lmr_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_lmr_
sync_rdma_read.o /tmp/openib_gen2/last_stable/src/userspace/dap
l/dapl/udapl/Obj/dapl_lmr_sync_rdma_write.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_mr_u
til.o /tmp/openib_gen2/last_stable/src/us
erspace/dapl/dapl/udapl/Obj/dapl_provider.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_sp_u
til.o /tmp/openib_gen2/last_stable/src/us
erspace/dapl/dapl/udapl/Obj/dapl_psp_create.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_psp_
create_any.o /tmp/openib_gen2/last_stab
le/src/userspace/dapl/dapl/udapl/Obj/dapl_psp_free.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_psp_
query.o /tmp/openib_gen2/last_st
able/src/userspace/dapl/dapl/udapl/Obj/dapl_pz_create.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_pz_f
ree.o /tmp/openib_gen2/last_s
table/src/userspace/dapl/dapl/udapl/Obj/dapl_pz_query.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_pz_u
til.o /tmp/openib_gen2/last_s
table/src/userspace/dapl/dapl/udapl/Obj/dapl_rmr_create.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rmr_
free.o /tmp/openib_gen2/las
t_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rmr_bind.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rmr_
query.o /tmp/openib_gen2/l
ast_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rmr_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rsp_
create.o /tmp/openib_gen
2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rsp_free.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_rsp_
query.o /tmp/openib_g
en2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_cno_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_set_
consumer_context.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ring
_buffer_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_na
me_service.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_time
r_util.o /tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj
dapl_ep_create_with_srq.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ep_r
ecv_query.o /tmp/openib_gen2/last_stable/src/userspace/dapl
/dapl/udapl/Obj/dapl_ep_set_watermark.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_srq_
create.o /tmp/openib_gen2/last_stable/src/use
rspace/dapl/dapl/udapl/Obj/dapl_srq_free.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_srq_
query.o /tmp/openib_gen2/last_stable/src/u
serspace/dapl/dapl/udapl/Obj/dapl_srq_resize.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_srq_
post_recv.o /tmp/openib_gen2/last_stab
le/src/userspace/dapl/dapl/udapl/Obj/dapl_srq_set_lw.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_srq_
util.o /tmp/openib_gen2/last_s
table/src/userspace/dapl/dapl/udapl/Obj/dapl_debug.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_osd.
o /tmp/openib_gen2/last_stable/s
rc/userspace/dapl/dapl/udapl/Obj/dapl_ib_util.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ib_c
q.o /tmp/openib_gen2/last_stable/src/
userspace/dapl/dapl/udapl/Obj/dapl_ib_qp.o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ib_c
m.o /tmp/openib_gen2/last_stable/src/users
pace/dapl/dapl/udapl/Obj/dapl_ib_mem.o -o
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Target/libdap
l.so
ld: warning: cannot find entry symbol _start; defaulting to 08049b70
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_hash
.o(.text+0x297): In function `dapls_hash_insert':
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/../common/dap
l_hash.c:203: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_hash
.o(.text+0x325):/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/uda
pl/../common/
dapl_hash.c:224: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_hash
.o(.text+0x52f): In function `dapls_hash_search':
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/../common/dap
l_hash.c:492: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_hash
.o(.text+0x650): In function `dapls_hash_remove':
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/../common/dap
l_hash.c:527: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_osd.
o(.text+0x1f): In function `dapl_os_init':
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/../udapl/linu
x/dapl_osd.c:87: undefined reference to `pthread_atfork'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ib_c
m.o(.text+0x15c): In function `dapls_ib_connect':
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/../openib_cma
/dapl_ib_cm.c:444: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ib_c
m.o(.text+0x250):/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/ud
apl/../openib
_cma/dapl_ib_cm.c:452: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ib_c
m.o(.text+0x4de): In function `dapls_ib_setup_conn_listener':
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/../openib_cma
/dapl_ib_cm.c:575: undefined reference to `__umoddi3'
/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Obj/dapl_ib_c
m.o(.text+0x541):/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/ud
apl/../openib
_cma/dapl_ib_cm.c:587: undefined reference to `__umoddi3'
make[1]: ***
[/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl/Target/libda
pl.so] Error 1
make[1]: Leaving directory
`/tmp/openib_gen2/last_stable/src/userspace/dapl/dapl/udapl'
make: *** [dapl] Error 2
Thanks,
Best Regards,
Vladimir Sokolovsky
Software Integration Engineer
Mellanox Technologies Ltd.
Tell: +972 (4) 909-7200 ext. 338
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060305/90d7e31e/attachment.html>
More information about the general
mailing list