Hi,

today I tried to build openmpi-dev-1031-g008755a 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.

../openmpi-dev-1031-g008755a/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 got the following error on my Linux machine.

...
  CC       pml_cm_start.lo
  CCLD     mca_pml_cm.la
make[2]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-1031-g008755a-Linux.x86_64.64_gcc/ompi/mca/
pml/cm'
Making all in mca/pml/ob1
make[2]: Entering directory 
`/export2/src/openmpi-1.9/openmpi-dev-1031-g008755a-Linux.x86_64.64_gcc/ompi/mca
/pml/ob1'
  CC       pml_ob1.lo
In file included from 
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1.h:38:0,
                 from 
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1.c:45:
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1_hdr.h: In 
function 'ob1_hdr_ntoh':
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1_hdr.h:204:12: 
error: 'mca_pml_ob1_rget_hdr
_t' has no member named 'hdr_seg_cnt'
         (h).hdr_seg_cnt = ntohl((h).hdr_seg_cnt);       \
            ^
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1_hdr.h:440:13: 
note: in expansion of macro 
'MCA_PML_OB1_RGET_HDR_NTOH'
             MCA_PML_OB1_RGET_HDR_NTOH(hdr->hdr_rget);
             ^

A lot more of the above messages.

...
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1_hdr.h:366:36: 
error: 'mca_pml_ob1_rdma_hdr
_t' has no member named 'hdr_seg_cnt'
         (h).hdr_seg_cnt = htonl((h).hdr_seg_cnt);          \
                                    ^
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1_hdr.h:495:13: 
note: in expansion of macro 
'MCA_PML_OB1_RDMA_HDR_HTON'
             MCA_PML_OB1_RDMA_HDR_HTON(hdr->hdr_rdma);
             ^
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1.c: In 
function 'mca_pml_ob1_send_fin':
../../../../../openmpi-dev-1031-g008755a/ompi/mca/pml/ob1/pml_ob1.c:664:18: 
error: 'hdr' undeclared (first u
se in this function)
     ob1_hdr_hton(hdr, MCA_PML_OB1_HDR_TYPE_FIN, proc);
                  ^
../../../../../openmpi-dev-1031-g008755a/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-1031-g008755a/ompi/mca/pml/ob1/pml_ob1.c:664: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-1031-g008755a/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
...


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