parMETIS under CYGWIN - compilation problems

I would like to ask if someone else tried to compile parMETIS under cygwin, I have encountered compilation problem when make is unable to create dynamicaly linked library (make goes well until the libparmetis).

console read ../libparmetis.a(coarsen.o):coarsen.c:(.text+####): undefined reference to `_MPI_*'

(the #### and * wildcards used just to generalize the error code because it spits out 20 lines of various undefined references.

I tried to use nmag package, mpich has been installed.

I would be glad for any information. Thank You.

RE: I have not tried building

I have not tried building under cygwin but the error message suggests that it cannot find the MPI libraries. Did you build/install them?