Re: Linux compilation woes

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Bill
CC: exim-users
New-Topics: Upgrading to 1.70
Subject: Re: Linux compilation woes
On Wed, 3 Sep 1997, Bill wrote:

> I'm workingon installing 1.70, I've installed the one patch file and
> it looks like all is well up until the final moment when the make
> dies with:
>
> gcc -o exim accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o directory.o drtables.o exim.o expand.o filter.o globals.o header.o host.o log.o match.o moan.o os.o parse.o queue.o readconf.o regexp.o retry.o rewrite.o route.o search.o smtp_in.o


spool_in.o spool_out.o store.o string.o tod.o transport.o tree.o verify.o version.o \
>      libident/libident.a directors/directors.a routers/routers.a \
>      transports/transports.a \
>         -ldb 
> host.o: In function `next_rr':
> host.o(.text+0xa8b): undefined reference to `__dn_expand'
> host.o(.text+0xb07): undefined reference to `__dn_expand'
> host.o(.text+0xb9e): undefined reference to `__dn_expand'
> host.o: In function `dns_init':
> host.o(.text+0xc52): undefined reference to `__res_init'
> host.o: In function `dns_basic_lookup':
> host.o(.text+0xd13): undefined reference to `__res_search'
> host.o: In function `dns_lookup':
> host.o(.text+0xf97): undefined reference to `__dn_expand'
> host.o: In function `host_find_bydns':
> host.o(.text+0x13f4): undefined reference to `__dn_expand'
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory `/usr/src/exim-1.70/build-Linux-i486-linux'
> make: *** [go] Error 2


That indicates it is failing to find the library containing the DNS
resolver functions. I'm afraid I'm not a Linux person, but perhaps you
have to supply -lsomething to get them.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/