bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile problem when cross compiling


From: t3sserakt
Subject: Re: Compile problem when cross compiling
Date: Fri, 14 Jun 2024 17:55:27 +0000

On 6/14/24 15:40, Bruno Haible wrote:
some problem trying to cross compile (see below).

iconv-ostream.c:311:3: error: incompatible function pointer types
initializing 'void (*)(iconv_ostream_t, ostream_flush_scope_t)' (aka
'void (*)(struct any_ostream_representation *, ostream_flush_scope_t)')
with an expression of type 'void (iconv_ostream_t)' (aka 'void (struct
any_ostream_representation *)') [-Wincompatible-function-pointer-types]
    iconv_ostream__flush,
    ^~~~~~~~~~~~~~~~~~~~
1 error generated.
It looks like HAVE_ICONV_H is not defined in your build. This means that
the prerequisite iconv API is not available (or deficient) on your platform.
See the DEPENDENCIES file. This fix is to build and install GNU libiconv
first, and pass a --with-libiconv-prefix option to configure.

That helped, thx!

Happy hacking!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]