[MPICH] Compiling under cygwin

Anthony Chan chan at mcs.anl.gov
Fri May 25 16:48:47 CDT 2007


Try mpich2 instead, you should have better luck in getting mpich2
compiled under cygwin.

A.Chan

On Fri, 25 May 2007, Radu Serban wrote:

> I am having trouble getting mpich-1.2.7p1 compile under cygwin (gcc 3.4.4). The
> compilation stops with
>
> /home/serban1/mpich-1.2.7p1/bin/mpicc  -o overtake overtake.o test.o
> /home/serban1/mpich-1.2.7p1/lib/libmpich.a(bswap2.o):bswap2.c:(.text+0x50c):
> undefined reference to `_xdrmem_create'
> /home/serban1/mpich-1.2.7p1/lib/libmpich.a(bswap2.o):bswap2.c:(.text+0x639):
> undefined reference to `_xdr_opaque'
> ...
>
> These symbols are defined in librpclib.a:
>
> % nm /usr/lib/librpclib.a | grep 'T _xdrmem_create'
> 00000000 T _xdrmem_create
>
> Any suggestions?
>
> Thanks,
> --Radu
>
>




More information about the mpich-discuss mailing list