[openssl-users] Building 1.0.2g with "no-idea"
Floodeenjr, Thomas
thomas_floodeenjr at mentor.com
Wed Mar 23 21:53:36 UTC 2016
I have this problem too, and tried the "make depend" step. It still fails to build.
make[2]: *** No rule to make target `../../include/openssl/rc4.h', needed by `eng_openssl.o'. Stop.
I worked around it by stubbing in all of the missing headers I did not need:
# Stub in some missing header files since the configure appears to be broken.
touch ${BUILD_DIR}/include/openssl/rc4.h
touch ${BUILD_DIR}/include/openssl/blowfish.h
touch ${BUILD_DIR}/include/openssl/idea.h
touch ${BUILD_DIR}/include/openssl/camellia.h
touch ${BUILD_DIR}/include/openssl/seed.h
touch ${BUILD_DIR}/include/openssl/rc2.h
touch ${BUILD_DIR}/include/openssl/cast.h
touch ${BUILD_DIR}/include/openssl/md4.h
touch ${BUILD_DIR}/include/openssl/mdc2.h
This works for me.
Regards,
-Tom
-----Original Message-----
From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf Of Matt Caswell
Sent: Wednesday, March 23, 2016 9:19 AM
To: openssl-users at openssl.org
Subject: Re: [openssl-users] Building 1.0.2g with "no-idea"
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
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
More information about the openssl-users
mailing list