cornelisnetworks / opa-psm2

Other
37 stars 29 forks source link

library does not build #8

Closed shefty closed 7 years ago

shefty commented 7 years ago

Attempting to build the psm2 library:

In file included from ../include/opa_user.h:85:0, from opa_proto.c:76: opa_proto.c: In function âhfi_userinitâ: opa_proto.c:114:30: error: âstruct hfi1_user_infoâ has no member named âhfi1_al â uinfo->userversion, uinfo->hfi1_alg, ^ ../include/opa_udebug.h:102:13: note: in definition of macro â__HFI_DBG_WHICHâ

__VA_ARGS__); \

         ^

opa_proto.c:113:2: note: in expansion of macro â_HFI_VDBGâ _HFI_VDBG("uinfo: ver %x, alg %d, subc_cnt %d, subc_id %d\n", ^

The issue is that kernel changes were made that broke applications. The 4.3 version of the kernel contained this field struct hfi1_user_info::hfi1_alg. However, this field was removed in version 4.7.