Hello,
I have successfully installed MPSS 3.1 on CentOS 6.4, and everything is working fine with the stock kernel. I want to update the kernel, so I tried to rebuild ofed drivers with rpmbuild --rebuild ofed-driver-3.1-0.1.build0.fc13.src.rpm, and it's not working very well...
It fails with :
make[2]: *** [/home/toto/rpmbuild/BUILD/ofed-driver-3.1/ofa_kernel-1.5.4.1/drivers/net/mlx4] Error 2
set -e ; perl /usr/src/kernels/2.6.32-358.23.2.el6.x86_64/scripts/recordmcount.pl "x86_64""64""objdump""objcopy""gcc""ld""nm""""""1""/home/toto/rpmbuild/BUILD/ofed-driver-3.1/ofa_kernel-1.5.4.1/driv;
set -e ; perl /usr/src/kernels/2.6.32-358.23.2.el6.x86_64/scripts/recordmcount.pl "x86_64""64""objdump""objcopy""gcc""ld""nm""""""1""/home/toto/rpmbuild/BUILD/ofed-driver-3.1/ofa_kernel-1.5.4.1/driv;
make[3]: *** [/home/toto/rpmbuild/BUILD/ofed-driver-3.1/ofa_kernel-1.5.4.1/drivers/infiniband/hw/qib] Error 2
make[2]: *** [/home/toto/rpmbuild/BUILD/ofed-driver-3.1/ofa_kernel-1.5.4.1/drivers/infiniband] Error 2
make[1]: *** [_module_/home/toto/rpmbuild/BUILD/ofed-driver-3.1/ofa_kernel-1.5.4.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.23.2.el6.x86_64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.LeLtOY (%build)
RPM build errors:
user build does not exist - using root
group build does not exist - using root
user build does not exist - using root
group build does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.LeLtOY (%build)
When I launch the compilation with /usr/bin/make OPENIB_KERNEL_EXTRA_CFLAGS:=-I/usr/src/kernels/2.6.32-358.23.2.el6.x86_64/include/modules/ kernel, I get an explicit error message (full trace : http://pastebin.com/Ns7Ggunc )
Could you please help me bypass this error ?