Hello!
I retried to compile the latest snap on Solaris 2.6/gcc, WinNT/VC5, and
HPUX1020/hpux-kr-cc.
The results are attached in a text file.
Someone asked me why I was using the kr cc at all. Well, I also use the aCC (C++)
compiler, which includes the RW Tools.h++ classes, and it would be some major
work to rewrite and retest the build using gcc/g++. And I don't have a license for
the ANSI C product. If I would use gcc for the OpenSSL libs only, I would probably
get linking errors, because of different naming conventions. Also, can anyone tell
me how I can debug a library compiled with gcc under HPUX xdb? I'd be grateful.
Ulrich
--Dr Stephen Henson <[EMAIL PROTECTED]> wrote:
> Ben Laurie wrote:
> > Ulrich Kroener wrote:
> > > Ben Laurie, it's your turn...
> >
> > We don't support non-ANSI compilers.
> >
> > There! That was easy. :-)
> >
>
> I'd better undo that patch I just submitted then :-)
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
===============================================
OS: Sun Solaris SPARC 2.6
Compiler: gcc 2.7.2.3
Openssl: openssl-SNAP-19990311-0930
===============================================
bash-2.01$ gcc --version
2.7.2.3
bash-2.01$ uname -a
SunOS seattle 5.6 Generic sun4m sparc SUNW,SPARCstation-5
bash-2.01$ perl Configure solaris-sparc-gcc
[...]
bash-2.01$ make -f Makefile.ssl all
[...]
gcc -o rsa_oaep_test -I../include -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN
rsa_oaep_test.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto -lsocket -lnsl
make[1]: Leaving directory
`/export/home/logica/openssl/openssl-SNAP-19990311-0930/test'
making all in tools...
make[1]: Entering directory
`/export/home/logica/openssl/openssl-SNAP-19990311-0930/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/export/home/logica/openssl/openssl-SNAP-19990311-0930/tools'
bash-2.01$ make -f Makefile.ssl rehash
Doing certs
ICE-CA.pem => 6bee6be3.0
[...]
vsigntca.pem => 18d46017.0
bash-2.01$ make -f Makefile.ssl test
[...]
juW8MUOcmls=
-----END CERTIFICATE-----
Signed certificate is in newcert.pem
newcert.pem: OK
make[1]: Leaving directory
`/export/home/logica/openssl/openssl-SNAP-19990311-0930/test'
OpenSSL 0.9.2 31-Dec-1998
built on: Thu Mar 11 09:52:40 MET 1999
platform: solaris-sparc-gcc
options: bn(64,32) md2(int) rc4(ptr,char) des(idx,cisc,16,long) idea(int)
blowfish(ptr)
compiler: gcc -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN
bash-2.01$
Everything nice & dandy. I'm happy.
===============================================
OS: Win NT Server 4 SP 4
Compiler: VC 5 SP 3
Openssl: openssl-SNAP-19990311-0930
===============================================
MSVC compiler Configuration:
perl.exe Configure VC-WIN32
perl.exe util\mk1mf.pl no-asm debug VC-WIN32 > d32.mak
perl.exe util\mk1mf.pl no-asm VC-WIN32 > 32.mak
perl.exe util\mk1mf.pl no-asm debug dll VC-WIN32 > d32dll.mak
perl.exe util\mk1mf.pl no-asm dll VC-WIN32 > 32dll.mak
E:\Downloads\openssl\openssl-SNAP-19990311-0930>nmake.exe -f d32.mak
link.exe /nologo /subsystem:console /machine:I386 /opt:ref /debug /out:o
ut32.dbg\hmactest.exe @C:\TEMP\nma00076.
libeay32.lib(rsa_eay.obj) : error LNK2001: unresolved external symbol _RSA_paddi
ng_add_PKCS1_OAEP
libeay32.lib(rsa_eay.obj) : error LNK2001: unresolved external symbol _RSA_paddi
ng_check_PKCS1_OAEP
libeay32.lib(a_type.obj) : error LNK2001: unresolved external symbol _i2d_ASN1_E
NUMERATED
libeay32.lib(a_type.obj) : error LNK2001: unresolved external symbol _d2i_ASN1_E
NUMERATED
out32.dbg\hmactest.exe : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
E:\Downloads\openssl\openssl-SNAP-19990311-0930>nmake.exe -f 32.mak
link.exe /nologo /subsystem:console /machine:I386 /opt:ref /out:out32\hm
actest.exe @C:\TEMP\nmi00452.
libeay32.lib(rsa_eay.obj) : error LNK2001: unresolved external symbol _RSA_paddi
ng_add_PKCS1_OAEP
libeay32.lib(rsa_eay.obj) : error LNK2001: unresolved external symbol _RSA_paddi
ng_check_PKCS1_OAEP
libeay32.lib(a_type.obj) : error LNK2001: unresolved external symbol _i2d_ASN1_E
NUMERATED
libeay32.lib(a_type.obj) : error LNK2001: unresolved external symbol _d2i_ASN1_E
NUMERATED
out32\hmactest.exe : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
===============================================
OS: HPUX 10.20
Compiler: bundled cc
Openssl: openssl-SNAP-19990311-0930
===============================================
$ uname -a
HP-UX budlite2 B.10.20 A 9000/803
$ perl Configure hpux-kr-cc
<start problem>
cc -I.. -I../../include -g -c ctx_size.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: "../../include/md2.h", line 90: error 1000: Unexpected symbol: "*".
(Bundled) cc: "../../include/md2.h", line 91: error 1000: Unexpected symbol: "*".
<end problem>
$ make -f Makefile.ssl links
....
making links in crypto/pem...
<start problem>
cc -I.. -I../../include -g -c ctx_size.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: "../../include/md2.h", line 90: error 1000: Unexpected symbol: "*".
(Bundled) cc: "../../include/md2.h", line 91: error 1000: Unexpected symbol: "*".
<end problem>
So the makefile in crypto/pem launches cc when building links. And when this is done,
the compiler options are not passed through.
$ make -f Makefile.ssl all
....
<start problem>
making all in crypto/bn...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
bn_add.c
(Bundled) cc: "bn_lcl.h", line 268: error 1705: Function prototypes are an ANSI
feature.
(Bundled) cc: "bn_lcl.h", line 269: error 1705: Function prototypes are an ANSI
feature.
*** Error exit code 1
<end problem>
crypto/bn/bn_lcl.h
267
268 void bn_mul_low_recursive(BN_ULONG *r,BN_ULONG *a,BN_ULONG *b,int n2,BN_ULONG
*t);
269 void bn_mul_high(BN_ULONG *r,BN_ULONG *a,BN_ULONG *b,BN_ULONG *l,int n2,
BN_ULONG *t);
270
271
crypto/bn/bn_lcl.h
<start fix>
245 #ifndef NOPROTO
246
247 BIGNUM *bn_expand2(BIGNUM *b, int bits);
248
249 #ifdef X86_ASM
250 void bn_add_words(BN_ULONG *r,BN_ULONG *a,int num);
251 #endif
252
253 void bn_mul_low_recursive(BN_ULONG *r,BN_ULONG *a,BN_ULONG *b,int n2,BN_ULONG
*t);
254 void bn_mul_high(BN_ULONG *r,BN_ULONG *a,BN_ULONG *b,BN_ULONG *l,int n2,
BN_ULONG *t);
255
256 #else
257
258 BIGNUM *bn_expand2();
259 #ifdef X86_ASM
260 BN_ULONG bn_add_words();
261 #endif
262
263 void bn_mul_low_recursive();
264 void bn_mul_high();
265
266 #endif
267
268 #ifdef __cplusplus
269 }
270 #endif
271
272 #endif
273
274
<end fix>
Then I got:
$ make -f Makefile.ssl all
[...]
making all in crypto/bn...
[...]
<start problem>
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
bn_sqr.c
as -o asm/pa-risc2.o asm/pa-risc2.s
as: "asm/pa-risc2.s", line 34: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 53: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 72: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 91: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 136: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 150: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 164: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 178: warning 36: Use of XMPYU is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 212: warning 36: Use of %fr8R is incorrect for the current
LEVEL of 1.0
as: "asm/pa-risc2.s", line 213: warning 36: Use of %fr8R is incorrect for the current
LEVEL of 1.0
[...]
making all in crypto/rsa...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_eay.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_gen.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_lib.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_sign.c
(Bundled) cc: "../../include/x509_vfy.h", line 128: error 1000: Unexpected symbol:
"*".
(Bundled) cc: "../../include/x509_vfy.h", line 129: error 1000: Unexpected symbol:
"*".
[...]
<end problem>
Assembler is broken on HPUX, so I reconfigured with no-asm. Prototypes are not
supported in include/x509_vfy.h. I propose a fix:
$ diff -C3 include/x509_vfy-orig.h include/x509_vfy.h
<start fix>
*** include/x509_vfy-orig.h Thu Mar 11 12:07:49 1999
--- include/x509_vfy.h Thu Mar 11 12:11:58 1999
***************
*** 125,130 ****
--- 125,131 ----
typedef struct x509_lookup_method_st
{
char *name;
+ #ifndef NOPROTO
int (*new_item)(X509_LOOKUP *ctx);
void (*free)(X509_LOOKUP *ctx);
int (*init)(X509_LOOKUP *ctx);
***************
*** 139,144 ****
--- 140,156 ----
X509_OBJECT *ret);
int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len,
X509_OBJECT *ret);
+ #else
+ int (*new_item)();
+ void (*free)();
+ int (*init)();
+ int (*shutdown)();
+ int (*ctrl)();
+ int (*get_by_subject)();
+ int (*get_by_issuer_serial)();
+ int (*get_by_fingerprint)();
+ int (*get_by_alias)();
+ #endif
} X509_LOOKUP_METHOD;
typedef struct x509_store_state_st X509_STORE_CTX;
***************
*** 158,165 ****
--- 170,182 ----
/* These are external lookup methods */
STACK *get_cert_methods;/* X509_LOOKUP */
+ #ifndef NOPROTO
int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate */
int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
+ #else
+ int (*verify)();
+ int (*verify_cb)();
+ #endif
CRYPTO_EX_DATA ex_data;
int references;
<end fix>
So here we go again.
making all in crypto/rsa...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_eay.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_gen.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_lib.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_sign.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_saos.c
perl ../../util/err-ins.pl rsa.err rsa.h
perl ../err/err_genc.pl -s rsa.h rsa_err.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_err.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_pk1.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_ssl.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_none.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rsa_oaep.c
<start problem>
(Bundled) cc: "rsa_oaep.c", line 14: error 1705: Function prototypes are an ANSI
feature.
(Bundled) cc: "rsa_oaep.c", line 141: error 1705: Function prototypes are an ANSI
feature.
<end problem>
Looks like yet another fix for NOPROTO in crypto/rsa/rsa_oaep.c:
<start fix>
14 #ifndef NOPROTO
15 int MGF1(unsigned char *mask, long len, unsigned char *seed, long seedlen);
16 #else
17 int MGF1();
18 #endif
[...]
145 int MGF1(mask, len, seed, seedlen)
146 unsigned char *mask;
147 long len;
148 unsigned char *seed;
149 long seedlen;
<end fix>
And again:
<start problem>
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
bss_log.c
(Bundled) cc: "bss_log.c", line 93: error 1000: Unexpected symbol: "*".
(Bundled) cc: "bss_log.c", line 94: error 1000: Unexpected symbol: "*".
(Bundled) cc: "bss_log.c", line 96: error 1000: Unexpected symbol: "methods_slg".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
<end problem>
Yet another fix for NOPROTO:
<start fix>
$ diff -C3 crypto/bio/bss_log-orig.c crypto/bio/bss_log.c
*** crypto/bio/bss_log-orig.c Thu Mar 11 12:30:13 1999
--- crypto/bio/bss_log.c Thu Mar 11 12:48:11 1999
***************
*** 90,97 ****
--- 90,102 ----
static int MS_CALLBACK slg_free();
#endif
+ #ifndef NOPROTO
static int xopenlog(BIO* bp, char* name, int level);
static int xcloselog(BIO* bp);
+ #else
+ static int xopenlog();
+ static int xcloselog();
+ #endif
static BIO_METHOD methods_slg=
{
***************
*** 221,227 ****
return(ret);
}
! static int xopenlog(BIO* bp, char* name, int level)
{
#if defined(WIN32)
if((bp->ptr= (char *)RegisterEventSource(NULL, name)) == NULL){
--- 226,235 ----
return(ret);
}
! static int xopenlog(bp, name, level)
! BIO* bp;
! char* name;
! int level;
{
#if defined(WIN32)
if((bp->ptr= (char *)RegisterEventSource(NULL, name)) == NULL){
***************
*** 233,239 ****
return(1);
}
! static int xcloselog(BIO* bp)
{
#if defined(WIN32)
if(bp->ptr)
--- 241,248 ----
return(1);
}
! static int xcloselog(bp)
! BIO* bp;
{
#if defined(WIN32)
if(bp->ptr)
<end fix>
And yet another run:
<start problem>
making all in crypto/rand...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
md_rand.c
(Bundled) cc: "md_rand.c", line 133: error 1705: Function prototypes are an ANSI
feature.
<end problem>
And yet another fix:
<start fix>
$ diff crypto/rand/md_rand-orig.c crypto/rand/md_rand.c
132a133
> #ifndef NOPROTO
135a137,141
> #else
> static void ssleay_rand_cleanup();
> static void ssleay_rand_seed();
> static void ssleay_rand_bytes();
> #endif
$
<end fix>
And yet another run:
<start problem>
making all in crypto/rand...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
md_rand.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
randfile.c
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DNOPROTO -D_HPUX_SOURCE -c
rand_lib.c
(Bundled) cc: "rand_lib.c", line 89: warning 5: "const" will become a keyword.
(Bundled) cc: "rand_lib.c", line 89: error 1000: Unexpected symbol: "const".
*** Error exit code 1
<end problem>
And yet another fix, this time I changed const to CONST, and inserted a -DCONST=""
compiler switch.
<start fix>
diff -C3 crypto/rand/rand_lib-orig.c crypto/rand/rand_lib.c
*** crypto/rand/rand_lib-orig.c Thu Mar 11 12:54:52 1999
--- crypto/rand/rand_lib.c Thu Mar 11 12:55:28 1999
***************
*** 86,92 ****
}
void RAND_seed(buf,num)
! const void *buf;
int num;
{
if (rand_meth != NULL)
--- 86,92 ----
}
void RAND_seed(buf,num)
! CONST void *buf;
int num;
{
if (rand_meth != NULL)
<end fix>
And yet another run:
<start problem>
making all in crypto/err...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DCONST="" -DNOPROTO
-D_HPUX_SOURCE -c err.c
Make: Don't know how to make ../../include/pem2.h. Stop.
<end problem>
I saw something about pem2.h on the mailing list, but I thought it had to do
with make links. But I had made links. So I simply copied pem2.h to include/:
$ find ./ -name pem2.h -print
./crypto/pem/pem2.h
$ cp ./crypto/pem/pem2.h include/pem2.h
And life goes on:
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DCONST="" -DNOPROTO
-D_HPUX_SOURCE -c err_all.c
(Bundled) cc: "../../include/x509v3.h", line 78: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 79: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 82: error 1000: Unexpected symbol: "BIO".
(Bundled) cc: "../../include/x509v3.h", line 303: error 1000: Unexpected symbol: ":".
(Bundled) cc: "../../include/x509v3.h", line 304: error 1000: Unexpected symbol: ":".
(Bundled) cc: "../../include/x509v3.h", line 305: error 1000: Unexpected symbol: ";".
(Bundled) cc: "../../include/x509v3.h", line 307: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 308: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 311: error 1000: Unexpected symbol:
"ASN1_STRING".
[more insults deleted]
(Bundled) cc: "../../include/lhash.h", line 77: error 1677: Parameter type has an
invalid storage class specifier "typedef".
(Bundled) cc: "../../include/lhash.h", line 77: error 1580: Formal parameter
"LHASH_NODE" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 81: error 1573: Type of "b" is undefined
due to an illegal declaration.
[more insults deleted]
(Bundled) cc: "../../include/conf.h", line 74: error 1677: Parameter type has an
invalid storage class specifier "typedef".
(Bundled) cc: "../../include/conf.h", line 74: error 1580: Formal parameter
"CONF_VALUE" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 87: error 1573: Type of "CONF_load" is
undefined due to an illegal declaration.
(Bundled) cc: "../../include/conf.h", line 87: error 1580: Formal parameter
"CONF_load" is not in parameter list.
A first step on the way is certainly
<start fix>
$ diff -C3 include/x509v3-orig.h include/x509v3.h
*** include/x509v3-orig.h Thu Mar 11 13:05:28 1999
--- include/x509v3.h Thu Mar 11 13:13:43 1999
***************
*** 75,80 ****
--- 75,81 ----
typedef void (*X509V3_EXT_FREE)();
typedef char * (*X509V3_EXT_D2I)();
typedef int (*X509V3_EXT_I2D)();
+ #ifndef NOPROTO
typedef STACK * (*X509V3_EXT_I2V)(struct v3_ext_method *method, char *ext, STACK
*extlist);
typedef char * (*X509V3_EXT_V2I)(struct v3_ext_method *method, struct v3_ext_ctx
*ctx, STACK *values);
typedef char * (*X509V3_EXT_I2S)(struct v3_ext_method *method, char *ext);
***************
*** 81,86 ****
--- 82,95 ----
typedef char * (*X509V3_EXT_S2I)(struct v3_ext_method *method, struct v3_ext_ctx
*ctx, char *str);
typedef int (*X509V3_EXT_I2R)(struct v3_ext_method *method, char *ext, BIO *out);
typedef char *(*X509V3_EXT_R2I)(struct v3_ext_method *method, char *db, char *value);
+ #else
+ typedef STACK * (*X509V3_EXT_I2V)();
+ typedef char * (*X509V3_EXT_V2I)();
+ typedef char * (*X509V3_EXT_I2S)();
+ typedef char * (*X509V3_EXT_S2I)();
+ typedef int (*X509V3_EXT_I2R)();
+ typedef char *(*X509V3_EXT_R2I)();
+ #endif
/* V3 extension structure */
<end fix>
But this was only part of the problem.
And here is the full PROBLEM that I gave up upon. Any K&R specialists out there
willing to collaborate with Steve?
making all in crypto/err...
cc -I.. -I../../include -DB_ENDIAN -DNOCONST -DCONST="" -DNOPROTO
-D_HPUX_SOURCE -c err_all.c
(Bundled) cc: "../../include/x509v3.h", line 312: error 1000: Unexpected symbol: ":".
(Bundled) cc: "../../include/x509v3.h", line 313: error 1000: Unexpected symbol: ":".
(Bundled) cc: "../../include/x509v3.h", line 314: error 1000: Unexpected symbol: ";".
(Bundled) cc: "../../include/x509v3.h", line 316: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 317: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 320: error 1000: Unexpected symbol:
"ASN1_STRING".
(Bundled) cc: "../../include/x509v3.h", line 323: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 325: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/x509v3.h", line 348: error 1000: Unexpected symbol:
"X509V3_EXT_METHOD".
(Bundled) cc: "../../include/x509v3.h", line 349: error 1000: Unexpected symbol:
"X509V3_EXT_METHOD".
(Bundled) cc: "../../include/x509v3.h", line 351: error 1000: Unexpected symbol:
"STACK".
(Bundled) cc: "../../include/lhash.h", line 81: error 1000: Unexpected symbol:
"LHASH_NODE".
(Bundled) cc: "../../include/lhash.h", line 137: error 1000: Unexpected symbol:
"LHASH".
(Bundled) cc: "../../include/conf.h", line 87: error 1000: Unexpected symbol: "LHASH".
(Bundled) cc: "../../include/conf.h", line 88: error 1000: Unexpected symbol: "STACK".
(Bundled) cc: "err.h", line 277: error 1000: Unexpected symbol: "ERR_STATE".
(Bundled) cc: "err.h", line 280: error 1000: Unexpected symbol: "LHASH".
(Bundled) cc: "err.h", line 281: error 1000: Unexpected symbol: "LHASH".
(Bundled) cc: "err_all.c", line 85: error 1000: Unexpected symbol: "{".
(Bundled) cc: "../../include/pem2.h", line 60: error 1705: Function prototypes are an
ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 313: error 1574: Unknown size for
"GENERAL_NAMES_free".
(Bundled) cc: "../../include/x509v3.h", line 313: error 1580: Formal parameter
"GENERAL_NAMES_free" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 315: error 1580: Formal parameter
"i2d_GENERAL_NAMES" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 315: warning 522: Parameter
"i2d_GENERAL_NAMES" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 316: error 1573: Type of
"i2v_GENERAL_NAMES" is undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 316: error 1580: Formal parameter
"i2v_GENERAL_NAMES" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 317: error 1573: Type of
"v2i_GENERAL_NAMES" is undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 317: error 1580: Formal parameter
"v2i_GENERAL_NAMES" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 319: error 1580: Formal parameter
"i2s_ASN1_OCTET_STRING" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 319: warning 522: Parameter
"i2s_ASN1_OCTET_STRING" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 320: error 1573: Type of
"s2i_ASN1_OCTET_STRING" is undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 320: error 1580: Formal parameter
"s2i_ASN1_OCTET_STRING" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 322: error 1580: Formal parameter
"i2d_ext_ku" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 322: warning 522: Parameter "i2d_ext_ku"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 323: error 1573: Type of "d2i_ext_ku" is
undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 323: error 1580: Formal parameter
"d2i_ext_ku" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 324: error 1580: Formal parameter
"ext_ku_free" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 324: warning 522: Parameter "ext_ku_free"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 325: error 1573: Type of "ext_ku_new" is
undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 325: error 1580: Formal parameter
"ext_ku_new" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 337: error 1580: Formal parameter
"X509V3_add_value" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 337: warning 522: Parameter
"X509V3_add_value" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 338: error 1580: Formal parameter
"X509V3_add_value_bool" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 338: warning 522: Parameter
"X509V3_add_value_bool" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 339: error 1580: Formal parameter
"X509V3_add_value_int" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 339: warning 522: Parameter
"X509V3_add_value_int" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 340: error 1580: Formal parameter
"i2s_ASN1_INTEGER" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 340: warning 522: Parameter
"i2s_ASN1_INTEGER" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 341: error 1580: Formal parameter
"i2s_ASN1_ENUMERATED" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 341: warning 522: Parameter
"i2s_ASN1_ENUMERATED" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 342: error 1580: Formal parameter
"i2s_ASN1_ENUMERATED_TABLE" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 342: warning 522: Parameter
"i2s_ASN1_ENUMERATED_TABLE" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 343: error 1580: Formal parameter
"X509V3_EXT_add" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 343: warning 522: Parameter
"X509V3_EXT_add" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 344: error 1580: Formal parameter
"X509V3_EXT_CRL_add_conf" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 344: warning 522: Parameter
"X509V3_EXT_CRL_add_conf" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 345: error 1580: Formal parameter
"X509V3_EXT_add_alias" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 345: warning 522: Parameter
"X509V3_EXT_add_alias" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 346: error 1580: Formal parameter
"X509V3_EXT_cleanup" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 346: warning 522: Parameter
"X509V3_EXT_cleanup" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 348: error 1573: Type of "X509V3_EXT_get"
is undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 348: error 1580: Formal parameter
"X509V3_EXT_get" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 349: error 1573: Type of
"X509V3_EXT_get_nid" is undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 349: error 1580: Formal parameter
"X509V3_EXT_get_nid" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 350: error 1580: Formal parameter
"X509V3_add_standard_extensions" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 350: warning 522: Parameter
"X509V3_add_standard_extensions" may not be declared as a function. This is an ANSI
feature.
(Bundled) cc: "../../include/x509v3.h", line 351: error 1573: Type of
"X509V3_parse_list" is undefined due to an illegal declaration.
(Bundled) cc: "../../include/x509v3.h", line 351: error 1580: Formal parameter
"X509V3_parse_list" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 352: error 1580: Formal parameter
"X509V3_EXT_d2i" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 352: warning 522: Parameter
"X509V3_EXT_d2i" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 354: error 1580: Formal parameter
"hex_to_string" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 354: warning 522: Parameter
"hex_to_string" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 355: error 1580: Formal parameter
"string_to_hex" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 355: warning 522: Parameter
"string_to_hex" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 356: error 1580: Formal parameter
"name_cmp" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 356: warning 522: Parameter "name_cmp"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 358: error 1580: Formal parameter
"X509V3_EXT_print" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 358: warning 522: Parameter
"X509V3_EXT_print" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/x509v3.h", line 359: error 1580: Formal parameter
"X509V3_EXT_print_fp" is not in parameter list.
(Bundled) cc: "../../include/x509v3.h", line 359: warning 522: Parameter
"X509V3_EXT_print_fp" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 77: error 1677: Parameter type has an
invalid storage class specifier "typedef".
(Bundled) cc: "../../include/lhash.h", line 77: error 1580: Formal parameter
"LHASH_NODE" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 81: error 1573: Type of "b" is undefined
due to an illegal declaration.
(Bundled) cc: "../../include/lhash.h", line 81: error 1578: Size of struct or union
member is unknown.
(Bundled) cc: "../../include/lhash.h", line 107: error 1677: Parameter type has an
invalid storage class specifier "typedef".
(Bundled) cc: "../../include/lhash.h", line 107: error 1580: Formal parameter "LHASH"
is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 137: error 1573: Type of "lh_new" is
undefined due to an illegal declaration.
(Bundled) cc: "../../include/lhash.h", line 137: error 1580: Formal parameter "lh_new"
is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 138: error 1580: Formal parameter
"lh_free" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 138: warning 522: Parameter "lh_free" may
not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 139: error 1580: Formal parameter
"lh_insert" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 139: warning 522: Parameter "lh_insert"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 140: error 1580: Formal parameter
"lh_delete" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 140: warning 522: Parameter "lh_delete"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 141: error 1580: Formal parameter
"lh_retrieve" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 141: warning 522: Parameter "lh_retrieve"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 142: error 1580: Formal parameter
"lh_doall" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 142: warning 522: Parameter "lh_doall" may
not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 143: error 1580: Formal parameter
"lh_doall_arg" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 143: warning 522: Parameter "lh_doall_arg"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 144: error 1580: Formal parameter
"lh_strhash" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 144: warning 522: Parameter "lh_strhash"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 147: error 1580: Formal parameter
"lh_stats" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 147: warning 522: Parameter "lh_stats" may
not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 148: error 1580: Formal parameter
"lh_node_stats" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 148: warning 522: Parameter
"lh_node_stats" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 149: error 1580: Formal parameter
"lh_node_usage_stats" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 149: warning 522: Parameter
"lh_node_usage_stats" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 151: error 1580: Formal parameter
"lh_stats_bio" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 151: warning 522: Parameter "lh_stats_bio"
may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 152: error 1580: Formal parameter
"lh_node_stats_bio" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 152: warning 522: Parameter
"lh_node_stats_bio" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/lhash.h", line 153: error 1580: Formal parameter
"lh_node_usage_stats_bio" is not in parameter list.
(Bundled) cc: "../../include/lhash.h", line 153: warning 522: Parameter
"lh_node_usage_stats_bio" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/conf.h", line 74: error 1677: Parameter type has an
invalid storage class specifier "typedef".
(Bundled) cc: "../../include/conf.h", line 74: error 1580: Formal parameter
"CONF_VALUE" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 87: error 1573: Type of "CONF_load" is
undefined due to an illegal declaration.
(Bundled) cc: "../../include/conf.h", line 87: error 1580: Formal parameter
"CONF_load" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 88: error 1573: Type of "CONF_get_section"
is undefined due to an illegal declaration.
(Bundled) cc: "../../include/conf.h", line 88: error 1580: Formal parameter
"CONF_get_section" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 89: error 1580: Formal parameter
"CONF_get_string" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 89: warning 522: Parameter
"CONF_get_string" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/conf.h", line 90: error 1580: Formal parameter
"CONF_get_number" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 90: warning 522: Parameter
"CONF_get_number" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/conf.h", line 91: error 1580: Formal parameter
"CONF_free" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 91: warning 522: Parameter "CONF_free" may
not be declared as a function. This is an ANSI feature.
(Bundled) cc: "../../include/conf.h", line 92: error 1580: Formal parameter
"ERR_load_CONF_strings" is not in parameter list.
(Bundled) cc: "../../include/conf.h", line 92: warning 522: Parameter
"ERR_load_CONF_strings" may not be declared as a function. This is an ANSI feature.
(Bundled) cc: "/usr/include/errno.h", line 9: error 1677: Parameter type has an
invalid storage class specifier "extern".
(Bundled) cc: "/usr/include/errno.h", line 9: error 1580: Formal parameter "errno" is
not in parameter list.
(Bundled) cc: "/usr/include/sys/errno.h", line 24: error 1677: Parameter type has an
invalid storage class specifier "extern".
(Bundled) cc: "/usr/include/sys/errno.h", line 24: warning 529: Function declares a
formal parameter "errno" more than once.
(Bundled) cc: "err.h", line 93: error 1677: Parameter type has an invalid storage
class specifier "typedef".
(Bundled) cc: "err.h", line 93: error 1580: Formal parameter "ERR_STATE" is not in
parameter list.
(Bundled) cc: "err.h", line 208: error 1677: Parameter type has an invalid storage
class specifier "typedef".
(Bundled) cc: "err.h", line 208: error 1580: Formal parameter "ERR_STRING_DATA" is not
in parameter list.
(Bundled) cc: "err.h", line 254: error 1580: Formal parameter "ERR_put_error" is not
in parameter list.
(Bundled) cc: "err.h", line 254: warning 522: Parameter "ERR_put_error" may not be
declared as a function. This is an ANSI feature.
(Bundled) cc: "err.h", line 255: error 1580: Formal parameter "ERR_set_error_data" is
not in parameter list.
(Bundled) cc: "err.h", line 255: warning 522: Parameter "ERR_set_error_data" may not
be declared as a function. This is an ANSI feature.
(Bundled) cc: "err.h", line 257: error 1580: Formal parameter "ERR_get_error" is not
in parameter list.
(Bundled) cc: Panic 2161: Maximum allowed number of errors exceeded.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.