[mpich-discuss] (no subject)
c00jsh00 at nchc.narl.org.tw
c00jsh00 at nchc.narl.org.tw
Thu Apr 28 08:26:25 CDT 2011
Hi,
I am trying to install mpich2-1.3.2p1 on my 64-bit Windows 7 with Cygwin
( 1.7.8(0.236/5/3) 2011-03-01 09:36 i686 Cygwin), the compilation is almost successful, it failed with error messages:
...
make[7]: `/cygdrive/g/mpich2-1.3.2p1/src/mpe2/lib/libmpe_nompi.a' is up to date.
make --no-print-directory /cygdrive/g/mpich2-1.3.2p1/src/mpe2/lib/libmpe.a
/cygdrive/g/mpich2-1.3.2p1/bin/mpicc -I.. -I../include -I../../.. -I../../../include -o dbxerr.po -c dbxerr.c
dbxerr.c: In function ‘MPE_DefaultHandler’:
dbxerr.c:429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
dbxerr.c:459: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
dbxerr.c:475: error: argument ‘sig’ doesn’t match prototype
dbxerr.c:407: error: prototype declaration
dbxerr.c:475: error: expected ‘{’ at end of input
make[7]: *** [dbxerr.po] Error 1
make[6]: *** [default] Error 2
make[5]: *** [build_lib_bin] Error 2
make[4]: *** [all] Error 2
....
make all-postamble
make[1]: Entering directory `/cygdrive/g/mpich2-1.3.2p1'
( cd examples && make )
make[2]: Entering directory `/cygdrive/g/mpich2-1.3.2p1/examples'
../bin/mpicc -o cpi cpi.o -lm
/cygdrive/g/mpich2-1.3.2p1/lib/libmpich.a(strerror.o):strerror.c:(.text+0x28): undefined reference to `__xpg_strerror_r'
collect2: ld returned 1 exit status
make[2]: *** [cpi] Error 1
make[2]: Leaving directory `/cygdrive/g/mpich2-1.3.2p1/examples'
make[1]: *** [all-postamble] Error 2
make[1]: Leaving directory `/cygdrive/g/mpich2-1.3.2p1'
make: *** [all-redirect] Error 2
The version of gcc is 4.3.4. Any suggestion on what might be wrong?
Thanks for your help.
Jyh-Shyong Ho, Ph.D.
Research Scientist
National Center for High Performance Computing
Hsinchu, Taiwan, ROC
More information about the mpich-discuss
mailing list