From: Jeffrey Altman <[EMAIL PROTECTED]>
Subject: Re: Beta 1 errors on Win32
Date: Mon, 11 Sep 2000 13:00:01 EDT
Message-ID: <[EMAIL PROTECTED]>

jaltman> > 
jaltman> >   ssl_cert.obj : error LNK2001: unresolved external symbol _BIO_s_file
jaltman> >   ssl_rsa.obj : error LNK2001: unresolved external symbol _BIO_s_file
jaltman> >   ssl_txt.obj : error LNK2001: unresolved external symbol _BIO_s_file
jaltman> > 
jaltman> 
jaltman> More info:  
jaltman> 
jaltman> BIO_s_file is just one of hundreds of functions that are no longer
jaltman> exported from libeay32.dll via a listing in libeay32.def
jaltman> 
jaltman> The list of functions no longer exported from ssleay32.dll is ~50.
jaltman> There are no new functions exported from ssleay32.dll.  
jaltman> 
jaltman> This needs to be checked.

Yup, that's an error in util/mkdef.pl.  The following patch should fix
it, please try it out:

Index: util/mkdef.pl
===================================================================
RCS file: /e/openssl/cvs/openssl/util/mkdef.pl,v
retrieving revision 1.32
diff -u -r1.32 mkdef.pl
--- util/mkdef.pl       2000/09/07 08:43:08     1.32
+++ util/mkdef.pl       2000/09/11 17:28:52
@@ -693,14 +693,15 @@
                } else {
                        (my $n, my $i) = split /\\/, $nums{$s};
                        my @p = split(/,/, ($i =~ /^.*?:(.*?):/,$1));
-                       printf OUT "    %s%-40s@%d\n",($W32)?"":"_",$s,$n
-                           # It is very important to check NT before W32
-                           if ($NT && (!@p || (grep(/^WINNT$/,@p)
-                                               && !grep(/^!WINNT$/,@p)))
-                               || $W32 && (!@p || (grep(/^WIN32$/,@p)
-                                                   && !grep(/^!WIN32$/,@p)))
-                               || $W16 && (!@p || (grep(/^WIN16$/,@p)
-                                                   && !grep(/^!WIN16$/,@p))));
+                       # It is very important to check NT before W32
+                       if (($NT && (!@p || (grep(/^WINNT$/,@p)
+                                            || !grep(/^!WINNT$/,@p))))
+                           || ($W32 && (!@p || (grep(/^WIN32$/,@p)
+                                                || !grep(/^!WIN32$/,@p))))
+                           || ($W16 && (!@p || (grep(/^WIN16$/,@p)
+                                                || !grep(/^!WIN16$/,@p))))) {
+                               printf OUT "    %s%-40s@%d\n",($W32)?"":"_",$s,$n;
+                       }
                }
        }
        printf OUT "\n";



jaltman> Attempts to build the test programs fail:
jaltman> 
jaltman>         link /nologo /subsystem:console /machine:I386 /opt:ref
jaltman> /out:out32dll\destest.exe @K:\TEMP\nma01856.
jaltman> destest.obj : error LNK2001: unresolved external symbol _crypt
jaltman> out32dll\destest.exe : fatal error LNK1120: 1 unresolved externals

This should be fixed with the patch above as well...

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to