[ewg] OFED 3.2 build errors on ppc64 with SLES11SP2 GMC

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Mon Mar 26 14:57:49 PDT 2012


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

Hi Pavaman,
Do you have kernel-devel RPMs installed (kernel-default-devel,...) ?

Regards,
Vladimir



More information about the ewg mailing list