[uClibc]And here is the Exim error log!

Erik Andersen andersen at codepoet.org
Tue Nov 5 16:14:45 UTC 2002


On Tue Nov 05, 2002 at 09:27:49AM -0200, Eduardo B. Fonseca wrote:
> As the subject suggests, here is the Exim compilation error log!
> 
> Thanks for all the help!
> 
> Eduardo.
> 

[------------snip-----------------]
> dns.o: In function `dns_next_rr':
> dns.o(.text+0xe8): undefined reference to `__dn_expand'
> dns.o(.text+0x150): undefined reference to `__dn_expand'
> dns.o(.text+0x1c4): undefined reference to `__dn_expand'
> dns.o: In function `dns_basic_lookup':
> dns.o(.text+0x505): undefined reference to `__res_search'
> dns.o: In function `dns_lookup':
> dns.o(.text+0x854): undefined reference to `__dn_expand'
> host.o: In function `host_find_bydns':
> host.o(.text+0x1a0f): undefined reference to `__dn_expand'
> collect2: ld returned 1 exit status

It appears exim is trying to use features provided by
glibc's /lib/libresolv.so.2 that are not provided by 
uClibc.  Specifically, it is trying to use the functions
res_search() and dn_expand().

Quoting from the 'man' page:
    The res_search() function makes a query and waits for the
    response like res_query(), but in addition implements the
    default and search rules controlled by RES_DEFNAMES and
    RES_DNSRCH (see description of _res options below).

    The dn_expand() function expands the compressed domain name
    comp_dn to a full domain name, which is placed in the buffer
    exp_dn of size length. The compressed name is contained in a
    query or reply message, and msg points to the beginning of
    the message.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list