Problem with iconv undefined

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sat Jul 5 00:59:00 GMT 2003


    It is supposed to recognize that libiconv does not exist, and not use
    it.  If this is broken, it is a bug in upstream gettext.

I think it does exist.  Here are the relevant lines
from config.log in intl:

configure:5523: checking for iconv
configure:5625: checking how to link with libiconv
configure:5627: result: -liconv
configure:5638: checking for iconv declaration
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, ch
ar * *outbuf, size_t *outbytesleft);
configure:6443: gcc -o conftest -g -O2    conftest.c  -lintl -liconv >&5
am_cv_func_iconv=yes
am_cv_lib_iconv=yes
am_cv_lib_iconv_ldpath=''
am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbyt
esleft, char * *outbuf, size_t *outbytesleft);'
am_cv_proto_iconv_arg1=''
INTLLIBS='${top_builddir}/intl/libintl.a -liconv'
LIBICONV='-liconv'
LIBINTL='${top_builddir}/intl/libintl.a -liconv'
LTLIBICONV='-liconv'
LTLIBINTL='${top_builddir}/intl/libintl.a -liconv'

But I'm not sure what's supposed to happen with this.



More information about the Gcc mailing list