On Wed, Aug 01, 2001 at 03:43:20PM -0700, Greg White wrote:
> On Wed, Aug 01, 2001 at 04:14:16PM -0500, Proc Meminfo wrote:
> > Hey, I am receiving the following errors while doing 'make setup check':
> >
> > dns.o: In function 'resolve':
> > dns.o(.text+0xf8): undefined reference to '__dn_expand'
> > dns.o: In function 'findname':
> > dns.o(.text+0x1bc): undefined reference to '__dn_expand'
> > dns.o(.text+0x24c): undefined reference to '__dn_expand'
> > dns.o: In function 'findip':
> > dns.o(.text+0x2ae): undefined reference to '__dn_expand'
> > dns.o: In function 'findmx':
> > dns.o(.text+0x3ac): undefined reference to '__dn_expand'
> > dns.o(.text+0x45a): more undefined references to '__dn_expand' follow
> > dns.o: In function 'dns_init':
> > dns.o(.text+0x4a3): undefined reference to '__res_search'
> > dns.o(.data+0xc): undefined reference to '__res_query'
> > collect2: ld returned 1 exit status
> > make: *** [qmail-remote] Error 1
>
> qmail appears to be attempting to link again your local resolver library
> and not being able to find it. Do you have /usr/include/resolv.h?
> This isn't really a qmail issue -- just install the resolver library and
> all should be well.
>
> GW
I noted your other reply -- all those references are contained in my
resolv.h, both on my FreeBSD and Linux boxen.
Please verify for me that resolv.h contains references to those
functions -- they're right at the top of the file.
If so, what are the contents of dns.lib in the qmail source tree?
(Should be '-lresolv').
--
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy