[openssl-users] Unable to run Configure for msys/mingw

杨岑 ssawgift at 163.com
Sun May 29 05:56:42 UTC 2016


I don't quite know what symblinks does, but it did not cause problems.
With version 1.0.2h, I get:

$ ./configure shared mingw
Configuring for mingw
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128
(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-libunbound   [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
    no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
    no-ssl2         [default]  OPENSSL_NO_SSL2 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
    no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
    no-zlib         [default]
    no-zlib-dynamic [default]
IsMK1MF=0
CC            =gcc
CFLAG         =-D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC
-DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN
-fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS
-DOPENSSL_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
EX_LIBS       =-lws2_32 -lgdi32 -lcrypt32
CPUID_OBJ     =x86cpuid.o uplink.o uplink-x86.o
BN_ASM        =bn-586.o co-586.o x86-mont.o x86-gf2m.o
EC_ASM        =
DES_ENC       =des-586.o crypt586.o
AES_ENC       =aes-586.o vpaes-x86.o aesni-x86.o
BF_ENC        =bf-586.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-586.o
RC5_ENC       =rc5-586.o
MD5_OBJ_ASM   =md5-586.o
SHA1_OBJ_ASM  =sha1-586.o sha256-586.o sha512-586.o
RMD160_OBJ_ASM=rmd-586.o
CMLL_ENC      =cmll-x86.o
MODES_OBJ     =ghash-x86.o
ENGINES_OBJ   =
PROCESSOR     =
RANLIB        =true
ARFLAGS       =
PERL          =perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
e_os2.h => include/openssl/e_os2.h
making links in crypto...
make[1]: Entering directory 'C:/Build/openssl-1.0.2h/crypto'
make[1]: *** No rule to make target 'links'.  Stop.
make[1]: Leaving directory 'C:/Build/openssl-1.0.2h/crypto'
Makefile:434: recipe for target 'links' failed
make: *** [links] Error 1

Note again - the output is copied exactly as is without deliberate
omission or truncation.

在 2016/5/29 2:17, Matt Caswell 写道:
> 
> 
> On 28/05/16 10:45, 杨岑 wrote:
>> No, it's not normal.
>>
>> I copied the exact output, no truncation. There should be a huge amount
>> of lines before "Configured for mingw".
> 
> Well, you explicitly suppressed the symlink creation (using no-symlinks)
> which does normally generate a lot of output during Configure. That
> option should generally not be used unless you know what it does. If the
> symlinks are already present that you can get away with using the option
> and you will get the shorter Configure output that you are seeing.
> 
> Matt
> 
> 
>>
>> 在 2016/5/28 16:51, Matt Caswell 写道:
>>>
>>>
>>> On 28/05/16 05:13, 杨春雷 wrote:
>>>> DES_UNROLL used
>>>> BN_LLONG mode
>>>> RC4_INDEX mode
>>>> RC4_CHUNK is undefined
>>>>
>>>>
>>>> Configured for mingw.
>>>>
>>>>
>>>> *** Because of configuration changes, you MUST do the following before
>>>> *** building:
>>>>
>>>>
>>>>         make depend
>>>>
>>>> The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.
>>>>
>>>> I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
>>>>
>>>
>>> This looks like normal output to me (what makes you think it isn't?).
>>>
>>> Just run "make depend" and "make" as normal.
>>>
>>> Matt
>>>
>>



More information about the openssl-users mailing list