I am installing drivers MLNX_OFED_LINUX-2.0-3.0.0-rhel
mlnx_add_kernel_support will select the correct distribution:
redhat-release*-6.4*|centos-release-6-4*|sl-release-6.4*) | |
distro=rhel6.4 |
The script errors when preforming the rpmbuild.
the following errors are generated in the ofa_kernel.rpmbuild.log:
In file included from /tmp/mlnx_iso.10617/OFED_topdir/BUILD/ofa_kernel-2.0/include/linux/compat-2.6.h:57,
from <command-line>:0:
/tmp/mlnx_iso.10617/OFED_topdir/BUILD/ofa_kernel-2.0/include/linux/compat-2.6.34.h:183: error: redefinition of 'device_lock'
include/linux/device.h:475: note: previous definition of 'device_lock' was here
/tmp/mlnx_iso.10617/OFED_topdir/BUILD/ofa_kernel-2.0/include/linux/compat-2.6.34.h:192: error: redefinition of 'device_trylock'
include/linux/device.h:480: note: previous definition of 'device_trylock' was here
/tmp/mlnx_iso.10617/OFED_topdir/BUILD/ofa_kernel-2.0/include/linux/compat-2.6.34.h:201: error: redefinition of 'device_unlock'
include/linux/device.h:485: note: previous definition of 'device_unlock' was here
similar errors are repeated for compat-2.6.36.h, compat-2.6.37.h, compat-2.6.39.h, compat-3.3.h, 3.5, 3.6 & 3.7.
Am I correct in assuming Scientific Linux 6.4, like CentOS is compatible with the Mellanox install scripts ?