Mellanox OFED 4.5 patch for BeeGFS 7.1.2


When trying to build the BeeGFS client kernel module with Mellanox OFED 4.5 drivers, the following error is displayed:
# /etc/init.d/beegfs-client rebuild
- BeeGFS module autobuild
Building beegfs client module
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/ibv/IBVSocket.c: In function \u2018__IBVSocket_createCompletionQueue\u2019:
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/ibv/IBVSocket.c:1821:82: error: macro "ib_create_cq" passed 6 arguments, but takes just 5
       return ib_create_cq(device, comp_handler, event_handler, cq_context, cqe, 0);
                                                                                  ^
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/ibv/IBVSocket.c:1821:14: error: \u2018ib_create_cq\u2019 undeclared (first use in this function)
       return ib_create_cq(device, comp_handler, event_handler, cq_context, cqe, 0);
              ^
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/ibv/IBVSocket.c:1821:14: note: each undeclared identifier is reported only once for each function it appears in
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/ibv/IBVSocket.c:1823:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[3]: *** [/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/ibv/IBVSocket.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/opt/beegfs/src/client/client_module_7/build/../source] Error 2
make[1]: *** [module] Error 2
make: *** [auto_rebuild] Error 2



If you see this error, please install the patch that can be downloaded here or by using the command line. Please check the autobuild file (/etc/beegfs/beegfs-client-autobuild.conf) that the 'buildArgs' is set to use OFED.

In order to apply that patch please follow these instructions:
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki