I try to get libeay32.lib ssleay32.lib for static linking.
INSTALL.W32 has next steps for Borland C++ builder 5:
* Configure for building with Borland Builder:
> perl Configure BC-32
* Create the appropriate makefile
> ms\do_nasm
* Build
> make -f ms\bcb.mak
I use openssl-0.9.8j ; ActivePerl v.5.6.1 and GNU Make 3.81.
First step give next result:
Configuring for BC-32
no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir)
no-capieng [default] OPENSSL_NO_CAPIENG (skip dir)
no-cms [default] OPENSSL_NO_CMS (skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
no-montasm [default]
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir)
no-seed [default] OPENSSL_NO_SEED (skip dir)
no-shared [default]
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=1
CC =bcc32
CFLAG =-DOPENSSL_THREADS -DDSO_WIN32
EX_LIBS =
CPUID_OBJ =
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
AES_ASM_OBJ =aes_core.o aes_cbc.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o rc4_skey.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =true
ARFLAGS =
PERL =perl
THIRTY_TWO_BIT mode
DES_PTR used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
Configured for BC-32.
Second step:
Generating x86 for NASM assember
Bignum
AES
DES
"crypt(3)"
Blowfish
CAST5
RC4
MD5
SHA1
RIPEMD160
RC5\32
CPU-ID
D:\work\openssl-0.9.8j>perl util\mkfiles.pl 1>MINFO
D:\work\openssl-0.9.8j>perl util\mk1mf.pl nasm VC-WIN32 1>ms\nt.mak
D:\work\openssl-0.9.8j>perl util\mk1mf.pl dll nasm VC-WIN32 1>ms\ntdll.mak
D:\work\openssl-0.9.8j>perl util\mk1mf.pl nasm BC-NT 1>ms\bcb.mak
D:\work\openssl-0.9.8j>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def
D:\work\openssl-0.9.8j>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def
Last step:
ms\bcb.mak:2864: *** unterminated variable reference. Stop.
http://www.nabble.com/file/p21746622/bcb.mak bcb.mak
Problem lines of bcb.mak:
$(O_SSL): $(SSLOBJ)
-$(RM) $(O_SSL)
$(MKLIB) $(O_SSL) @&&!
+$(**: = &^
+)
!
$(O_CRYPTO): $(CRYPTOOBJ)
-$(RM) $(O_CRYPTO)
$(MKLIB) $(O_CRYPTO) @&&!
+$(**: = &^
+)
!
Could you please explain in more details the code construction described
above.
--
View this message in context:
http://www.nabble.com/Cannot-compile-OpenSSL-with-Borland-C%2B%2B-builder-6-tp21746622p21746622.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]