[openssl-dev] [openssl.org #4169] openssl-1.0.2e build still recommends deprecated (unnecessary?) `make depend`, returns numerous warnings abt not finding stddef.h

PGNet Dev via RT rt at openssl.org
Mon Mar 14 19:32:37 UTC 2016


On 03/14/2016 11:25 AM, Rich Salz via RT wrote:
> Okay, the focus on this ticket is now to update the configure script output. :)
> As previously described here, you can ignore the recommendation to run make
> depend.

Not quite ... currently, without `make depend`

	make clean
	./config ...
	make -j$CORES
		...
		making all in crypto/err...
		make[2]: Entering directory 
'/usr/local/src/openssl/openssl-1.0.2g/crypto/err'
		/usr/bin/gcc-5 -I.. -I../.. -I../modes -I../asn1 -I../evp 
-I../../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT 
-DDSO_DLFCN -DHAVE_DLFCN_H -D_GNU_SOURCE -DOPENSSL_NO_BUF_FREELISTS 
-DOPENSSL_NO_HEARTBEAT -DPURIFY -DSSL_FORBID_ENULL -DTERMIO 
-Wa,--noexecstack -Wall -fno-common -Wa,--noexecstack -m64 -DL_ENDIAN 
-O3 -Wall -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 -DWHIRLPOOL_ASM 
-DGHASH_ASM -DECP_NISTZ256_ASM -O3 -Wall -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables -fasynchronous-unwind-tables 
-fmessage-length=0 -grecord-gcc-switches -march=x86-64 -mtune=nocona  -c 
-o err.o err.c
		make[2]: *** No rule to make target '../../include/openssl/comp.h', 
needed by 'err_all.o'.  Stop.
		make[2]: Leaving directory 
'/usr/local/src/openssl/openssl-1.0.2g/crypto/err'
		Makefile:88: recipe for target 'subdirs' failed
		make[1]: *** [subdirs] Error 1
		make[1]: Leaving directory '/usr/local/src/openssl/openssl-1.0.2g/crypto'
		Makefile:284: recipe for target 'build_crypto' failed
		make: *** [build_crypto] Error 1


whereas

	make clean
	./config ... (same)
	make depend
		( ... lots of warnings, unable to find include files ... )
	make

builds OK.

So the choice is

	NO `make depend` -> fail to build.

or

	WITH buggy `make depend` -> builds,

but is it reliable?

Here, atm, I've no working path to a 'clean' (warning/error-free) build.


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



More information about the openssl-dev mailing list