bahamut icon indicating copy to clipboard operation
bahamut copied to clipboard

Compilation error on debian 12 [...] undefined « __dn_expand »

Open dktmb opened this issue 2 years ago • 3 comments

Hi there,

Have seen #218 but I'm not able to understand what I have to do to fix this issue. After ./configure, make returns these errors :

/home/ltef/IRC/bahamut-2.1.5/src/res.c:622 : undefined reference « __res_mkquery » /usr/bin/ld : res.o : in function « proc_answer » : /home/ltef/IRC/bahamut-2.1.5/src/res.c:870 :undefined reference to « __dn_expand » /usr/bin/ld : /home/ltef/IRC/bahamut-2.1.5/src/res.c:968 : undefined reference to « __dn_expand » /usr/bin/ld : /home/ltef/IRC/bahamut-2.1.5/src/res.c:1138 : undefined reference to « __dn_expand » /usr/bin/ld : /home/ltef/IRC/bahamut-2.1.5/src/res.c:1270 : undefined reference to « __dn_expand »

Any suggestion will be appreciated ! Thanks,

dktmb avatar Nov 09 '23 17:11 dktmb

Weird. I can combile main on Ubuntu 23 with no issues. Let me try with Ubuntu 22.

eaescob avatar Dec 01 '23 02:12 eaescob

Valid. I'll cut a new release that fixes this.

eaescob avatar Dec 01 '23 02:12 eaescob

But PR #219 fixes this

eaescob avatar Dec 01 '23 02:12 eaescob