On Thu, May 30, 2002 at 11:33:42AM +0200, Richard Levitte - VMS Whacker wrote:
> In message <[EMAIL PROTECTED]> on Thu, 30 May 2002 11:01:53 
>+0200, Corinna Vinschen <[EMAIL PROTECTED]> said:
> 
> vinschen> On Thu, May 30, 2002 at 10:30:10AM +0200, Richard Levitte - VMS Whacker 
>wrote:
> vinschen> > vinschen> I'm getting the following message in link stage now when 
>building
> vinschen> > vinschen> from current CVS:
> vinschen> > vinschen> 
> vinschen> > vinschen> gcc -shared -o cygcrypto.dll -Wl,-Bsymbolic 
>-Wl,--whole-archive libcrypto.a -W
> vinschen> > vinschen> l,--out-implib,libcrypto.dll.a -Wl,--no-whole-archive -L.
> vinschen> > vinschen> libcrypto.a(bn86-out.o)(.text+0x738):bn-586.s: multiple 
>definition of `bn_sub_pa
> vinschen> > vinschen> rt_words'
> vinschen> > vinschen> libcrypto.a(bn_mul.o)(.text+0x0):bn_mul.c: first defined here
> vinschen> > 
> vinschen> > Did you 'make clean'?
> vinschen> 
> vinschen> $ make clean
> vinschen> [...]
> vinschen> $ config --prefix=/usr shared no-idea no-rc5 no-mdc2
> vinschen> [...]
> vinschen> $ make
> vinschen> [...]
> 
> And you're running with a fresh bn_mul.c, or does it implement
> bn_sub_part_words() for Cygwin (i.e., do you have the proposed patch
> applied)?
> 
> In bn_mul.c, line 69 should read like this:
> 
> #if defined(OPENSSL_NO_ASM) || !(defined(__i386) || defined(__i386__))/* Assembler 
>implementation exists only for x86 */

I'm sorry.  I had the patch applied.  Reverting to the above line
fixed my problem.  Now it builds fine on Cygwin.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to