[SA-exim] Re: sa-exim.c not building
Marc MERLIN
marc at merlins.org
Tue May 6 08:57:11 PDT 2003
On Sat, May 03, 2003 at 01:22:32PM +0000, simon raven wrote:
> Building accept.so
> gcc -I../../src -I./eximinc -DDLOPEN_LOCAL_SCAN -DSPAMASSASSIN_CONF=\"/etc/exim4/spamassassin.conf\" -DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -o accept.so accept.c
> accept.c: In function `local_scan_version_major':
> accept.c:20: `LOCAL_SCAN_ABI_VERSION_MAJOR' undeclared (first use in this function)
> accept.c:20: (Each undeclared identifier is reported only once
> accept.c:20: for each function it appears in.)
> accept.c: In function `local_scan_version_minor':
> accept.c:25: `LOCAL_SCAN_ABI_VERSION_MINOR' undeclared (first use in this function)
I don't quite understand, accept.c has
#include "local_scan.h"
and the include path has "-I./eximinc", which defines the two above macros
is ../../src picking up a different local_scan.h which wasn't patched for
dlopen (i.e. which doesn't have the macros)?
Do you mind investigating why you're seeing this?
(I got a couple of similar reports, and it's not making sense to me)
On Sat, May 03, 2003 at 03:42:05PM +0000, simon raven wrote:
> well, i cheated, and removed the version checking. i have no idea if it
> will puke all over the place in production or not, but i didn't see any
> other way around the problem.
As long as your exim is 4.11 or better, you'll be fine.
I'd love to figure the above out though.
Thanks,
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 at merlins.org for PGP key
More information about the SA-Exim
mailing list