compiling on alma linux 9.2
Got this errors in while runing make:
/usr/bin/ld: res.o: in function query_name': /home/ircd/bahamut-2.2.2/src/res.c:622: undefined reference to __res_mkquery'
/usr/bin/ld: res.o: in function proc_answer': /home/ircd/bahamut-2.2.2/src/res.c:870: undefined reference to __dn_expand'
/usr/bin/ld: /home/ircd/bahamut-2.2.2/src/res.c:968: undefined reference to __dn_expand' /usr/bin/ld: /home/ircd/bahamut-2.2.2/src/res.c:1138: undefined reference to __dn_expand'
/usr/bin/ld: /home/ircd/bahamut-2.2.2/src/res.c:1270: undefined reference to `__dn_expand'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:52: ircd] Error 1
As oper https://forums.centos.org/viewtopic.php?t=79952 this might be related to the version of glibc, in reference to https://lwn.net/Articles/864920/ Various symbols previously defined in libresolv have been moved to libc in order to prepare for libresolv moving entirely into libc (see earlier entry for merging libraries into libc). The symbols __dn_comp, __dn_expand, __dn_skipname, __res_dnok, __res_hnok, __res_mailok, __res_mkquery, __res_nmkquery, __res_nquery, __res_nquerydomain, __res_nsearch, __res_nsend, __res_ownok, __res_query, __res_querydomain, __res_search, __res_send formerly in libresolv have been renamed and no longer have a __ prefix. They are now available in libc.
Still looking for a solution while testing alternatives posted here https://forums.fedoraforum.org/showthread.php?328828-Installing-libresolv-so&p=1860899
In Centos 7 9 compiles without problems., no warnings, all perfect rocky linux 9, same as alma linux 9, just as a reference, of course they are from the same branch, same error and no ircd binary generated
Sorry for the delay. I'll be looking into this. I'll privmsg you to get access to a VM where compilation fails to test.
Can you try compiling from main? We believe #219 addressed this
Confirmed #219 fixes the problem. Releasing 2.2.3 soon but compiling main works
compiles fine now, gives some warnings, but it compiled the ircd, going to test now
working perfect so far. thanks