DALnet / bahamut

The Bahamut IRC Daemon
http://www.dal.net/?page=Bahamut
Other
57 stars 42 forks source link

Ubuntu 22 compilation errors #218

Open rscs opened 1 year ago

rscs commented 1 year ago

This keeps coming up as we install on newer boxes.

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