The iconv functions (iconv, iconv_open, and iconv_close) cannot be found by configure because it doesn't include "iconv.h" where iconv is defined as libiconv, iconv_open as libiconv_open, and iconv_close as libiconv_close.
I suggest changing the iconv functions to: 1. check if iconv.h exists 2. when checking for iconv, iconv_open, and iconv_close then include the iconv.h header, otherwise use the explicit prototype. -- Summary: iconv functions not found by libstdc++v3 configure Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mjscod at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22339