On 02/18/2011 10:11 PM, Tanin wrote:
Dear all,

     I try to install OFED stacks on the host. Since my kernel version is
2.6.36-UL4-x86_64, which is not supported by OFED-1.5.2. So, I tried
OFED-1.5.3-rc4. In the process of installation I got the error message of

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-mlx4_en-mod --with-cxgb3-mod --with-nes-mod
--with-ipoib-mod --with-sdp-mod --with-srp-mod --with-rds-mod' --define
'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define
'KVERSION 2.6.36-UL4' --define 'K_SRC /lib/modules/2.6.36-UL4/build'
--define 'network_dir /etc/sysconfig/network-scripts' --define '_prefix
/usr' --define '__arch_install_post %{nil}'
/atlas/data18a/litan/OFED-1.5.3-rc4/SRPMS/ofa_kernel-1.5.3-OFED.1.5.3.rc4.src.rpm
Failed to build ofa_kernel RPM
See /tmp/OFED.21798.logs/ofa_kernel.rpmbuild.log

Then, I checked the log file and search for the error info. These are the
info at the end:
  -I/usr/src/kernels/2.6.36-UL4-x86_64/arch/x86/include \
  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
-Wno-format-security -fno-delete-null-pointer-checks -Os -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
-fno-stack-protector -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.5.3/drivers/infiniband/core/.tmp_addr.o
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core/addr.c
gcc: cannot specify -o with -c or -S with multiple files


Hi Tan,
Please try today's OFED daily build (OFED-1.5.3-20110222-0600) or, wait for 
OFED-1.5.3-rc5.

Regards,
Vladimir
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to