Greeting,
I am trying to compile the static version of OpenMPI, with GNU. The configuration command : mil...@login.grid.umb.sk:~/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/../configure --prefix=/home/milias/bin/openmpi-1.10.1-gnu-static CXX=g++ CC=gcc F77=gfortran FC=gfortran LDFLAGS="--static" LIBS="-ldl -lrt" --disable-shared --enable-static But the compilation end with error below. I though that the -lrt should fix it (/usr/lib64/librt.a), but no way. Any help please ? ? Miro make[10]: Entering directory `/home/milias/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi' CC otfmerge_mpi-handler.o CC otfmerge_mpi-otfmerge.o CCLD otfmerge-mpi /home/milias/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/opal/.libs/libopen-pal.a(memory_linux_munmap.o): In function `opal_memory_linux_free_ptmalloc2_munmap': memory_linux_munmap.c:(.text+0x3d): undefined reference to `__munmap' /home/milias/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/opal/.libs/libopen-pal.a(memory_linux_munmap.o): In function `munmap': memory_linux_munmap.c:(.text+0x87): undefined reference to `__munmap' collect2: ld returned 1 exit status make[10]: *** [otfmerge-mpi] Error 1