maybe

```
export CXX=g++
export CC=gcc
./config
```
will work?
On Mar 23, 2016 5:47 PM, "noloa...@gmail.com via RT" <r...@openssl.org> wrote:

> I'm not sure if this is a supported configuration, but I'm guessing
> there are going to be users in the filed who find themselves in it,
> like http://stackoverflow.com/q/36188982.
>
> Working from the tip of Master...
>
> $ export CC=g++
> $ ./config
> ...
> $ make
> ...
>
> g++ -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS
> -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2
> -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m
> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM
> -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM
> -DOPENSSLDIR="\"/usr/local/ssl\""
> -DENGINESDIR="\"/usr/local/lib/engines\"" -Wall -O3 -pthread -m64
> -DL_ENDIAN  -Wa,--noexecstack -fPIC -Iinclude -I. -Icrypto/include -c
> -o crypto/asn1/a_bitstr.o crypto/asn1/a_bitstr.c
> In file included from crypto/include/internal/cryptlib.h:71:0,
>                  from crypto/asn1/a_bitstr.c:59:
> crypto/asn1/a_bitstr.c: In function ‘ASN1_BIT_STRING*
> c2i_ASN1_BIT_STRING(ASN1_BIT_STRING**, const unsigned char**, long
> int)’:
> include/openssl/crypto.h:236:54: error: invalid conversion from
> ‘void*’ to ‘unsigned char*’ [-fpermissive]
>          CRYPTO_malloc(num, OPENSSL_FILE, OPENSSL_LINE)
>                                                       ^
> crypto/asn1/a_bitstr.c:158:13: note: in expansion of macro ‘OPENSSL_malloc’
>          s = OPENSSL_malloc((int)len);
>              ^
> crypto/asn1/a_bitstr.c: In function ‘int
> ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING*, int, int)’:
> include/openssl/crypto.h:242:76: error: invalid conversion from
> ‘void*’ to ‘unsigned char*’ [-fpermissive]
>          CRYPTO_clear_realloc(addr, old_num, num, OPENSSL_FILE,
> OPENSSL_LINE)
>
>   ^
> crypto/asn1/a_bitstr.c:206:13: note: in expansion of macro
> ‘OPENSSL_clear_realloc’
>          c = OPENSSL_clear_realloc(a->data, a->length, w + 1);
>              ^
> make: *** [crypto/asn1/a_bitstr.o] Error 1
>
>
> --
> Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4473
> Please log in as guest with password guest if prompted
>
> --
> openssl-dev mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
>

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4473
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to