[ofa-general] Re: error installing ofed_1.2-rc2 on RHEL5

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Sat Apr 28 23:54:44 PDT 2007


You need to install glibc-devel-32bit.
Starting from OFED-1.2-20070427-0600 you will get the warning that
glibc-devel-32bit is missing and compilation of 32-bit libraries will be
skipped.

Regards,
Vladimir

On Thu, 2007-04-26 at 18:42 -0400, Doug Ledford wrote:
> Suresh Shelvapille wrote:
> > After some digging around on the net figured out that the "error" actually meant
> > no "c" program would compile when supplied with the same arguments as found on
> > the error line in "config.log".
> > 
> > In my case it happens to be: 
> > gcc -m32 -g -O2 -L/usr/lib -I../libibverbs/include -L. conftest.c  >&5
> > 
> > the -m32 instread of -m64 seems to be the culprit!
> > 
> > Looking at the configure file and running /usr/bin/file on the xxx.o seems to yield
> > 64_bit though....
> > 
> > Any ideas.....
> 
> This means you haven't installed the 32 bit version of gcc, yet 
> ./configure is attempting to use it.  Install the 32 bit gcc (and other 
> associated rpms necessary to support 32 bit devel on your 64 bit 
> machine) and it should work fine then.
> 
> > Many thanks in advance,
> > Suri
> > 
> >> -----Original Message-----
> >> From: Suresh Shelvapille [mailto:suri at baymicrosystems.com]
> >> Sent: Thursday, April 26, 2007 11:41 AM
> >> To: 'general at lists.openfabrics.org'
> >> Cc: 'Doug Ledford'
> >> Subject: error installing ofed_1.2-rc2 on RHEL5
> >>
> >> Folks:
> >>
> >> I just upgraded my system to RHEL5 and tried to install ofed_1.2-rc2.tgz
> >> (dated 18-April) and am getting errors. I picked the basic install+defaults for
> >> All selections.
> >>
> >> uname -a prints:
> >> Linux ib-interop1host 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64
> >> x86_64 x86_64 GNU/Linux
> >>
> >>
> >> Here is a partial output from the log file:
> >> -----------------------------------------------------------
> >> cd /var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibverbs
> >> Running: env ac_cv_lib_ibverbs_ibv_get_device_list=yes ac_cv_header_infiniband_driver_h=yes
> >> ac_cv_func_ibv_read_sysfs_file=yes ac_cv_func_ibv_dontfork_range=yes ac_cv_func_ibv_dofork_range=yes
> >> ac_cv_func_ibv_register_driver=yes HAVE_IBV_DEVICE_LIBRARY_EXTENSION_TRUE=yes  ./configure --cache-
> >> file=/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/configure.cache --disable-libcheck --prefix /usr --libdir
> >> /usr/lib --mandir=/usr/share/man --sysconfdir=/etc CPPFLAGS="-I../libibverbs/include"
> >> configure: creating cache /var/tmp/OFEDRPM/BUILD/ofa_user-1.2/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: cd /var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibverbs && env
> >> ac_cv_lib_ibverbs_ibv_get_device_list=yes ac_cv_header_infiniband_driver_h=yes
> >> ac_cv_func_ibv_read_sysfs_file=yes ac_cv_func_ibv_dontfork_range=yes ac_cv_func_ibv_dofork_range=yes
> >> ac_cv_func_ibv_register_driver=yes HAVE_IBV_DEVICE_LIBRARY_EXTENSION_TRUE=yes  ./configure --cache-
> >> file=/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/configure.cache --disable-libcheck --prefix /usr --libdir
> >> /usr/lib --mandir=/usr/share/man --sysconfdir=/etc CPPFLAGS="-I../libibverbs/include"
> >> error: Bad exit status from /var/tmp/rpm-tmp.58894 (%install)
> >>
> >>
> >> 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.58894 (%install)
> >> ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix
> >> /usr' --define 'build_root /var/tmp/OFED' --define 'configure_options --with-libcxgb3 --with-libibcm
> >> --with-libibverbs --with-libipathverbs --with-libmthca --with-librdmacm --with-mstflint --with-
> >> perftest --sysconfdir=/etc --mandir=/usr/share/man' --define 'configure_options32 --with-libcxgb3 --
> >> with-libibcm --with-libibverbs --with-libipathverbs --with-libmthca --with-librdmacm --
> >> sysconfdir=/etc --mandir=/usr/share/man' --define 'build_32bit 1' --define '_mandir /usr/share/man'
> >> /root/ofed_1.2/OFED-1.2-rc2/SRPMS/ofa_user-1.2-rc2.src.rpm"
> >> -------------------------------------------------------------
> >>
> >>
> >> Is the "unknown-linux-gnu" against host linux the problem?
> >>
> >> Many thanks,
> >> Suri
> > 
> 
> 




More information about the general mailing list