[openssl-users] Building 1.0.2g with "no-idea"
Matt Caswell
matt at openssl.org
Wed Mar 23 15:19:29 UTC 2016
On 23/03/16 15:09, Jason Schultz wrote:
> I am re-posting this (and another) message to the list as I was having email issues with the list and I posted an erroneous subject line, which may have deterred responses.
>
> I have another question that was encountered at the same time as my previous
> one, but I believe it is two separate issues, so I created a different thread.
>
> When building 1.0.2g and attempting to remove some ciphers at build time
> ("no-idea"), I discovered that the Make scripting was attempting to build some
> of its files anyway:
>
> [...]
> gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC
> -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O2 -g
> -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -std=gnu99 -Wa,--noexecstack -fomit-frame-pointer
> -DTERMIO -DPURIFY -DSSL_FORBID_ENULL -D_GNU_SOURCE -fstack-protector -Wall
> -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2
> -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m
> -I/usr/local/ssl/fips-2.0/include -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
> -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
> -DECP_NISTZ256_ASM -c -o e_bf.o e_bf.c
> make[2]: *** No rule to make target `../../include/openssl/idea.h', needed by
> `e_idea.o'. Stop.
> make[2]: Leaving directory `/usr/src/packages/BUILD/openssl-1.0.2g/crypto/evp'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/usr/src/packages/BUILD/openssl-1.0.2g/crypto'
> make: *** [build_crypto] Error 1
>
> It looks as though the "no-idea" removes some of the header files from the
> build, but then the make tries to compile the .c files anyway.
>
> Has anyone else encountered this problem?
>
Make sure you have run "make depend", i.e.
$ ./config no-idea
$ make depend
$ make
$ make test
Matt
More information about the openssl-users
mailing list