[ofa-general] Fwd: OFED-1.5-alpha4 installation problem

Sneha Mistry sneha0930 at gmail.com
Wed Aug 26 03:17:51 PDT 2009


Hi,

I am new be to Infiniband and trying to install OFED-1.5-alpha4 on
opensuse 10.3 .
Kernel version is  2.6.26-2-686 .

But it gives me error  message.

Failed to build ofa_kernel RPM
See /tmp/OFED.29482.logs/ofa_kernel.rpmbuild.log

I checked release note it says suse 10.3 is supported.

Output of uname -a is
Linux linux-ljhr 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC
i686 i686 i386 GNU/Linux

Last few line of log is as given.

make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31
O=../linux-2.6.22.5-31-obj/i386/default modules
make -C /usr/src/linux-2.6.22.5-31-obj/i386/default \
	KBUILD_SRC=/usr/src/linux-2.6.22.5-31 \
	KBUILD_EXTMOD="/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5" -f
/usr/src/linux-2.6.22.5-31/Makefile modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/linux/autoconf.h or include/config/auto.conf
are missing.";	\
	echo "         Run 'make oldconfig && make prepare' on kernel src to
fix it.";	\
	echo;								\
	/bin/false)
mkdir -p /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/.tmp_versions
rm -f /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/.tmp_versions/*
make -f /usr/src/linux-2.6.22.5-31/scripts/Makefile.build
obj=/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5
make -f /usr/src/linux-2.6.22.5-31/scripts/Makefile.build
obj=/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband
make -f /usr/src/linux-2.6.22.5-31/scripts/Makefile.build
obj=/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core
  gcc -m32 -Wp,-MD,/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/.addr.o.d
 -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.2.1/include
-D__KERNEL__ \
-D__OFED_BUILD__ \
-include include/linux/autoconf.h \
-include /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/linux/autoconf.h \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.22_suse10_3/include/
\
 \
 \
-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.22.5-31/include \
-I/usr/src/linux-2.6.22.5-31/arch//include \
   -I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-Werror-implicit-function-declaration -fno-strict-aliasing -fno-common
-Os -pipe -msoft-float -mregparm=3 -freg-struct-return
-mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding
-maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1
-I/usr/src/linux-2.6.22.5-31/include/asm-i386/mach-generic
-Iinclude/asm-i386/mach-generic
-I/usr/src/linux-2.6.22.5-31/include/asm-i386/mach-default
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -g
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(addr)"
-D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -c -o
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/.tmp_addr.o
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c
In file included from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_addr.h:41,
                 from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:46:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In
function ‘ib_dma_mapping_error’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1677:
warning: passing argument 1 of ‘dma_mapping_error’ makes integer from
pointer without a cast
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1677:
error: too many arguments to function ‘dma_mapping_error’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1716:
warning: ‘struct dma_attrs’ declared inside parameter list
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1716:
warning: its scope is only this definition or declaration, which is
probably not what you want
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In
function ‘ib_dma_map_single_attrs’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1718:
error: implicit declaration of function ‘dma_map_single_attrs’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1725:
warning: ‘struct dma_attrs’ declared inside parameter list
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In
function ‘ib_dma_unmap_single_attrs’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1727:
error: implicit declaration of function ‘dma_unmap_single_attrs’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1728:
warning: ‘return’ with a value, in function returning void
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1803:
warning: ‘struct dma_attrs’ declared inside parameter list
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In
function ‘ib_dma_map_sg_attrs’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1805:
error: implicit declaration of function ‘dma_map_sg_attrs’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1811:
warning: ‘struct dma_attrs’ declared inside parameter list
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In
function ‘ib_dma_unmap_sg_attrs’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1813:
error: implicit declaration of function ‘dma_unmap_sg_attrs’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:
In function ‘rdma_translate_ip’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:122:
error: ‘init_net’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:122:
error: (Each undeclared identifier is reported only once
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:122:
error: for each function it appears in.)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:123:
error: too many arguments to function ‘ip_dev_find’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134:33:
error: macro "for_each_netdev" passed 2 arguments, but takes just 1
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134:
error: ‘for_each_netdev’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134:
error: expected ‘;’ before ‘{’ token
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:
In function ‘addr_send_arp’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:191:
error: ‘init_net’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:191:
warning: passing argument 2 of ‘ip_route_output_key’ from incompatible
pointer type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:191:
error: too many arguments to function ‘ip_route_output_key’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:206:
error: too many arguments to function ‘ip6_route_output’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:
In function ‘addr4_resolve_remote’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:232:
error: ‘init_net’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:232:
warning: passing argument 2 of ‘ip_route_output_key’ from incompatible
pointer type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:232:
error: too many arguments to function ‘ip_route_output_key’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:
In function ‘addr6_resolve_remote’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:281:
error: ‘init_net’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:281:
error: too many arguments to function ‘ip6_route_output’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:
In function ‘addr_resolve_local’:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:368:
error: ‘init_net’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:368:
error: too many arguments to function ‘ip_dev_find’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:372:
error: implicit declaration of function ‘ipv4_is_zeronet’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:376:
error: implicit declaration of function ‘ipv4_is_loopback’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:394:33:
error: macro "for_each_netdev" passed 2 arguments, but takes just 1
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:394:
error: ‘for_each_netdev’ undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:395:
error: expected ‘;’ before ‘if’
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:410:
error: implicit declaration of function ‘ipv6_addr_loopback’
make[6]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.o]
Error 1
make[5]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core]
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]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.64786 (%build)


RPM build errors:
    user vlad does not exist - using root
    group vlad does not exist - using root
    user vlad does not exist - using root
    group vlad does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.64786 (%build)

Regards,
sgm



More information about the general mailing list