[Pvfs2-developers] Re: compile error w/ openIB
pw at osc.edu
Sun Jan 21 15:55:36 EST 2007
kschoche at scl.ameslab.gov wrote on Sat, 20 Jan 2007 22:55 -0600:
> I ran across a compiling issue with OpenIB from latest CVS HEAD...
> I didnt make a patch because its a one line fix, but I get the following
> error from building IB from CVS HEAD:
> src/io/bmi/bmi_ib/ib.c: In function 'post_send':
> src/io/bmi/bmi_ib/ib.c:826: warning: format "%zu" expects type "size_t",
> but argument 6 has type "bmi_size_t"
> src/io/bmi/bmi_ib/ib.c: In function "ib_tcp_server_check_new_connections":
> src/io/bmi/bmi_ib/ib.c:1804: error: label "out_unlock" used but not defined
> make: *** [src/io/bmi/bmi_ib/ib.o] Error 1
> I'm not sure about the warning, I havent looked at it.
Oh, bmi_size_t is signed apparently. Not sure why I did not notice
this before. I'll change it as follows. Thanks.
debug(2, "%s: sq %p len %lld peer %s", __func__, sq, (long long) total_size,
> but the fix for ib.c:1804 is to add "out_unlock:" on line 1816 of ib.c
> I think that is what was intended, Pete?
My version compiles and claims not to be any different from head.
Line 1817 has the label.
More information about the Pvfs2-developers