[ofa-general] Problems with building OFED 1.1. on SuSE SLES10

Suresh Shelvapille suri at baymicrosystems.com
Fri Apr 27 08:31:05 PDT 2007


This is the same type of issue that I am battling with RHEL5 (while installing 
OFED1.2 though).
 
When the error says  “configure: error: C compiler cannot create executables”,  all it means is
it failed to compile the test program (conftest.c or something like that).
 
Please go into config.log and look for the error. It will tell you what options it was
using to compile the test program. In all probability if you write a small test program and
try to compile with the same options as in the config.log it will fail.
 
By rule of elimination you can figure out which option is giving you problem and once you do that someone in the list
might be able to help you.
 
In my case it was the –m32 option which caused grief and I had to install the 32bit gcc-devel
to get around the issue.
 
Sorry for the long answer, and hopefully your issues is simpler

 
Thanks,
Suri  
 
 
  _____  

From: general-bounces at lists.openfabrics.org [mailto:general-bounces at lists.openfabrics.org] On Behalf Of Jürgen Kabelitz
Sent: Friday, April 27, 2007 8:43 AM
To: general at lists.openfabrics.org
Subject: [ofa-general] Problems with building OFED 1.1. on SuSE SLES10 
 
Hello, 
I have some problems swith building the OFED 1.1 software on an opteron system with sles 10: 
 
uname –a output:  Linux mserv0001 2.6.16.27-0.9-smp_lustre #2 SMP Fri Apr 27 11:49:24 CEST 2007 x86_64 x86_64 x86_64
GNU/Linux
 
when I ran the install.sh script with the input 2 and then 3 some minutes later I get the following output:
 
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix /usr/local/ofed'
--define 'build_root /var/tmp/OFED' --define 'configure_options --with-dapl --with-ipoibtools --with-libibcm
--with-libibcommon --with-libibmad --with-libibumad --with-libibverbs --with-libipathverbs --with-libmthca --with-opensm
--with-librdmacm --with-libsdp --with-openib-diags --with-srptools --with-mstflint --with-perftest --with-tvflash
--with-ipath_inf-mod --with-ipoib-mod --with-mthca-mod --with-sdp-mod --with-srp-mod --with-core-mod --with-user_mad-mod
--with-user_access-mod --with-addr_trans-mod' --define 'configure_options32 --with-dapl --with-ipoibtools --with-libibcm
--with-libibcommon --with-libibmad --with-libibumad --with-libibverbs --with-libipathverbs --with-libmthca --with-opensm
--with-librdmacm --with-libsdp --with-openib-diags --with-srptools ' --define 'KVERSION 2.6.16.27-0.9-smp_lustre'
--define 'KSRC /lib/modules/2.6.16.27-0.9-smp_lustre/build' --define 'build_kernel_ib 1' --define 'build_kernel_ib_devel
1' --define 'NETWORK_CONF_DIR /etc/sysconfig/network' --define 'modprobe_update 1' --define 'include_ipoib_conf 1'
--define 'build_32bit 1' /usr/src/OFED-1.1/SRPMS/openib-1.1-0.src.rpm"
 
See log file: /tmp/OFED.419.log
 
The Log file shows: 
 
/bin/rm -f /var/tmp/OFEDRPM/BUILD/openib-1.1/configure.cache
cd /var/tmp/OFEDRPM/BUILD/openib-1.1/src/userspace/examples
cd /var/tmp/OFEDRPM/BUILD/openib-1.1/src/userspace/libibverbs
Running: ./configure --cache-file=/var/tmp/OFEDRPM/BUILD/openib-1.1/configure.cache --disable-libcheck --prefix
/usr/local/ofed --libdir /usr/local/ofed/lib CPPFL
AGS="-I../libibverbs/include"
configure: creating cache /var/tmp/OFEDRPM/BUILD/openib-1.1/configure.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Failed to execute: ./configure --cache-file=/var/tmp/OFEDRPM/BUILD/openib-1.1/configure.cache --disable-libcheck
--prefix /usr/local/ofed --libdir /usr/local/ofed
/lib CPPFLAGS="-I../libibverbs/include"
error: Bad exit status from /var/tmp/rpm-tmp.51589 (%install)
 
 
When I go into the directory and the configure line typed in, no errors occurred and I can give the make command. 
 
Has anybody a hint for me?
 
 
 
J. Kabelitz
sysGen GmbH
Support und Technik Clustersysteme
Am Hallacker 48
28327 Bremen
Tel  (0421) 40966 -28
Fax (0421) 40966 -66
mailto:jkabelitz at sysgen.de
www.sysgen.de
Geschäftsführerin Gabriele Nikisch
Eingetragen beim Amtsgericht Walsrode HRB 121943
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070427/b9adc077/attachment.html>


More information about the general mailing list