I have an ircd server which does name lookups using the resolv library. As the software is quite old, over time the automatic configuration script selecting the resolving libraries for various platforms has been broken. I'd like to see it fixed so the project compiles without error again.
The Makefile for this project currently contains the following:
# Some SunOS versions want this. ? Try it without first.
#RES=res_init.o res_comp.o res_mkquery.o
# BSDI systems want this.
# Recent Linux systems seem to expect this:
# The rest are perfectly content with this.
But compilation results in the following error:
gcc -I../include -O2 ? bsd.o dbuf.o packet.o send.o match.o parse.o support.o channel.o class.o hash.o ircd.o list.o res.o masking.o s_bsd.o s_conf.o s_debug.o s_err.o s_misc.o s_numeric.o s_ping.o s_serv.o s_user.o s_zip.o whowas.o userload.o md5.o res_init.o ? version.o ? -lcrypt -lresolv -lz -o ircd
res.o: In function `query_name':
res.c:(.text+0xc88): undefined reference to `res_mkquery'
res.o: In function `get_res':
res.c:(.text+0x13e2): undefined reference to `dn_expand'
res.c:(.text+0x15f0): undefined reference to `dn_expand'
collect2: ld returned 1 exit status
make: *** [ircd] Error 1
make: Leaving directory `/home/ircd/[url removed, login to view]'
make: *** [build] Error 2
The ircd can be found at [url removed, login to view]
I can provide you with access to one or two servers to test the patch in.