Discussion:
[openssl.org #2779] OpenSSL 1.0.1 doesn't compile with NO_STDIO/NO_FP_API
nanard via RT
2012-03-31 13:34:06 UTC
Permalink
Hello,
I've tried to compile openssl-1.0.1 with the no-stdio option and ran
into errors..
I reproduce the problem on my linux debian (amd64), see below.

I'm attaching a patch.


$ ./config no-ssl2 no-stdio
$ make depend
$ make build_libs
...
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -DTERMIO -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 -c -o
cryptlib.o cryptlib.c
cryptlib.c: In function ‘OPENSSL_cpuid_setup’:
cryptlib.c:701: warning: implicit declaration of function ‘sscanf’
cryptlib.c:701: warning: incompatible implicit declaration of built-in
function ‘sscanf’
cryptlib.c: In function ‘OPENSSL_showfatal’:
cryptlib.c:906: warning: implicit declaration of function ‘vfprintf’
cryptlib.c:906: error: ‘stderr’ undeclared (first use in this function)
cryptlib.c:906: error: (Each undeclared identifier is reported only once
cryptlib.c:906: error: for each function it appears in.)
cryptlib.c: In function ‘OPENSSL_stderr’:
cryptlib.c:926: error: ‘stderr’ undeclared (first use in this function)
Rich Salz via RT
2014-10-01 15:36:57 UTC
Permalink
Some patches that let the build get further along, before I gave up.
Er, stopped working on this. :)
--
Rich Salz, OpenSSL dev team; ***@openssl.org

Loading...