Hi,

today I tried to build openmpi-dev-1346-gb41d2ad on my machines
(Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1
x86_64) with gcc-4.9.2 and Sun C 5.13 and got errors on all three
platforms for both compilers. I used the following configure
command for all platforms for gcc.

../openmpi-dev-1346-gb41d2ad/configure --prefix=/usr/local/openmpi-1.9.0_64_gcc 
\
  --libdir=/usr/local/openmpi-1.9.0_64_gcc/lib64 \
  --with-jdk-bindir=/usr/local/jdk1.8.0/bin \
  --with-jdk-headers=/usr/local/jdk1.8.0/include \
  JAVA_HOME=/usr/local/jdk1.8.0 \
  LDFLAGS="-m64" CC="gcc" CXX="g++" FC="gfortran" \
  CFLAGS="-m64" CXXFLAGS="-m64" FCFLAGS="-m64" \
  CPP="cpp" CXXCPP="cpp" \
  CPPFLAGS="" CXXCPPFLAGS="" \
  --enable-mpi-cxx \
  --enable-cxx-exceptions \
  --enable-mpi-java \
  --enable-heterogeneous \
  --enable-mpi-thread-multiple \
  --with-hwloc=internal \
  --without-verbs \
  --with-wrapper-cflags="-std=c11 -m64" \
  --with-wrapper-cxxflags="-m64" \
  --with-wrapper-fcflags="-m64" \
  --enable-debug \
  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_gcc


I still get the same error on my Linux and Solaris 10 x86_64
machines that I reported February 19th
(https://github.com/open-mpi/ompi/issues/403) and I get the
following error on my Solaris 10 Sparc machine.

...
  CCLD     mca_pml_cm.la
make[2]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-1346-gb41d2ad-SunOS.sparc.64_gcc/ompi/mca/pml/cm'
Making all in mca/pml/ob1
make[2]: Entering directory 
`/export2/src/openmpi-1.9/openmpi-dev-1346-gb41d2ad-SunOS.sparc.64_gcc/ompi/mca/pml/ob1'
  CC       pml_ob1.lo
In file included from 
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1.h:38:0,
                 from 
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1.c:46:
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1.c: In 
function 'mca_pml_ob1_send_fin':
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1.c:665:18: 
error: 'hdr' undeclared (first use in this function)
     ob1_hdr_hton(hdr, MCA_PML_OB1_HDR_TYPE_FIN, proc);
                  ^
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1_hdr.h:465:43: 
note: in definition of macro 'ob1_hdr_hton'
     ob1_hdr_hton_intr((mca_pml_ob1_hdr_t*)h, t, p)
                                           ^
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1.c:665:18: 
note: each undeclared identifier is reported only once for each function it 
appears in
     ob1_hdr_hton(hdr, MCA_PML_OB1_HDR_TYPE_FIN, proc);
                  ^
../../../../../openmpi-dev-1346-gb41d2ad/ompi/mca/pml/ob1/pml_ob1_hdr.h:465:43: 
note: in definition of macro 'ob1_hdr_hton'
     ob1_hdr_hton_intr((mca_pml_ob1_hdr_t*)h, t, p)
                                           ^
make[2]: *** [pml_ob1.lo] Error 1
make[2]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-1346-gb41d2ad-SunOS.sparc.64_gcc/ompi/mca/pml/ob1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-1346-gb41d2ad-SunOS.sparc.64_gcc/ompi'
make: *** [all-recursive] Error 1



I would be grateful, if somebody could fix the problem. Thank
you very much for any help in advance.


Kind regards

Siegmar

Reply via email to