xmkmfは次のように成功(?)して終わります。

$ xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config

>>593のURLでは、このあと make tgif, make install と進むのですが、

$ make tgif
gcc tgif.o -ldl -lm -o tgif
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
make: *** [tgif] Error 1

となり失敗してしまうのです。
対処法を教えてください。