I've checked the packaging in Cygwin for libgpg-error. I think that the workaround with the Make variable no_undefined makes sense. That is, build with: make no_undefined=-no-undefined --