On Tue, Oct 21, 2008 at 07:39:51PM +0200, Ben de Groot wrote:
corvid wrote:
form.cc: In member function ???Dstr* DilloHtmlForm::encodeText(void*, Dstr**)???: form.cc:1261: error: invalid conversion from ???const char**??? to ???char**??? form.cc:1261: error: initializing argument 2 of ???size_t iconv(void*, char**, size_t*, char**, size_t*)???
Did you run configure yourself? What type does inbuf_t have in config.log?
yes, I ran configure first, with: ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gif --disable-ipv6 --enable-jpeg --enable-png --enable-ssl --build=i686-pc-linux-gnu
% grep inbuf_t work/dillo-2.0/config.log #define inbuf_t const char
It looks like the test in configure.in detects iconv() in a strange way. What's inconv's signature in your OS? Just for testing try setting [char] instead of [const char] in configure.in:348. -- Cheers Jorge.-