Re: [exim-dev] [exim] Testing Exim 4.70 prerelease || undefi…

Top Page
Delete this message
Reply to this message
Author: Nigel Metheringham
Date:  
To: List
CC: exim-dev
Subject: Re: [exim-dev] [exim] Testing Exim 4.70 prerelease || undefined reference to `EVP_sha256'
[Please don't drop the mailing list from the copies = it makes it
impossible for anyone else to fix the issue if I am unable or just out
of time...]

Anyhow, I see that Phil & Tom have added a patch which should sort
your problem
by only enabling that code for later versions of openssl.

    Nigel.


On 16 Oct 2009, at 11:50, List wrote:

> Le Friday 16 October 2009 12:43:54 Nigel Metheringham, vous avez
> écrit :
>> Hi,
>>
>> Can you let us know what platform you are building, and what version
>> of openssl is on your system.
>>
>> Cheers
>>     Nigel.

>
> On Caos Linux NSA release 1.0.25 (Cato) 2009.09.28
>
> OpenSSL 0.9.7m 23 Feb 2007
> gcc (GCC) 4.3.3
>
> [...]
> gcc tls.c
> In file included from tls.c:86:
> tls-openssl.c: In function 'tls_init':
> tls-openssl.c:310: warning: passing argument 1 of 'EVP_add_digest'
> makes
> pointer from integer without a cast
> gcc transport.c
> gcc verify.c
> gcc local_scan.c
> gcc perl.c
> gcc malware.c
> gcc mime.c
> gcc regex.c
> gcc spam.c
> gcc spool_mbox.c
> gcc demime.c
> gcc bmi_spam.c
> gcc spf.c
> gcc srs.c
> gcc dcc.c
>
> awk '{ print ($1+1) }' cnumber.h > cnumber.temp
> rm -f cnumber.h; mv cnumber.temp cnumber.h
> gcc version.c
> rm -f exim
> gcc -o exim
> tls.o: In function `tls_init':
> tls.c:(.text+0x4bc): undefined reference to `EVP_sha256'
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory `/usr/src/rpm/BUILD/exim-4.70/build-Linux-
> i386'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.83073 (%build)
>
>
>
> --Serge
>
>>
>> On 16 Oct 2009, at 11:11, List wrote:
>>> Hi,
>>>
>>> with last commit:
>>>
>>> =====================================
>>> Modified files:
>>>   exim-src/src         expand.c functions.h host.c tls-openssl.c
>>> Log:
>>> Bugzilla #722

>>>
>>> Revision  Changes    Path
>>> 1.104     +86 -0     exim/exim-src/src/expand.c
>>> 1.46      +1 -0      exim/exim-src/src/functions.h
>>> 1.30      +5 -0      exim/exim-src/src/host.c
>>> 1.17      +71 -3     exim/exim-src/src/tls-openssl.c

>>>
>>> Index: expand.c
>>> =====================================
>>>
>>> awk '{ print ($1+1) }' cnumber.h > cnumber.temp
>>> rm -f cnumber.h; mv cnumber.temp cnumber.h
>>> gcc version.c
>>> rm -f exim
>>> gcc -o exim
>>> tls.o: In function `tls_init':
>>> tls.c:(.text+0x4bc): undefined reference to `EVP_sha256'
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [exim] Error 1
>>> make[1]: Leaving directory `/usr/src/rpm/BUILD/exim-4.70/build-
>>> Linux-
>>> i386'
>>> make: *** [all] Error 2
>>> error: Bad exit status from /var/tmp/rpm-tmp.8761 (%build)
>>>
>>>
>>> -- Serge
>>>
>>> --
>>> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
>>> ## Exim details at http://www.exim.org/
>>> ## Please use the Wiki with this list - http://wiki.exim.org/
>>
>> --
>> [ Nigel Metheringham              
>> Nigel.Metheringham@??? ]
>> [ - Comments in this message are my own and not ITO opinion/policy  
>> - ]

>
>
>
> --
>
> In Microsoft products, failure is not an option. It is a standard
> feature.


--
[ Nigel Metheringham             Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]