"Pierre" <pierre42d@9online.fr> writes:
> /usr/local/include/readline/history.h:46: error: redefinition of `struct
> _hist_entry'
> /usr/local/include/readline/history.h:83: error: conflicting types for
> 'add_history'
> /usr/local/include/readline/readline.h:94: error: previous declaration of
> 'add_history' was here
> /usr/local/include/readline/history.h:83: error: conflicting types for
> 'add_history'
> /usr/local/include/readline/readline.h:94: error: previous declaration of
> 'add_history' was here
This is not our problem, it's yours. You have a broken --- ie, not
self-consistent --- set of readline header files in /usr/local.
Why are you using a locally built readline library at all? It should
be available as part of whatever Linux distribution you are using.
regards, tom lane