Re: compilation on Mac OS 10.14.3

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Hi Oliver,

Oliver Kuehn <[email protected]> ha escrit:

> shell.c:328:27: error: expected expression
>     (rl_completion_func_t*) shell_completion;
>                           ^
> shell.c:328:6: error: use of undeclared identifier
>     'rl_completion_func_t'; did you mean 'rl_completion_matches'?

You use an outdated version of readline.

> shell.c:426:25: warning: incompatible pointer types assigning to 'Function *' (aka 'int (*)(const char *, int)') from 'int (void)' [-Wincompatible-pointer-types]

The 'Function' typedef was removed from readline 4.3 (some 17 years
ago). Current version of readline is 8.0 (released one month ago).

There are two choices:

1) Install newer readline (at least 5.2)

or

2) Configure mailutils without readline:

  ./configure --without-readline

Regards,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.