[EXIM] help

Top Page
Delete this message
Reply to this message
Author: felice murolo
Date:  
To: exim-users
Subject: [EXIM] help
Hi,
I'm Felice Murolo and i'm writing from Salerno, Italy [excuse me for
terrible english]
I've your exim1.90 and i'm trying to install it on my system.
I've some compilation problems and need HELP! Please help me, i'm spending
so much time to solve problem from myself, but i can't!
My machine:
Pentium 200mmx 64 mega ram
arch = i686
Linux 2.0.32
Distribution: Red Hat 5.0
dbm packages automatically installed from REDHAT 5.0:
-rw-r--r--   1 root     root       606438 Nov 10 18:33 gdb-4.16-9.i386.rpm
-rw-r--r--   1 root     root        13463 Nov 10 18:33
gdbm-1.7.3-14.i386.rpm
-rw-r--r--   1 root     root        29717 Nov 10 18:33
gdbm-devel-1.7.3-14.i386.rpm
I've opened the exim 1.9 archive in my root directory and I've changed
src/EDITME.
After this, i've run the make makefile and make configure, i've copied
src/EDITME as Local/Makefile.
In the OS/Makefile-Linux i've changed DBMLIB=-lndbm into DBMLIB=-lgdbm (with
default setting, make stops compilation with more errors of "library not
found" or "directory not found").


After this, i've executed make. It compile a lot of sources, but, when it
join ensable all the .o into exim executable, it found some errors of
undefined reference to two function: dn_expand and res_query (please, see at
the end of MAKE.OUT below).
Have you some ideas?
The system of mine is very standard, I think. I've installed RedHat and,
pratically, i've done nothing.
Ciao
felice murolo
felice@???

========================MAKE OUTPUT=======================================
cd build-${build:-`scripts/os-type`-`scripts/arch-type`}; make
make[1]: Entering directory `/root/exim-1.90/build-Linux-i386'
../scripts/Configure-config.h
make[2]: Entering directory `/root/exim-1.90/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386'
Building configuration file config.h
>>> config.h built

sed -e s?CONFIGURE_FILE?/usr/exim/configure? \
  -e s?BIN_DIRECTORY?/usr/exim/bin? \
  -e s?EXICYCLOG_MAX?10? \
  -e s?COMPRESS_COMMAND?/bin/gzip? \
  -e s?COMPRESS_SUFFIX?gz? \
  -e s?CHOWN_COMMAND?/usr/bin/chown? \
  -e s?CHGRP_COMMAND?/usr/bin/chgrp? \
  -e s?MV_COMMAND?/bin/mv? \
  -e s?RM_COMMAND?/bin/rm? \
       ../src/exicyclog.src > exicyclog-t

>>> exicyclog script built

sed -e s?CONFIGURE_FILE?/usr/exim/configure? -e
s?BIN_DIRECTORY?/usr/exim/bin? ../src/exinext.src > exinext-t
>>> exinext script built

sed -e s?CONFIGURE_FILE?/usr/exim/configure? \
       -e s?BIN_DIRECTORY?/usr/exim/bin? \
       -e s?EXIWHAT_PS_CMD?/bin/ps? \
       -e s?EXIWHAT_PS_ARG?-ax? \
       -e s?EXIWHAT_KILL_ARG?-USR1? \
       -e s?EXIWHAT_EGREP_ARG?'/exim( |$)'? \
       ../src/exiwhat.src > exiwhat-t

>>> exiwhat script built

sed -e s?PERL_COMMAND?/usr/bin/perl? \
       ../src/exigrep.src > ../util/exigrep-t

>>> exigrep script built in util directory

sed -e s?PERL_COMMAND?/usr/bin/perl? \
       ../src/eximstats.src > ../util/eximstats-t

>>> eximstats script built in util directory

sed -e s?PERL_COMMAND?/usr/bin/perl? \
       ../src/exiqsumm.src > ../util/exiqsumm-t

>>> exiqsumm script built in util directory

sed -e s?PERL_COMMAND?/usr/bin/perl? \
       ../src/transport-filter.src > ../util/transport-filter.pl-t

>>> transport-filter.pl script built in util directory

gcc -c -O    -I. os.c
gcc -O  -o exim_dbmbuild  exim_dbmbuild.c os.o \
       -lgdbm


>>> exim_dbmbuild utility built


gcc -c -O    -I. exim_dumpdb.c
gcc -c -O    -I. dbfn.c
gcc -c -O    -I. dummies.c
gcc -c -O    -I. store.c
gcc -c -O    -I. string.c
gcc -O  -o exim_dumpdb  exim_dumpdb.o dbfn.o dummies.o os.o store.o string.o
\
      -lgdbm


>>> exim_dumpdb utility built


gcc -c -O    -I. exim_fixdb.c
gcc -O  -o exim_fixdb  exim_fixdb.o dbfn.o dummies.o os.o store.o string.o
\
      -lgdbm


>>> exim_fixdb utility built


gcc -c -O    -I. exim_tidydb.c
gcc -O  -o exim_tidydb  exim_tidydb.o dbfn.o dummies.o os.o store.o string.o
\
      -lgdbm


>>> exim_tidydb utility built


