Re: Trouble with AIX & Exim 4.30 & sa-exim

Odhiambo Washington <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
* Tim Sexton <[email protected]> [20031209 02:40]: 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?

I am here:

[wash@ns2 ~/Administration/Exim/4.30/exim-4.30]

I do

patch -p1 < ../path/to/localscan_dlopen_exim_4.20_or_better.patch
make && make install

Is that what you did?



> 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 
> information.
> collect2: ld returned 8 exit status
> make: *** [sa-exim-3.1.so] Error 1
> 
> Does this have something to do with Exim not being patched with the 
> above file?

I am not sure about the cause, but you need to have patched correctly
and besides, you need to have edited the Makefile (for sa-exim) to point
to the correct path for exim src.




-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[email protected]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
"I have made this letter longer than usual because I lack the time to
make it shorter."
		-- Blaise Pascal

_______________________________________________
SA-Exim mailing list
[email protected]
http://lists.merlins.org/lists/listinfo/sa-exim
smime.p7s (application/x-pkcs7-signature, 2.2 KB) - not displayed
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.