[ofa-general] Need help--Failed to build ofa-kernel.rpm while installing OFED1.3 on RHEL5.1 with Kernel 2.6.25-rc3/rc8
Joe Li
joel at finetec.com
Mon May 19 10:29:30 PDT 2008
Hello everyone,
I am a newbie to openfabric and I have an issue here which needs your help. When trying to install OFED1.3 on kernel 2.6.25-rc3 or kernel 2.6.25-rc8, I get an ofa-kernel rpm build error:
"Running rpm -e --allmatches libibverbs libibcommon libibumad librdmacm opensm-libs ibutils openib opensm-libs dapl libibcommon libibumad libibverbs librdmacm ibutils ibutils-libs
Build ofa_kernel RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir' --define 'configure_options --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mthca-mod --with-mlx4-mod --with-cxgb3-mod --with-nes-mod --with-ipath_inf-mod --with-ipoib-mod --with-sdp-mod --with-srp-mod --with-srp-target-mod --with-rds-mod' --define 'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define 'KVERSION 2.6.25-rc3' --define 'K_SRC /lib/modules/2.6.25-rc3/build' --define 'network_dir /etc/sysconfig/network-scripts' --define '_prefix /usr' /ofed1.3/OFED-1.3/SRPMS/ofa_kernel-1.3-ofed1.3.src.rpm
Failed to build ofa_kernel RPM
See /tmp/OFED.6361.logs/ofa_kernel.rpmbuild.log"
In the ofa_kernel.rpmbuild.log file, it says:
gcc -Wp,-MD,/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/.addr.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ \
-include include/linux/autoconf.h \
-include /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/linux/autoconf.h \
\
\
\
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/debug \
-I/usr/local/include/scst \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/ulp/srpt \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/net/cxgb3 \
-Iinclude \
\
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -g -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.3/drivers/infiniband/core/.tmp_addr.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In function 'rdma_translate_ip':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:113: warning: passing argument 1 of 'ip_dev_find' makes pointer from integer without a cast
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:113: error: too few arguments to function 'ip_dev_find'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In function 'addr_send_arp':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:161: warning: passing argument 1 of 'ip_route_output_key' from incompatible pointer type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:161: warning: passing argument 2 of 'ip_route_output_key' from incompatible pointer type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:161: error: too few arguments to function 'ip_route_output_key'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In function 'addr_resolve_remote':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:182: warning: passing argument 1 of 'ip_route_output_key' from incompatible pointer type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:182: warning: passing argument 2 of 'ip_route_output_key' from incompatible pointer type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:182: error: too few arguments to function 'ip_route_output_key'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In function 'addr_resolve_local':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:264: warning: passing argument 1 of 'ip_dev_find' makes pointer from integer without a cast
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:264: error: too few arguments to function 'ip_dev_find'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:268: error: implicit declaration of function 'ZERONET'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:272: error: implicit declaration of function 'LOOPBACK'
make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.o] Error 1
make[3]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core] Error 2
make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband] Error 2
make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-rc3'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67082 (%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.67082 (%build)
Can anyone please point out what might be wrong? Thanks in advance.
Regards
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080519/4fa982f1/attachment.html>
More information about the general
mailing list