make[2]: Entering directory `/root/exim-1.90/build-Linux-i386/libident'
gcc -O -DHAVE_ANSIHEADERS    -c ident.c -o ident.o
gcc -O -DHAVE_ANSIHEADERS    -c id_open.c -o id_open.o
gcc -O -DHAVE_ANSIHEADERS    -c id_close.c -o id_close.o
gcc -O -DHAVE_ANSIHEADERS    -c id_query.c -o id_query.o
gcc -O -DHAVE_ANSIHEADERS    -c id_parse.c -o id_parse.o
gcc -O -DHAVE_ANSIHEADERS    -c support.c -o support.o
gcc -O -DHAVE_ANSIHEADERS    -c version.c -o version.o
rm -f libident.a
ar cq libident.a ident.o id_open.o id_close.o id_query.o id_parse.o
support.o version.o
ranlib libident.a
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386/libident'


make[2]: Entering directory `/root/exim-1.90/build-Linux-i386/pcre'
gcc -o maketables -O maketables.c
./maketables >chartables.c
gcc -c -O chartables.c
gcc -c -O study.c
gcc -c -O pcre.c
/bin/rm -f libpcre.a
ar cq libpcre.a chartables.o study.o pcre.o
ranlib libpcre.a
gcc -c -O pcreposix.c
/bin/rm -f libpcreposix.a
ar cq libpcreposix.a pcreposix.o
ranlib libpcreposix.a
gcc -c -O pcretest.c
gcc -O -o pcretest pcretest.o libpcre.a libpcreposix.a
gcc -c -O pgrep.c
gcc -O -o pgrep pgrep.o libpcre.a
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386/pcre'

make[2]: Entering directory `/root/exim-1.90/build-Linux-i386/lookups'
gcc -c -O dbmdb.c
gcc -c -O dnsdb.c
gcc -c -O ldap.c
gcc -c -O lsearch.c
gcc -c -O nis.c
gcc -c -O nisplus.c
gcc -c -O testdb.c
/bin/rm -f lookups.a
ar cq lookups.a dbmdb.o dnsdb.o ldap.o lsearch.o nis.o nisplus.o testdb.o
ranlib lookups.a
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386/lookups'

make[2]: Entering directory `/root/exim-1.90/build-Linux-i386/directors'
gcc -c -O aliasfile.c
gcc -c -O forwardfile.c
gcc -c -O localuser.c
gcc -c -O smartuser.c
/bin/rm -f directors.a
ar cq directors.a aliasfile.o forwardfile.o localuser.o smartuser.o
ranlib directors.a
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386/directors'

make[2]: Entering directory `/root/exim-1.90/build-Linux-i386/routers'
gcc -c -O domainlist.c
gcc -c -O ipliteral.c
gcc -c -O iplookup.c
gcc -c -O lookuphost.c
gcc -c -O queryprogram.c
/bin/rm -f routers.a
ar cq routers.a domainlist.o ipliteral.o iplookup.o lookuphost.o
queryprogram.o
ranlib routers.a
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386/routers'

make[2]: Entering directory `/root/exim-1.90/build-Linux-i386/transports'
gcc -c -O appendfile.c
gcc -c -O autoreply.c
gcc -c -O debug.c
gcc -c -O pipe.c
gcc -c -O smtp.c
/bin/rm -f transports.a
ar cq transports.a appendfile.o autoreply.o debug.o pipe.o smtp.o
ranlib transports.a
make[2]: Leaving directory `/root/exim-1.90/build-Linux-i386/transports'

gcc -c -O    -I. accept.c
gcc -c -O    -I. child.c
gcc -c -O    -I. daemon.c
gcc -c -O    -I. debug.c
gcc -c -O    -I. deliver.c
gcc -c -O    -I. direct.c
gcc -c -O    -I. directory.c
gcc -c -O    -I. dns.c
gcc -c -O    -I. drtables.c
gcc -c -O    -I. exim.c
gcc -c -O    -I. expand.c
gcc -c -O    -I. filter.c
gcc -c -O    -I. globals.c
gcc -c -O    -I. header.c
gcc -c -O    -I. host.c
gcc -c -O    -I. log.c
gcc -c -O    -I. match.c
gcc -c -O    -I. moan.c
gcc -c -O    -I. parse.c
gcc -c -O    -I. queue.c
gcc -c -O    -I. readconf.c
gcc -c -O    -I. retry.c
gcc -c -O    -I. rewrite.c
gcc -c -O    -I. route.c
gcc -c -O    -I. search.c
gcc -c -O    -I. smtp_in.c
gcc -c -O    -I. spool_in.c
gcc -c -O    -I. spool_out.c
gcc -c -O    -I. tod.c
gcc -c -O    -I. transport.c
gcc -c -O    -I. tree.c
gcc -c -O    -I. verify.c
gcc -c -O    -I. version.c
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
directory.o dns.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 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 pcre/libpcre.a directors/directors.a \
     routers/routers.a transports/transports.a lookups/lookups.a \
        -lgdbm  \
make[1]: Leaving directory `/root/exim-1.90/build-Linux-i386'
dns.o: In function `dns_expand':
dns.o(.text+0xaf): undefined reference to `dn_expand'
dns.o: In function `dns_next_rr':
dns.o(.text+0x11b): undefined reference to `dn_expand'
dns.o(.text+0x1a7): undefined reference to `dn_expand'
dns.o(.text+0x245): undefined reference to `dn_expand'
dns.o: In function `dns_basic_lookup':
dns.o(.text+0x323): undefined reference to `res_search'
dns.o: In function `dns_lookup':
dns.o(.text+0x5de): undefined reference to `dn_expand'
make[1]: *** [exim] Error 1
make: *** [go] Error 2




--
*** Exim information can be found at http://www.exim.org/ ***