Menu

#22 build fails on readline

2.x
closed-fixed
None
5
2018-11-23
2018-11-23
Don Park
No

I hit the '0xa' bug in 2.5 and was delighted to see its been fixed already. I went to checkout HEAD (r968) and it built fine the first time then I realized there was no readline support so I installed libreadline-dev (7.0-3 in ubuntu 18.04) and the build fails with readline symbols not found:

cli/main.c: In function ‘wcalc_completion’:
cli/main.c:235:17: error: ‘rl_line_buffer’ undeclared (first use in this function); did you mean ‘rl_linebuf_func_t’?
if ('\' == rl_line_buffer[0]) {
^~~~~~~~~~~~~~
rl_linebuf_func_t

cli/main.c:259:43: error: ‘rl_filename_completion_function’ undeclared (first use in this function); did you mean ‘rl_completion_func_t’?
rl_filename_completion_function);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rl_completion_func_t

etc etc. is there a fix for this? thanks, and thanks for wcalc!!

Discussion

  • Kyle Wheeler

    Kyle Wheeler - 2018-11-23
    • status: open --> closed-fixed
    • assigned_to: Kyle Wheeler
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.