Failed Compiling openSSH in windows 10 using VS2017 and openSSL

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hey
Even though this mailing list is unix-dev i have to try to get info about
compilation on windows .
i try to build openssh using openssl in windows 10 64 bit using VC 2017
i follow those instructions:
https://github.com/PowerShell/Win32-OpenSSH/wiki/OpenSSH-64-bit-Build-and-Installation-Instructions

but when compiling im getting this compilation error:

    1>cipher-ctr.c
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(129): error
C2079: 'aes_ctr' uses undefined struct 'evp_cipher_st'
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(131): error
C2027: use of undefined type 'evp_cipher_st'
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(132): error
C2224: left of '.nid' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(133): error
C2224: left of '.block_size' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(134): error
C2224: left of '.iv_len' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(135): error
C2224: left of '.key_len' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(136): error
C2224: left of '.init' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(137): error
C2224: left of '.cleanup' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(138): error
C2224: left of '.do_cipher' must have struct/union type
    1>d:\dev\my\v8\openssh-portable-latestw_all\cipher-ctr.c(140): error
C2224: left of '.flags' must have struct/union type
    1>Done building project "libssh.vcxproj" -- FAILED.




now the file where it complains about the missing struct do exist:
C:\OpenSSL-Win64\include\openssl\ossl_typ.h
the VC do see it .
im using :
when trying to compile the openssh with open ssl using VC 2017 andOpenSSL
64 bit   which i downloaded from here :
https://slproweb.com/products/Win32OpenSSL.html
version :
Win64 OpenSSL v1.1.0i

any idea why im getting it ?
Thanks
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux