[SA-exim] make problem

Marc MERLIN marc at merlins.org
Fri Dec 20 14:41:57 2002


On Fri, Dec 20, 2002 at 02:42:48PM +0200, Thomas Kinghorn wrote:
> trying to follow the build instructions for sa-exim-2.2.
> 
> Here is the error i am getting.
> 
> # make sa-exim-2.2.so
> Building sa-exim-2.2.so
> gcc -I/downloads/exim-4.10/src  -DDLOPEN_LOCAL_SCAN
> -DSPAMASSASSIN_CONF=\"/usr/exim/spamassassin.conf\"
> -DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -o sa-exim-2.2.so
> sa-exim.c
> sa-exim.c: In function `local_scan_version':
> sa-exim.c:37: `LOCAL_SCAN_ABI_VERSION' undeclared (first use in this
> function)
> sa-exim.c:37: (Each undeclared identifier is reported only once
> sa-exim.c:37: for each function it appears in.)
> sa-exim.c:350:2: warning: #warning you should not worry about the "might be
> clobbered by longjmp", see source

You are compliing sa-exim with -DDLOPEN_LOCAL_SCAN
This is defined in exim's local_scan.h, but only if you patched exim
with localscan_dlopen.patch

Either, you should not define -DDLOPEN_LOCAL_SCAN and copy sa-exim.c
as local_scan.c in exim's source, or you should apply the patch I
mentionned.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key



More information about the SA-Exim mailing list