Hi, I'm trying to compile qmail-src_1.03-17_all.deb under debian 2.2r2 with a kernel 2.4.0. I typed build-qmail and then it started to compile just fine, but after a few seconds I got this error:
/load qmail-remote control.o constmap.o timeoutread.o \ timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \ ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \ lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \ str.a fs.a auto_qmail.o `cat dns.lib` `cat socket.lib` dns.o: In function `resolve': dns.o(.text+0x1d3): undefined reference to `dn_expand' dns.o: In function `findname': dns.o(.text+0x272): undefined reference to `dn_expand' dns.o(.text+0x2ea): undefined reference to `dn_expand' dns.o: In function `findip': dns.o(.text+0x36b): undefined reference to `dn_expand' dns.o: In function `findmx': dns.o(.text+0x462): undefined reference to `dn_expand' dns.o(.text+0x4fc): more undefined references to `dn_expand' follow dns.o: In function `dns_init': dns.o(.text+0x53f): undefined reference to `res_init' dns.o(.text+0x54d): undefined reference to `res_search' dns.o(.data+0x10): undefined reference to `res_query' collect2: ld returned 1 exit status make[1]: *** [qmail-remote] Error 1 make[1]: Leaving directory `/tmp/qmail/qmail-1.03' make: *** [build] Error 2 What am I missing? I know I'm able to see dn_expand man page. How can I get qmail to work? Thanks!