nanard via RT
2012-03-31 13:34:06 UTC
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)
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)