[Exim] Bug in compiling 3.34

Top Page
Delete this message
Reply to this message
Author: George R Kasica
Date:  
To: exim-users
CC: Philip Hazel, twells
Old-Topics: [Exim] Exim 3.34 released
Subject: [Exim] Bug in compiling 3.34
Hello:

Just tried to compile 3.34 here under linux and am seeing the
following bug when I do the make....I'm using the same Makefile and
Local directories as 3.33 which compiles just fine....

Here is the output of make (some up to dates as I've run it multiple
times):

>[root@eagle exim-3.34]# make
>`Makefile' is up to date.
>
>make[1]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386'
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/pcre'
>make[2]: Nothing to be done for `all'.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/pcre'
>gcc -o em_version.o -c \
>  -O -I/usr/X11R6/include -I. ../exim_monitor/em_version.c
>gcc -o eximon.bin em_version.o  -L/usr/X11R6/lib \
>dummies.o spool_in.o store.o string.o tree.o em_StripChart.o em_TextPop.o em_glo
>bals.o em_init.o em_log.o em_main.o em_menu.o em_queue.o em_strip.o em_text.o em
>_xs.o -lXaw -lXmu -lXt -lXext -lX11 pcre/libpcre.a \
>  -lnsl -lcrypt    -lc

>
>>>> exim monitor binary built
>
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/libide
>nt'
>make[2]: `libident.a' is up to date.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/libiden
>t'
>
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/lookup
>s'
>make[2]: `lookups.a' is up to date.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/lookups
>'
>
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/direct
>ors'
>make[2]: `directors.a' is up to date.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/directo
>rs'
>
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/router
>s'
>make[2]: `routers.a' is up to date.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/routers
>'
>
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/transp
>orts'
>make[2]: `transports.a' is up to date.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/transpo
>rts'
>
>make[2]: Entering directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/auths'
>make[2]: `auths.a' is up to date.
>make[2]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386/auths'
>
>awk '{ print ($1+1) }' cnumber.h > cnumber.temp
>/bin/rm -f cnumber.h; mv cnumber.temp cnumber.h
>gcc -c -O    version.c
>/bin/rm -f exim
>gcc -o exim  accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o directo
>ry.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o host.o log.o m
>atch.o moan.o os.o parse.o queue.o readconf.o retry.o rewrite.o route.o search.o
> smtp_in.o smtp_out.o spool_in.o spool_out.o store.o string.o tls.o tod.o transp
>ort.o tree.o verify.o perl.o version.o \
>  libident/libident.a pcre/libpcre.a directors/directors.a \
>  routers/routers.a transports/transports.a lookups/lookups.a \
>  auths/auths.a \
>  -lnsl -lcrypt     \
>  -ldb -lresolv  -rdynamic  -L/usr/local/lib /usr/local/lib/perl5/5.6.1/i686-lin
>ux/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.1/i686-linux/CORE -lp
>erl -lnsl -ldl -lm -lc -lposix -lcrypt -lutil
>dns.o: In function `dns_init':
>dns.o(.text+0x8): undefined reference to `__res_state'
>dns.o(.text+0x15): undefined reference to `__res_init'
>dns.o(.text+0x27): undefined reference to `__res_state'
>dns.o(.text+0x5f): undefined reference to `__res_state'
>dns.o(.text+0x76): undefined reference to `__res_state'
>dns.o: In function `dns_next_rr':
>dns.o(.text+0xdd): undefined reference to `__dn_expand'
>dns.o(.text+0x140): undefined reference to `__dn_expand'
>dns.o(.text+0x1b0): undefined reference to `__dn_expand'
>dns.o: In function `dns_basic_lookup':
>dns.o(.text+0x4fa): undefined reference to `__res_search'
>dns.o: In function `dns_lookup':
>dns.o(.text+0x86c): undefined reference to `__dn_expand'
>host.o: In function `host_find_bydns':
>host.o(.text+0x160c): undefined reference to `__dn_expand'
>collect2: ld returned 1 exit status
>make[1]: *** [exim] Error 1
>make[1]: Leaving directory `/mnt/scsi-1/Linux/exim-3.34/build-Linux-i386'
>make: *** [go] Error 2



Any assistance in getting this to build??

George



===[George R. Kasica]===        +1 262 677 0766
President                       +1 206 374 6482 FAX
Netwrx Consulting Inc.          Jackson, WI USA
http://www.netwrx1.com
georgek@???
ICQ #12862186