Open CaeSpock opened 10 months ago
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
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 functionproc_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