Adding kernel support error

Greetings. I have been trying to add kernel support by running the following:

sudo ./mlnx_add_kernel_support.sh -m /local/MLNX_OFED_LINUX-2.3-1.0.1-rhel6.5-x86_64/ --make-tgz -t /local/tmp

It seems to start off fine but eventually, I get this error:

ERROR: Failed executing "MLNX_OFED_SRC-2.3-1.0.0/install.pl -c /local/tmp/mlnx_iso.15790/ofed.conf --kernel 2.6.32-71.14.1.el6.x86_64 --kernel-sources /lib/modules/2.6.32-71.14.1.el6.x86_64/build/ --builddir /local/tmp/mlnx_iso.15790 --disable-kmp --build-only"

ERROR: See /tmp/mlnx_ofed_iso.15790.log

I have attached the two referenced log and the rpmbuild log. I have gone through them but I am unable to determine what exactly is causing the problem. If anyone could assist me in deciphering the logs, it would be greatly appreciated. I just cannot figure out what is going on. Thanks in advance for your help.

Edit:

This is for RHEL 6.5, the kernel I am trying to add support for is 2.6.32-71.14.1.el6.x86_6

mlnx_ofed_iso.15790.log.zip (737 Bytes)

mlnx-ofa_kernel-2.3.rpmbuild.log.zip (17.9 KB)

I checked again, 2.6.32-71 is the RHEL6.0 kernel- why don’t you update to 2.6.32-431 (6.5) oder -504 (6.6)? Where did you get the kernel from?

Details see:

Red Hat Enterprise Linux - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux

kernel 2.6.32-71 seems to be Centos 6.0? MLNX Ofed supports 6.3-6.5 (different files to download). Please update your distribution first.

try logging in as root user and do it again… i see you are using sudo user.