Skip to content
New issue

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

Build fails on Fedora core 39 #1549

Closed
j4mbob opened this issue May 11, 2024 · 2 comments
Closed

Build fails on Fedora core 39 #1549

j4mbob opened this issue May 11, 2024 · 2 comments
Labels
build Solved Solution provided

Comments

@j4mbob
Copy link

j4mbob commented May 11, 2024

Hi,

trying to buil hamlib from source on a FC39 machine and get the following when running make:

make[1]: Entering directory '/home/jamie/Hamlib/c++'
CXX rigclass.lo
CXX rotclass.lo
CXX ampclass.lo
CXXLD libhamlib++.la
make[1]: Leaving directory '/home/jamie/Hamlib/c++'
Making all in tests
make[1]: Entering directory '/home/jamie/Hamlib/tests'
CC rigctl-rigctl.o
rigctl.c: In function ‘main’:
rigctl.c:714:9: error: ‘rl_readline_name’ undeclared (first use in this function)
714 | rl_readline_name = "rigctl";
| ^~~~~~~~~~~~~~~~
rigctl.c:714:9: note: each undeclared identifier is reported only once for each function it appears in
rigctl.c:717:9: warning: implicit declaration of function ‘using_history’; did you mean ‘write_history’? [-Wimplicit-function-declaration]
717 | using_history(); /* Initialize Readline History */
| ^~~~~~~~~~~~~
| write_history
make[1]: *** [Makefile:1423: rigctl-rigctl.o] Error 1
make[1]: Leaving directory '/home/jamie/Hamlib/tests'
make: *** [Makefile:635: all-recursive] Error 1

can anyone suggest anything?

many thanks

@mdblack98
Copy link
Contributor

Try this:
sudo dnf makecache --refresh
sudo dnf -y install libreadline-dev

@j4mbob
Copy link
Author

j4mbob commented May 11, 2024

ah yes that works, installing the readline-devel rpm. sorry, i should have thought to look if readline was an external libary that was needed

thank you

@mdblack98 mdblack98 added the Solved Solution provided label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Solved Solution provided
Projects
None yet
Development

No branches or pull requests

2 participants