[SA-exim] Trouble with AIX & Exim 4.30 & sa-exim
Marc MERLIN
marc at merlins.org
Sat Dec 13 14:48:52 PST 2003
On Mon, Dec 08, 2003 at 04:11:54PM -0700, Tim Sexton wrote:
> Hello All,
> I'm some difficulties getting sa-exim to compile and run with Exim
> 4.30. First problem is: I haven't been able to get the, "
> localscan_dlopen_exim_4.20_or_better.patch " to work correctly. It
> always returns, " I cannot find a patch in there anywhere". Any ideas?
patch -p(0|1) -s < /path/to/localscan_dlopen_exim_4.20_or_better.patch
(inside your exim source dir)
> Also, when I run make, I get the following errors:
> Building sa-exim-3.1.so
> gcc -I/app/exim/exim-4.30/src -I./eximinc -DDLOPEN_LOCAL_SCAN
> -DSPAMASSASSIN_CONF=\"/app/exim/sa-exim.conf\"
> -DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -o sa-exim-3.1.so
> sa-exim.c
> sa-exim.c:470: warning: #warning you should not worry about the "might
> be clobbered by longjmp", see source
> sa-exim.c: In function `local_scan':
> sa-exim.c:1257: warning: format not a string literal, argument types not
> checked
> ld: 0711-317 ERROR: Undefined symbol: .log_write
> ld: 0711-317 ERROR: Undefined symbol: .expand_string
> ld: 0711-317 ERROR: Undefined symbol: .string_sprintf
> ld: 0711-317 ERROR: Undefined symbol: sender_address
> ld: 0711-317 ERROR: Undefined symbol: header_list
> ld: 0711-317 ERROR: Undefined symbol: .header_add
> ld: 0711-317 ERROR: Undefined symbol: .string_copy
> ld: 0711-317 ERROR: Undefined symbol: .string_copyn
> ld: 0711-317 ERROR: Undefined symbol: message_id
> ld: 0711-317 ERROR: Undefined symbol: recipients_list
> ld: 0711-317 ERROR: Undefined symbol: recipients_count
> ld: 0711-317 ERROR: Undefined symbol: sender_host_address
> ld: 0711-317 ERROR: Undefined symbol: sender_host_name
> ld: 0711-317 ERROR: Undefined symbol: body_linecount
> ld: 0711-317 ERROR: Undefined symbol: smtp_out
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
the IBM compiler seems to need something more to create a shared lib.
It complains that it can't link against those symbols, but it should be able
to: they're external and they only show up when exim loads the library.
For help, talk to a C guy who knows the AIX compiler or try gcc
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