[ewg] OFED-1.5: build problem with mthca
Jack Morgenstein
jackm at dev.mellanox.co.il
Wed Jul 22 00:58:36 PDT 2009
Your compiler seems to be choking on the "__init" keyword in the kernel installation's
asm/topology.h file. I do not know why. The kernel_addons/.../cpumask.h file simply
has a line #include <asm/topology.h>, which should not be causing problems.
Problem line:
extern void __init dump_numa_cpu_topology(void);
-Jack
On Monday 13 July 2009 18:48, Alexander Schmidt wrote:
> Hi all,
>
> with the latest OFED-1.5 daily build on SLES11 (powerpc64), I get the
> following build problem. Could someone have a look at this?
>
> Thanks,
> Alex
>
>
> -I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include \
> -I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/debug \
> -I/usr/local/include/scst \
> -I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/ulp/srpt \
> -I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/net/cxgb3 \
> -Iinclude \
> -Iinclude2 -I/usr/src/linux-2.6.27.19-5/include \
> -I/usr/src/linux-2.6.27.19-5/arch/powerpc/include \
> -Iarch/powerpc -I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/hw/mthca -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -msoft-float -pipe -I/usr/src/linux-2.6.27.19-5/arch/powerpc -Iarch/powerpc -mminimal-toc -mtraceback=none -mcall-aixdesc -mcpu=power4 -mtune=cell -mno-altivec -mno-spe -funit-at-a-time -mno-string -Wa,-maltivec -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mthca_eq)" -D"KBUILD_MODNAME=KBUILD_STR(ib_mthca)" -D"DEBUG_HASH=48" -D"DEBUG_HASH2=63" -c -o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/hw/mthca/.tmp_mthca_eq.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/hw/mthca/mthca_eq.c
> In file included from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.27_sles11/include/linux/cpumask.h:6,
> from /usr/src/linux-2.6.27.19-5/include/linux/interrupt.h:9,
> from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/hw/mthca/mthca_eq.c:35:
> include2/asm/topology.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dump_numa_cpu_topology’
> make[6]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/hw/mthca/mthca_eq.o] Error 1
> make[5]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/hw/mthca] Error 2
> make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband] Error 2
> make[3]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5] Error 2
> make[2]: *** [sub-make] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.27.19-5-obj/ppc64/ppc64'
> make: *** [kernel] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.68731 (%build)
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
More information about the ewg
mailing list