[mpich-discuss] mpich2version.c:(.text+0x162): undefined reference to `MPIR_Version_*

Jeff Hammond jhammond at mcs.anl.gov
Tue Feb 15 18:59:46 CST 2011


I configure MPICH2 trunk svn updated a moment ago like this:

  $ ./configure
--prefix=/software/mpich/mpich2-trunk/install-gcc-4.5.0 CC=gcc CXX=g++
FC=gfortran F77=gfortran --enable-threads --with-pm=hydra --enable-f77
--enable-fc --enable-cxx --enable-smpcoll

I do make and I get this:

make[2]: Entering directory `/software/mpich/mpich2-trunk/src/env'
gcc -O2   -o mpich2version mpich2version.o  \
        ../../lib/libmpich.a -lrt -lpthread
mpich2version.o: In function `main':
mpich2version.c:(.text+0x162): undefined reference to `MPIR_Version_CC'
mpich2version.c:(.text+0x173): undefined reference to `MPIR_Version_CXX'
mpich2version.c:(.text+0x184): undefined reference to `MPIR_Version_F77'
mpich2version.c:(.text+0x195): undefined reference to `MPIR_Version_FC'
mpich2version.c:(.text+0x2d1): undefined reference to `MPIR_Version_configure'
mpich2version.c:(.text+0x2f1): undefined reference to `MPIR_Version_device'
mpich2version.c:(.text+0x311): undefined reference to `MPIR_Version_date'
mpich2version.c:(.text+0x34f): undefined reference to `MPIR_Version_string'
collect2: ld returned 1 exit status
make[2]: *** [mpich2version] Error 1
make[2]: Leaving directory `/software/mpich/mpich2-trunk/src/env'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory `/software/mpich/mpich2-trunk/src'
make: *** [all-redirect] Error 2

The only other report of an issue like this I can find on the
mpich-discuss archives is from 2008 and involved icc, so I think this
problem is new.  If I have epic-failed in my search for previous
reports of this error, please point me to the archived solution.

Thanks,

Jeff


-- 
Jeff Hammond
Argonne Leadership Computing Facility
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 362709 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110215/1bb916c0/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 14113 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110215/1bb916c0/attachment-0003.bin>


More information about the mpich-discuss mailing list