Hello Greg I'm not sure what is the problem. but It seems that the problem is macro expansion error.
Why don't you use OFED-1.5.3.1?? (and CentOS 5.6) Do you have any reason to use OFED-1.5.1?? -- Hiroyuki Sato. 2011/5/5 Greg I Kerr <[email protected]>: > I'm trying to install OFED-1.5.1 on CentOS and it fails. > > When I run the command: ./install.pl --all I get the following output: > > Uninstalling the previous version of OFED > 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-qib-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.18-128.el5' > --define 'K_SRC /lib/modules/2.6.18-128.el5/build' --define > 'network_dir /etc/sysconfig/network-scripts' --define '_prefix /usr' > --define '__arch_install_post %{nil}' > /root/OFED-1.5.1/SRPMS/ofa_kernel-1.5.1-OFED.1.5.1..src.rpm > Failed to build ofa_kernel RPM > See /tmp/OFED.15212.logs/ofa_kernel.rpmbuild.log > > When I go to the log I find the following: > > -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs > -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef > -Werror-implicit-function-declaration -Os -mtune=generic -m64 > -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks > -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time > -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -g > -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign > -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(rds_tcp.mod)" > -D"KBUILD_MODNAME=KBUILD_STR(rds_tcp)" -DMODULE -c -o > /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.1/net/rds/rds_tcp.mod.o > /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.1/net/rds/rds_tcp.mod.c > ld -m elf_x86_64 -r -o > /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.1/net/rds/rds_tcp.ko > /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.1/net/rds/rds_tcp.o > /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.1/net/rds/rds_tcp.mod.o > make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-x86_64' > + %install > /var/tmp/rpm-tmp.23081: line 61: fg: no job control > error: Bad exit status from /var/tmp/rpm-tmp.23081 (%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.23081 (%build) > > Does anyone know what could cause this? > > Thanks, > > Greg Kerr > _______________________________________________ > ewg mailing list > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg > _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
