libgd didn't compile - the progressive_mode in the jpeg_decompress_struct was missing. i downloaded libjpeg and installed that one (which was in fact the same version than that installed by cygwin-setup) now libgd does compile ...