【发布时间】:2015-07-16 15:00:25
【问题描述】:
我按照 INSTALL.W32(各种 OpenSSL 版本)的说明进行操作,通常是:
* Configure for building with Borland Builder:
> perl Configure BC-32
* Create the appropriate makefile
> ms\do_nasm
* Build
> make -f ms\bcb.mak
现在,我在尝试构建时确实遇到了两种错误:
对于 OpenSSL
nasmw -f obj -d__omf__ -ocrypto\md5\asm\m5_win32.obj .\crypto\md5\asm\m5_win32.asm
'nasmw' is not recognized as an internal or external command,
operable program or batch file.
否则
Warning W8017 C:\CBuilder5\Include\sys/stat.h 34: Redefinition of 'S_IFMT' is not identical
Warning W8017 C:\CBuilder5\Include\sys/stat.h 35: Redefinition of 'S_IFDIR' is not identical
Error E2227 .\crypto\rand\randfile.c 226: Extra parameter in call to _open in function RAND_write_file
Warning W8053 .\crypto\rand\randfile.c 262: '_chmod(const signed char *,int,...)' is obsolete in function RAND_write_file
*** 1 errors in Compile ***
是的,我觉得使用 Borland C++ Builder 5 很糟糕,但我对此无能为力,是的,如果其他一切都失败了,我会考虑使用 Shining Light 选项。
【问题讨论】:
-
您是否在网上搜索过有关使用 Borland C++ Builder 5 构建 OpenSSL 的教程?似乎有明确的说明。
-
当然,这是我做的第一件事。
标签: c++ openssl c++builder borland-c++