> Guillaume Filion <[EMAIL PROTECTED]>:
>
> > I tried to compile Openssl 0.9.5a beta 1 on SunOS 4.1.4 1 and it
> > didn't worked (note that I never tried to compile an earlier/stable
> > version on SunOS...).
> [...]
> > bss_bio.c:217: `ssize_t' undeclared (first use this function)
>
> Try "./config -Dssize_t=int".
>
It didn't worked either:
rupert:~/openssl-0.9.5a-beta1> ./config -Dssize_t=int
Operating system: sun4u-sun-solaris2
Configuring for solaris-sparcv9-cc
IsWindows=0
CC =cc
CFLAG =-DTHREADS -D_REENTRANT -Dssize_t=int -xtarget=ultra -xarch=v8plus -xO5
-xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
EX_LIBS =-lsocket -lnsl
BN_ASM =asm/sparcv8plus.o
DES_ENC =des_enc.o fcrypt_b.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =asm/md5-sparcv8plus.o
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =/usr/ccs/bin/ranlib
PERL =/gel/solaris2/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4 uses uchar
RC4_CHUNK is unsigned long long
BF_PTR used
[*SNIP*]
Configured for solaris-sparcv9-cc.
rupert:~/openssl-0.9.5a-beta1> make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
echo " #define CFLAGS \"cc -DTHREADS -D_REENTRANT -Dssize_t=int -xtarget=ultra
-xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC
-DMD5_ASM\""; \
echo " #define PLATFORM \"solaris-sparcv9-cc\""; \
echo " #define DATE \"`date`\""; \
echo "#endif" ) >buildinf.h
cc -I. -I../include -DTHREADS -D_REENTRANT -Dssize_t=int -xtarget=ultra -xarch=v8plus
-xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
cryptlib.c
"/usr/include/sys/types.h", line 190: invalid type combination
"/usr/include/sys/types.h", line 190: warning: useless declaration
"/usr/include/sys/types.h", line 190: warning: typedef declares no type name
cc: acomp failed for cryptlib.c
*** Error code 2
make: Fatal error: Command failed for target `cryptlib.o'
Current working directory /a/rigaud/gel/rigaud/usr/filion00/openssl-0.9.5a-beta1/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'
rupert:~/openssl-0.9.5a-beta1>
Any other idea?
GFK's
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]