Well taking a couple of stabs in the dark here. What version of redhat/fedora are you using ? I am using rhel 4 update 3 and it uses gcc version 3.4.5-2 by default. It appears as if your system is using 4.0.0. Also do you have any environment variables set ? Such as CFLAGS, CCFLAGS or the like ? For the record the only reason I mention gcc 4x is because it is the only time I have personally seen that error arise.
<br><br><div><span class="gmail_quote">On 6/22/06, <b class="gmail_sendername">Don Snedigar</b> <<a href="mailto:dsnedigar@calpont.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dsnedigar@calpont.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>



<div>
<div><span><font face="Arial" size="2">I just downloaded 
the OFED-1.0 and the install was going fine until ibutils.  At that point, 
the install fails with :</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Courier" size="2">Open 
MPI RPM will be created during the installation process</font></span></div>
<div><font color="#0000ff" face="Courier"></font> </div><span><font size="2">
<div><br><font color="#0000ff" face="Courier">Building ibutils RPM. Please 
wait...</font></div>
<div><font color="#0000ff" face="Courier"></font> </div>
<div><font color="#0000ff" face="Courier">Running rpmbuild --rebuild --define 
'_topdir /var/tmp/OFEDRPM' --define 'configure_options --prefix=/usr/local/ofed 
--mandir=/usr/local/ofed/share/man --cache-file=/var/tmp/OFED/ibutils.cache 
--with-osm=/var/tmp/OFED/usr/local/ofed --enable-ibmgtsim' --define '_prefix 
/usr/local/ofed' --define '_libdir /usr/local/ofed/lib64' --define '_mandir 
%{_prefix}/share/man' --define 'build_root /var/tmp/OFED' 
/home/snedigar/OFED-1.0/SRPMS/ibutils-1.0-0.src.rpm<br>-<br>ERROR: Failed 
executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define 
'configure_options --prefix=/usr/local/ofed --mandir=/usr/local/ofed/share/man 
--cache-file=/var/tmp/OFED/ibutils.cache --with-osm=/var/tmp/OFED/usr/local/ofed 
--enable-ibmgtsim' --define '_prefix /usr/local/ofed' --define '_libdir 
/usr/local/ofed/lib64' --define '_mandir %{_prefix}/share/man' --define 
'build_root /var/tmp/OFED' 
/home/snedigar/OFED-1.0/SRPMS/ibutils-1.0-0.src.rpm"</font></div>
<div><font color="#0000ff" face="Courier"></font> </div>
<div><font face="Courier"><font color="#0000ff">See log file: 
/tmp/OFED.28656.log</font><br></font></div></font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">I dug down into the 
log file it indicates and found :</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2"> <font color="#0000ff" face="Courier">g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 
-DIBDM_IBNL_DIR=\"/usr/local/ofed/lib64\" -I/usr/include -O2 -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona -MT ibnl_scanner.lo -MD 
-MP -MF .deps/ibnl_scanner.Tpo -c ibnl_scanner.cc  -fPIC -DPIC -o 
.libs/ibnl_scanner.o<br>ibnl_scanner.ll: In function 'int 
ibnl_lex()':<br>ibnl_scanner.ll:197: warning: ignoring return value of 'size_t 
fwrite(const void*, size_t, size_t, FILE*)', declared with attribute 
warn_unused_result<br> g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 
-DIBDM_IBNL_DIR=\"/usr/local/ofed/lib64\" -I/usr/include -O2 -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona -MT ibnl_scanner.lo -MD 
-MP -MF .deps/ibnl_scanner.Tpo -c ibnl_scanner.cc -o ibnl_scanner.o 
>/dev/null 2>&1<br>/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 
-DIBDM_IBNL_DIR='"/usr/local/ofed/lib64"' -I/usr/include -O2 -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona   -o 
<a href="http://libibdmcom.la" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libibdmcom.la</a> -rpath /usr/local/ofed/lib64 -version-info "2:1:1"  Fabric.lo 
SubnMgt.lo TraceRoute.lo CredLoops.lo TopoMatch.lo SysDef.lo LinkCover.lo 
Congestion.lo ibnl_parser.lo ibnl_scanner.lo  <br>g++ -shared -nostdlib 
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../lib64/crti.o 
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/crtbeginS.o  .libs/Fabric.o 
.libs/SubnMgt.o .libs/TraceRoute.o .libs/CredLoops.o .libs/TopoMatch.o 
.libs/SysDef.o .libs/LinkCover.o .libs/Congestion.o .libs/ibnl_parser.o 
.libs/ibnl_scanner.o  -L/usr/lib/gcc/x86_64-redhat-linux/4.0.0 
-L/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../lib64 
-L/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../.. -L/lib/../lib64 
-L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/crtendS.o 
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../lib64/crtn.o  -m64 
-mtune=nocona -Wl,-soname -Wl,libibdmcom.so.1 -o 
.libs/libibdmcom.so.1.1.1<br></font><font color="#0000ff" face="Courier">/usr/bin/ld: 
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/libstdc++.a(mt_allocator.o): relocation 
R_X86_64_32 against `__gnu_internal::freelist_key' can not be used when making a 
shared object; recompile with 
-fPIC<br>/usr/lib/gcc/x86_64-redhat-linux/4.0.0/libstdc++.a: could not read 
symbols: Bad value<br>collect2: ld returned 1 exit status<br>make[3]: *** 
[<a href="http://libibdmcom.la" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libibdmcom.la</a>] Error 1<br>make[3]: Leaving directory 
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm/datamodel'<br>make[2]: *** 
[all-recursive] Error 1<br>make[2]: Leaving directory 
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'<br>make[1]: *** [all] Error 
2<br>make[1]: Leaving directory 
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'<br>make: *** [all-recursive] Error 
1<br>error: Bad exit status from /var/tmp/rpm-tmp.16738 
(%install)</font></font></span></div>
<div><font color="#0000ff" face="Courier"></font> </div><span>
<div><br><font color="#0000ff" face="Courier" size="2">RPM build 
errors:<br>    Bad exit status from /var/tmp/rpm-tmp.16738 
(%install)<br>ERROR: Failed executing "rpmbuild --rebuild --define '_topdir 
/var/tmp/OFEDRPM' --define 'configure_options --prefix=/usr/local/ofed 
--mandir=/usr/local/ofed/share/man --cache-file=/var/tmp/OFED/ibutils.cache 
--with-osm=/var/tmp/OFED/usr/local/ofed --enable-ibmgtsim' --define '_prefix 
/usr/local/ofed' --define '_libdir /usr/local/ofed/lib64' --define '_mandir 
%{_prefix}/share/man' --define 'build_root /var/tmp/OFED' 
/home/snedigar/OFED-1.0/SRPMS/ibutils-1.0-0.src.rpm"<br></font></div>
<div><span><font face="Arial" size="2">Can anyone shed any 
light on this ?   </font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Machine is dual 
Opteron, 2 gig memory, kernel 2.6.16</font></span></div></span></div><div><span>
<div> </div>
<div align="left"><font face="Arial" size="2">Don Snedigar</font></div>
<div align="left"><font face="Arial" size="2">Calpont Corp.</font></div>
<div align="left"><font face="Arial" size="2">214-618-9516</font></div>
<div> </div>

</span></div><br>_______________________________________________<br>openib-general mailing list<br><a href="mailto:openib-general@openib.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">openib-general@openib.org
</a><br><a href="http://openib.org/mailman/listinfo/openib-general" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openib.org/mailman/listinfo/openib-general</a><br><br>To unsubscribe, please visit 
<a href="http://openib.org/mailman/listinfo/openib-general" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openib.org/mailman/listinfo/openib-general</a><br><br></blockquote></div><br>