Author: Jared ProudfootDate: 2000-05-01 19:11 UTC To: exim-usersSubject: [Exim] Compiling with
Greetings,
I'm having a problem compiling exim 3.13 with SUPPORT_PAM defined on a
Redhat 6.1, Intel Linux box. Whenever I try and compile, I get the
following errors:
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 smtp_out.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 \
auths/auths.a \
-lnsl -lcrypt -ldb -lresolv \
auths/auths.a(call_pam.o): In function `auth_call_pam':
call_pam.o(.text+0x15a): undefined reference to `pam_start'
call_pam.o(.text+0x170): undefined reference to `pam_authenticate'
call_pam.o(.text+0x18f): undefined reference to `pam_acct_mgmt'
call_pam.o(.text+0x19e): undefined reference to `pam_end'
call_pam.o(.text+0x1c5): undefined reference to `pam_strerror'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/root/exim-3.13/build-Linux-i386'
make: *** [go] Error 2
If anyone knows where I'm going wrong, I would appreciate it.
Thanks in advance,
Jared Proudfoot