[MPICH] Compiling under cygwin

Radu Serban radu at llnl.gov
Fri May 25 16:02:40 CDT 2007


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