Description: Cannot build OpenSSL-0.9.1c under Solaris 2.6 with Sun C
compiler
OpenSSL-0.9.1c
SunOS 5.6 (Solaris 2.6), SPARC sun4m, SunC 4.2
make install (had previously run 'Configure solaris-sparc-cc')
See end of mail for 'NOTES'.
COMMAND:
Configure solaris-sparc-cc
make install
OUTPUT:
making all in bn...
cc -I.. -I../../include -fast -O -Xa -DB_ENDIAN -c bn_add.c
cc -I.. -I../../include -fast -O -Xa -DB_ENDIAN -c bn_div.c
cc -I.. -I../../include -fast -O -Xa -DB_ENDIAN -c bn_exp.c
cc -I.. -I../../include -fast -O -Xa -DB_ENDIAN -c bn_lib.c
cc -I.. -I../../include -fast -O -Xa -DB_ENDIAN -c bn_mul.c
"bn_mul.c", line 98: syntax error before or at: /
"bn_mul.c", line 105: warning: old-style declaration or incorrect type for:
c1
"bn_mul.c", line 105: undefined symbol: a
"bn_mul.c", line 105: undefined symbol: n
"bn_mul.c", line 105: cannot dereference non-pointer type
"bn_mul.c", line 105: warning: improper pointer/integer combination: arg #1
"bn_mul.c", line 105: warning: argument #2 is incompatible with prototype:
prototype: pointer to ulong : "./bn.h", line 432
argument : pointer to int
"bn_mul.c", line 105: non-constant initializer: op "CALL"
"bn_mul.c", line 106: warning: old-style declaration or incorrect type for:
c2
"bn_mul.c", line 106: undefined symbol: b
"bn_mul.c", line 106: cannot dereference non-pointer type
"bn_mul.c", line 106: warning: argument #1 is incompatible with prototype:
prototype: pointer to ulong : "./bn.h", line 432
argument : pointer to int
"bn_mul.c", line 106: warning: improper pointer/integer combination: arg #2
"bn_mul.c", line 106: non-constant initializer: op "CALL"
"bn_mul.c", line 107: warning: old-style declaration or incorrect type for:
zero
"bn_mul.c", line 107: undefined symbol: neg
"bn_mul.c", line 107: non-constant initializer: op "="
"bn_mul.c", line 108: syntax error before or at: switch
"bn_mul.c", line 108: undefined or not a type: c2
"bn_mul.c", line 108: identifier redefined: c2
current : function() returning int
previous: int : "bn_mul.c", line 106
"bn_mul.c", line 108: cannot recover from previous errors
cc: acomp failed for bn_mul.c
*** Error code 2
make: Fatal error: Command failed for target `bn_mul.o'
Current working directory /home/ipollard/openssl-0.9.1c/crypto/bn
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /home/ipollard/openssl-0.9.1c/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'
NOTES:
I tried using the "-Xt" option for cc to no avail.
I had no problem building SSLeay-0.9.0b under the same environment.
'bn_mul.c' in OpenSSL-0.9.1c has changed quite a bit since SSLeay-0.9.0b.
** I would be pleased to help with this or any other issues (esp. Solaris
2.6/SunC related) for the OpenSSL project. I have some very well commented
Unix client and server minimal SSLeay-0.9.0b implementations (client
verification of server certificate only, no renegotiation) and a delphi
client that operates with that server if you think they may be of some use
to somebody. The minimal demo with the distribution is too old - doesn't
work.
Thanks,
Ian Pollard
Server Development Team Leader
The Partnership Group
Melbourne, Australia
[EMAIL PROTECTED]
Ph# 613 9670 6090
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]