On Tue, Nov 12, 2002 at 09:43:30PM +0100, Didier Geheniau wrote: > Thxs brandon and paul that worked > > Now I have the following error: > > dns.o: In function `resolve': > dns.o(.text+0x1d5): undefined reference to `__dn_expand' > dns.o: In function `findname': > dns.o(.text+0x27f): undefined reference to `__dn_expand' > dns.o(.text+0x2f9): undefined reference to `__dn_expand' > dns.o: In function `findip': > dns.o(.text+0x38b): undefined reference to `__dn_expand' > dns.o: In function `findmx': > dns.o(.text+0x48f): undefined reference to `__dn_expand' > dns.o(.text+0x52b): more undefined references to `__dn_expand' follow > dns.o: In function `dns_init': > dns.o(.text+0x589): undefined reference to `__res_search' > dns.o(.data+0x10): undefined reference to `__res_query' > collect2: ld returned 1 exit status > make: *** [qmail-remote] Error 1 >
What operating system is that? What does your dns.lib file tell you? Is it correct for your OS? For OpenBSD for example I have "-lresolv" in dns.lib -- :wq Claudio