error on openssl build on win10 with visual studio 2017 -
im try compile telegram desktop source github
when try comple openssl command nmake -f ms\nt.mak
instructions got error :
error c2065: 'errno': undeclared identifier
windows : 10
visual studio : 2017
error log :
d:\tbuild\libraries\openssl>nmake -f ms\nt.mak
microsoft (r) program maintenance utility version 14.10.25019.0 copyright (c) microsoft corporation. rights reserved.
building openssl cl /fotmp32\cryptlib.obj -iinc32 -itmp32 /mt /ox /o2 /ob2 -dopenssl_threads -ddso_win32 -w3 -gs0 -gf -gy -nolo go -dopenssl_sysname_win32 -dwin32_lean_and_mean -dl_endian -d_crt_secure_no_deprecate -dopenssl_bn_asm_part_words -dope nssl_ia32_sse2 -dopenssl_bn_asm_mont -dopenssl_bn_asm_gf2m -dsha1_asm -dsha256_asm -dsha512_asm -dmd5_asm -drmd160_asm - daes_asm -dvpaes_asm -dwhirlpool_asm -dghash_asm -dopenssl_no_rc5 -dopenssl_no_md2 -dopenssl_no_ssl2 -dopenssl_no_krb5 - dopenssl_no_jpake -dopenssl_no_weak_ssl_ciphers -dopenssl_no_dynamic_engine /zl /zi /fdtmp32/lib -c .\crypto\cryptlib.c cryptlib.c c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\corecrt_memcpy_s.h(47) : error c2065: 'errno': undeclare d identifier c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\corecrt_memcpy_s.h(52): error c2065: 'errno': undeclare d identifier c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\corecrt_memcpy_s.h(53): error c2065: 'errno': undeclare d identifier c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\corecrt_memcpy_s.h(76): error c2065: 'errno': undeclare d identifier c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\corecrt_memcpy_s.h(77): error c2065: 'errno': undeclare d identifier c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\corecrt_memcpy_s.h(78): error c2065: 'errno': undeclare d identifier .\crypto\cryptlib.c(687): warning c4013: 'getenv' undefined; assuming extern returning int .\crypto\cryptlib.c(687): warning c4047: '=': 'char *' differs in levels of indirection 'int' .\crypto\cryptlib.c(690): warning c4013: 'sscanf' undefined; assuming extern returning int .\crypto\cryptlib.c(861): warning c4013: 'vfprintf' undefined; assuming extern returning int .\crypto\cryptlib.c(926): warning c4013: '_vsnprintf' undefined; assuming extern returning int .\crypto\cryptlib.c(985): warning c4013: '_exit' undefined; assuming extern returning int nmake : fatal error u1077: '"d:\vs install path\vc\tools\msvc\14.10.25017\bin\hostx86\x86\cl.exe"' : return code '0x2' stop.
Comments
Post a Comment