There is no 1.3.1 RPM yet (only a 1.3 RPM) -- what file specifically
are you trying to build?
Could you try building one of the 1.3.1 nightly snapshot tarballs? I
*think* the problem you're seeing is a problem due to FORTIFY_SOURCE
in the VT code in 1.3 and should be fixed by now.
http://www.open-mpi.org/nightly/v1.3/
On Feb 19, 2009, at 12:00 PM, Jim Kusznir wrote:
Hi all:
I'm trying to build openmpi RPMs from the included spec file. The
build fails with:
gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib
-I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE
-DBINDIR=\"/opt/openmpi-gcc/1.3/bin\"
-DDATADIR=\"/opt/openmpi-gcc/1.3/share\" -DRFG -DVT_BFD -DVT_MEMHOOK
-DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT
vt_iowrap.o -MD -MP -MF .deps/vt_iowrap.Tpo -c -o vt_iowrap.o
vt_iowrap.c
vt_iowrap.c:1242: error: expected declaration specifiers or '...'
before numeric constant
vt_iowrap.c:1243: error: conflicting types for '__fprintf_chk'
make[5]: *** [vt_iowrap.o] Error 1
My build command was:
rpmbuild -bb --define 'install_in_opt 1' --define 'install_modulefile
1' --define 'modules_rpm_name environment-modules' --define
'build_all_in_one_rpm 0' --define 'configure_options
--with-tm=/opt/torque --with-openib=/opt/mlnx-ofed/src/OFED-1.3.1'
--define '_name openmpi-gcc' openmpi-1.3.spec
This build for the 1.2.8 worked fine; this is my first attempt at
building 1.3.1.
The system is Rocks 5.1 (CentSO 5.2), GCC 4.1.2-42 (CentOS 5.2
default).
Any suggestions?
Thanks!
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
--
Jeff Squyres
Cisco Systems