DALnet / bahamut

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

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

Closed dktmb closed 2 days ago

dktmb commented 9 months ago

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,

eaescob commented 9 months ago

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

eaescob commented 9 months ago

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

eaescob commented 9 months ago

But PR #219 fixes this