Problems building sa-exim (both 3.0 and CVS) with Exim v4.21

Tom Murphy <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Hi all,

  I'm having problems trying to build Exim after
patching the local_scan.c. I downloaded the CVS
sa-exim and patched with the
"localscan_dlopen_exim_4.20_or_better.patch":

patching file src/EDITME
Hunk #1 succeeded at 404 (offset 16 lines).
patching file src/config.h.defaults
patching file src/globals.c
Hunk #1 succeeded at 104 (offset 1 line).
patching file src/globals.h
Hunk #1 succeeded at 68 (offset 1 line).
patching file src/local_scan.c
patching file src/readconf.c
Hunk #1 succeeded at 217 (offset 35 lines).


So far so good.. but when I compile Exim v4.21
(and I enabled LOCAL_SCAN_HAS_OPTIONS=yes in the
Local/Makefile), I get:
readconf.o: In function `readconf_print':
readconf.o(.text+0x29b7): undefined reference to
`local_scan_options'
readconf.o(.text+0x29bc): undefined reference to
`local_scan_options_count'
readconf.o(.text+0x29c8): undefined reference to
`local_scan_options'
readconf.o(.text+0x29d9): undefined reference to
`local_scan_options'
readconf.o(.text+0x29ef): undefined reference to
`local_scan_options_count'
readconf.o(.text+0x29f9): undefined reference to
`local_scan_options'
readconf.o: In function `local_scan_init':
readconf.o(.text+0x463c): undefined reference to
`local_scan_options_count'
readconf.o(.text+0x4641): undefined reference to
`local_scan_options'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1

Is there something I am doing wrong?

Thanks,
Tom


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.