------- Comment #6 from rmathew at gcc dot gnu dot org 2006-12-12 12:27 ------- The real problem (IIRC) was that "iconv_t" was being used even though there was no libiconv (I think the inclusion of the header file was properly guarded, but the usage of the type wasn't).
MinGW uses the Windows C runtime library which does not have iconv support. There *is* a port of libiconv for MinGW (see the "mingwPORT" section in http://www.mingw.org/download.shtml), but the user/developer has to install it separately - it does not come by default with the MinGW runtime library packages ("mingw-runtime" and "w32api"). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28265