我正在尝试在 gentoo 上构建 Mellanox 的高速网络库 libvma
http://code.google.com/p/libvma/
但是我不断收到此错误
In file included from ../../src/vma/util/sys_vars.h:24:0,
from ../../src/vma/util/utils.h:22,
from vlogger.cpp:25:
../../src/vma/util/verbs_extra.h: In function 'void ibv_flow_spec_ib_set_by_dst_gid(vma_ibv_flow_spec_ib*, uint8_t*)':
../../src/vma/util/verbs_extra.h:151:4: error: invalid use of incomplete type 'vma_ibv_flow_spec_ib {aka struct ibv_flow_spec_ib}'
../../src/vma/util/verbs_extra.h:110:16: error: forward declaration of 'vma_ibv_flow_spec_ib {aka struct ibv_flow_spec_ib}'
../../src/vma/util/verbs_extra.h:151:13: error: 'IBV_FLOW_SPEC_IB' was not declared in this scope*
似乎应该在 /usr/include/infiniband/verbs.H 文件中声明结构 IBV_FLOW*。然而,他们似乎在那里失踪。谁能帮我解决这个问题?