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

Ubuntu 22 compilation errors #218

Open
rscs opened this issue Feb 22, 2023 · 0 comments
Open

Ubuntu 22 compilation errors #218

rscs opened this issue Feb 22, 2023 · 0 comments
Assignees
Labels

Comments

@rscs
Copy link
Contributor

rscs commented Feb 22, 2023

This keeps coming up as we install on newer boxes.

[2022-06-13 17:56:16] <RuneB> /usr/bin/ld: res.o: in function `query_name':
[2022-06-13 17:56:16] <RuneB> /home/ircd/bahamut-2.2.1/src/res.c:622: undefined reference to `__res_mkquery'
[2022-06-13 17:56:16] <RuneB> /usr/bin/ld: res.o: in function `proc_answer':
[2022-06-13 17:56:16] <RuneB> /home/ircd/bahamut-2.2.1/src/res.c:870: undefined reference to `__dn_expand'
[2022-06-13 17:56:16] <RuneB> /usr/bin/ld: /home/ircd/bahamut-2.2.1/src/res.c:968: undefined reference to `__dn_expand'
[2022-06-13 17:56:16] <RuneB> /usr/bin/ld: /home/ircd/bahamut-2.2.1/src/res.c:1138: undefined reference to `__dn_expand'
[2022-06-13 17:56:16] <RuneB> /usr/bin/ld: /home/ircd/bahamut-2.2.1/src/res.c:1270: undefined reference to `__dn_expand'
[2022-06-13 18:03:41] <brandon> hm
[2022-06-13 18:03:51] <brandon> ubuntu 22 problems? some newer library somewhere?
[2022-06-13 18:05:09] <RuneB> yeah, ubuntu 22 moved stuff around
[2022-06-13 18:06:41] <RuneB> ah, commented out #define res_mkquery __res_mkquery and #define dn_expand __dn_expand in include/resolv.h
[2022-06-13 18:07:38] <RuneB> the man page has res_init and res_mkquery under a Deprecated section, so we'll see if it actually still works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants