Hello Vladimir,<br><br>I have downloaded the OFED-3.2 build available in: <a href="http://www.openfabrics.org/downloads/OFED/ofed-3.2-daily/">http://www.openfabrics.org/downloads/OFED/ofed-3.2-daily/</a><br>I tried to Build using the ./<a href="http://install.pl">install.pl</a> script to install the 2) Install OFED Software and 3) All packages (all of Basic, HPC).<br>
<br>:~/ofed # tar -zxvf OFED-3.2-20120323-1506.tgz<br>:~/ofed/OFED-3.2-20120323-1506 # ls<br>BUILD_ID LICENSE README.txt RPMS SOURCES SPECS SRPMS docs <a href="http://install.pl">install.pl</a> uninstall.sh<br>make[1]: Entering directory `/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64'<br>
make -C ../../../linux-3.0.13-0.27<br>O=/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64/. modules<br>make -C /usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64 \<br> KBUILD_SRC=/usr/src/linux-3.0.13-0.27 \<br> KBUILD_EXTMOD="/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2" -f<br>
/usr/src/linux-3.0.13-0.27/Makefile \<br> modules<br>/usr/src/linux-3.0.13-0.27/Makefile:588:<br>/usr/src/linux-3.0.13-0.27/arch/ppc64/Makefile: No such file or directory<br>make[3]: *** No rule to make target<br>`/usr/src/linux-3.0.13-0.27/arch/ppc64/Makefile'. Stop.<br>
make[2]: *** [sub-make] Error 2<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64'<br>make: *** [kernel] Error 2<br>error: Bad exit status from /var/tmp/rpm-tmp.72838 (%build)<br>
<br>As mentioned by Daniel in the earlier mailing lists, we need to do the below steps as work arounds:<br><br># mkdir /usr/src/linux-3.0.13-0.27/arch/ppc64<br># cp -r /usr/src/linux-3.0.13-0.27/arch/powerpc/* /usr/src/linux-3.0.13-0.27/arch/ppc64/<br>
# Again we need to execute ./<a href="http://install.pl">install.pl</a> script and select option 2 and then option 4 ==> Customize to build the kernel modules and libraries.<br><br>Will the above mentioned work around be adopted in the ./<a href="http://install.pl">install.pl</a> script of creating the ppc64 directory for SLES11SP2 distro so that the build issues are resolved with the future OFED-3.2 tar files.<br>
<br>Should we open a bug in openfabrics bugzilla to keep track of this issue of building on PPC64 platform.<br><br>Thanks and Regards,<br>Pavaman.S<br>