We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On OpenBSD 6.4-STABLE, compilation of master fails:
master
$ gmake cc -O3 -Wall -Wextra -Wno-unused-parameter -Werror -Iinc -o bcal src/bcal.c -lreadline /usr/bin/../lib/libreadline.so.4.0: undefined reference to `tgetnum' /usr/bin/../lib/libreadline.so.4.0: undefined reference to `tgoto' /usr/bin/../lib/libreadline.so.4.0: undefined reference to `tgetflag' /usr/bin/../lib/libreadline.so.4.0: undefined reference to `tputs' /usr/bin/../lib/libreadline.so.4.0: undefined reference to `tgetent' /usr/bin/../lib/libreadline.so.4.0: undefined reference to `tgetstr'
Adding -lcurses fixes the issue:
-lcurses
$ gmake LDLIBS="-lreadline -lcurses" cc -O3 -Wall -Wextra -Wno-unused-parameter -Werror -Iinc -o bcal src/bcal.c -lreadline -lcurses $
Not sure if it's safe to add -lcurses by default.
The text was updated successfully, but these errors were encountered:
Now that you have made LDLIBS flexible, I think you can take care of this downstream. bcal doesn't use ncurses.
bcal
ncurses
Sorry, something went wrong.
It's readline that uses the functions. Odd because readline is used on every platform and OpenBSD uses GNU readline like everyone else.
In any case if you don't feel good about including it here I'll do it downstream.
No branches or pull requests
On OpenBSD 6.4-STABLE, compilation of
master
fails:Adding
-lcurses
fixes the issue:Not sure if it's safe to add
-lcurses
by default.The text was updated successfully, but these errors were encountered: