Problems with make and 0.9.5a
I have also tried gcc v 2.95.2. Any guesses on this one?
OS: Solaris 7
Testlog:
OpenSSL self-test report:
OpenSSL version: 0.9.5a
Last change: Make sure _lrotl and _lrotr are only used with MSVC....
Options: no-asm
OS (uname): SunOS padfoot 5.7 Generic sun4m sparc
SUNW,SPARCstation-5
OS (config): sun4m-sun-solaris2
Target (default): solaris-sparcv8-gcc
Target: solaris-sparcv8-gcc
Compiler: gcc version 2.95.1 19990816 (release)
Failure!
-----------------------------------------------------------------------------
making all in crypto...
making all in crypto/md2...
making all in crypto/md5...
making all in crypto/sha...
making all in crypto/mdc2...
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -DNO_ASM -mv8 -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -c mdc2dgst.c
In file included from mdc2dgst.c:63:
../../include/openssl/mdc2.h:79: parse error before `des_cblock'
../../include/openssl/mdc2.h:79: warning: no semicolon at end of struct or
union
../../include/openssl/mdc2.h:81: parse error before `}'
../../include/openssl/mdc2.h:81: warning: type defaults to `int' in
declaration of `MDC2_CTX'
../../include/openssl/mdc2.h:81: warning: data definition has no type or
storage class
../../include/openssl/mdc2.h:84: parse error before `*'
../../include/openssl/mdc2.h:85: parse error before `*'
../../include/openssl/mdc2.h:86: parse error before `MDC2_CTX'
mdc2dgst.c:77: parse error before `*'
mdc2dgst.c:78: parse error before `*'
mdc2dgst.c: In function `MDC2_Init':
mdc2dgst.c:80: `c' undeclared (first use in this function)
mdc2dgst.c:80: (Each undeclared identifier is reported only once
mdc2dgst.c:80: for each function it appears in.)
mdc2dgst.c: At top level:
mdc2dgst.c:86: parse error before `*'
mdc2dgst.c: In function `MDC2_Update':
mdc2dgst.c:90: `c' undeclared (first use in this function)
mdc2dgst.c:93: `len' undeclared (first use in this function)
mdc2dgst.c:96: `in' undeclared (first use in this function)
mdc2dgst.c: At top level:
mdc2dgst.c:121: parse error before `*'
mdc2dgst.c: In function `mdc2_body':
mdc2dgst.c:123: syntax error before `tin0'
mdc2dgst.c:124: syntax error before `ttin0'
mdc2dgst.c:125: `DES_LONG' undeclared (first use in this function)
mdc2dgst.c:126: `des_key_schedule' undeclared (first use in this function)
mdc2dgst.c:130: `len' undeclared (first use in this function)
mdc2dgst.c:132: `tin0' undeclared (first use in this function)
mdc2dgst.c:132: `in' undeclared (first use in this function)
mdc2dgst.c:132: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:132: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:132: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:132: `d' undeclared (first use in this function)
mdc2dgst.c:132: `dd' undeclared (first use in this function)
mdc2dgst.c:133: `tin1' undeclared (first use in this function)
mdc2dgst.c:133: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:133: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:133: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:134: `c' undeclared (first use in this function)
mdc2dgst.c:137: warning: implicit declaration of function
`des_set_odd_parity'
mdc2dgst.c:138: warning: implicit declaration of function
`des_set_key_unchecked'
mdc2dgst.c:138: `k' undeclared (first use in this function)
mdc2dgst.c:139: warning: implicit declaration of function `des_encrypt'
mdc2dgst.c:145: `ttin0' undeclared (first use in this function)
mdc2dgst.c:146: `ttin1' undeclared (first use in this function)
mdc2dgst.c:151: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:151: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:151: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:152: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:152: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:152: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:154: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:154: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:154: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:155: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:155: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c:155: warning: left-hand operand of comma expression has no
effect
mdc2dgst.c: At top level:
mdc2dgst.c:159: parse error before `MDC2_CTX'
mdc2dgst.c: In function `MDC2_Final':
mdc2dgst.c:163: `c' undeclared (first use in this function)
mdc2dgst.c:172: `md' undeclared (first use in this function)
mdc2dgst.c: In function `MDC2_Update':
mdc2dgst.c:88: warning: `i' might be used uninitialized in this function
mdc2dgst.c:88: warning: `j' might be used uninitialized in this function
mdc2dgst.c: In function `MDC2_Final':
mdc2dgst.c:161: warning: `i' might be used uninitialized in this function
mdc2dgst.c:161: warning: `j' might be used uninitialized in this function
*** Error code 1
make: Fatal error: Command failed for target `mdc2dgst.o'
Current working directory /usr/local/openssl-0.9.5a/crypto/mdc2
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /usr/local/openssl-0.9.5a/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/openssl-0.9.5a
-----------------------------------------------------------------------------
testing...
gcc -I../include -DTHREADS -D_REENTRANT -DNO_ASM -mv8 -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -c bntest.c
In file included from ../include/openssl/evp.h:100,
from ../include/openssl/x509.h:87,
from bntest.c:68:
../include/openssl/mdc2.h:79: parse error before `des_cblock'
../include/openssl/mdc2.h:79: warning: no semicolon at end of struct or
union
../include/openssl/mdc2.h:81: parse error before `}'
../include/openssl/mdc2.h:81: warning: type defaults to `int' in
declaration of `MDC2_CTX'
../include/openssl/mdc2.h:81: warning: data definition has no type or
storage class
../include/openssl/mdc2.h:84: parse error before `*'
../include/openssl/mdc2.h:85: parse error before `*'
../include/openssl/mdc2.h:86: parse error before `MDC2_CTX'
In file included from ../include/openssl/x509.h:87,
from bntest.c:68:
../include/openssl/evp.h:308: parse error before `MDC2_CTX'
../include/openssl/evp.h:308: warning: no semicolon at end of struct or
union
../include/openssl/evp.h:308: warning: no semicolon at end of struct or
union
../include/openssl/evp.h:310: warning: type defaults to `int' in
declaration of `md'
../include/openssl/evp.h:310: warning: data definition has no type or
storage class
../include/openssl/evp.h:311: parse error before `}'
../include/openssl/evp.h:311: warning: type defaults to `int' in
declaration of `EVP_MD_CTX'
../include/openssl/evp.h:311: warning: data definition has no type or
storage class
../include/openssl/evp.h:356: parse error before `des_key_schedule'
../include/openssl/evp.h:356: warning: no semicolon at end of struct or
union
../include/openssl/evp.h:356: warning: no semicolon at end of struct or
union
../include/openssl/evp.h:359: parse error before `des_key_schedule'
../include/openssl/evp.h:359: warning: no semicolon at end of struct or
union
../include/openssl/evp.h:360: warning: type defaults to `int' in
declaration of `inw'
../include/openssl/evp.h:360: warning: data definition has no type or
storage class
../include/openssl/evp.h:361: parse error before `outw'
../include/openssl/evp.h:361: warning: type defaults to `int' in
declaration of `outw'
../include/openssl/evp.h:361: warning: data definition has no type or
storage class
../include/openssl/evp.h:362: warning: type defaults to `int' in
declaration of `desx_cbc'
../include/openssl/evp.h:362: warning: data definition has no type or
storage class
../include/openssl/evp.h:365: parse error before `des_key_schedule'
../include/openssl/evp.h:365: warning: no semicolon at end of struct or
union
../include/openssl/evp.h:366: warning: type defaults to `int' in
declaration of `ks2'
../include/openssl/evp.h:366: warning: data definition has no type or
storage class
../include/openssl/evp.h:367: parse error before `ks3'
../include/openssl/evp.h:367: warning: type defaults to `int' in
declaration of `ks3'
../include/openssl/evp.h:367: warning: data definition has no type or
storage class
../include/openssl/evp.h:368: warning: type defaults to `int' in
declaration of `des_ede'
../include/openssl/evp.h:368: warning: data definition has no type or
storage class
../include/openssl/evp.h:385: parse error before `}'
../include/openssl/evp.h:385: warning: type defaults to `int' in
declaration of `c'
../include/openssl/evp.h:385: warning: data definition has no type or
storage class
../include/openssl/evp.h:386: parse error before `}'
../include/openssl/evp.h:386: warning: type defaults to `int' in
declaration of `EVP_CIPHER_CTX'
../include/openssl/evp.h:386: warning: data definition has no type or
storage class
../include/openssl/evp.h:402: parse error before `*'
../include/openssl/evp.h:475: parse error before `*'
../include/openssl/evp.h:476: parse error before `*'
../include/openssl/evp.h:477: parse error before `*'
../include/openssl/evp.h:479: parse error before `*'
../include/openssl/evp.h:489: parse error before `*'
../include/openssl/evp.h:491: parse error before `*'
../include/openssl/evp.h:493: parse error before `*'
../include/openssl/evp.h:495: parse error before `*'
../include/openssl/evp.h:497: parse error before `*'
../include/openssl/evp.h:499: parse error before `*'
../include/openssl/evp.h:501: parse error before `*'
../include/openssl/evp.h:503: parse error before `*'
../include/openssl/evp.h:505: parse error before `*'
../include/openssl/evp.h:507: parse error before `*'
../include/openssl/evp.h:510: parse error before `*'
../include/openssl/evp.h:513: parse error before `*'
../include/openssl/evp.h:515: parse error before `*'
../include/openssl/evp.h:517: parse error before `*'
../include/openssl/evp.h:519: parse error before `*'
../include/openssl/evp.h:536: parse error before `*'
../include/openssl/evp.h:537: parse error before `*'
../include/openssl/evp.h:651: parse error before `*'
../include/openssl/evp.h:652: parse error before `*'
../include/openssl/evp.h:655: parse error before `*'
../include/openssl/evp.h:656: parse error before `*'
../include/openssl/evp.h:659: parse error before `*'
../include/openssl/evp.h:665: parse error before `*'
../include/openssl/evp.h:672: parse error before `EVP_CIPHER_CTX'
*** Error code 1
make: Fatal error: Command failed for target `bntest.o'
Current working directory /usr/local/openssl-0.9.5a/test
*** Error code 1
make: Fatal error: Command failed for target `tests'
Current working directory /usr/local/openssl-0.9.5a
-----------------------------------------------------------------------------
OpenSSL self-test report:
OpenSSL version: 0.9.5a
Last change: Make sure _lrotl and _lrotr are only used with MSVC....
Options: no-asm
OS (uname): SunOS padfoot 5.7 Generic sun4m sparc
SUNW,SPARCstation-5
OS (config): sun4m-sun-solaris2
Target (default): solaris-sparcv8-gcc
Target: solaris-sparcv8-gcc
Compiler: gcc version 2.95.1 19990816 (release)
Failure!
[...]
Test report in file testlog
-------------------------------------
William C. Klein
Webmaster | Vax Systems Administrator
Valparaiso University
-------------------------------------
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]