Re: OpenSSL 0.9.5a beta1 released

2000-03-22 Thread Holger Reif

Guillaume Filion schrieb:
 
  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

The first time was configured for gcc:

 ragueneau:~/openssl-0.9.5a-beta1 ./config
 Operating system: sun4m-sun-sunos4
 Configuring for sunos-gcc

Please check, whether the config script really choosed
at one tim gcc and the second time cc without any obvious reason.

I had the compile run at an old ELC (It took more then 2 
hours just to compile!!!) I can confirm that the define
-Dssize_t=int solves the problem that the compile chocked.

Unfortunately there is a little problem since for some reason
both sys/ioctl.h and termios.h were included which leads to 
warnings about redifinitions like ECHO or NL0.
And even worse, three symbols are not available: "memmove",
"strerror" and "strtoul". This, ofcourse, prevents tests.
Unfortunatley I don't have time right now to further investigate 
the problem. Eventually the installation is just crap.

-- 
Holger Reif  Tel.: +49 361 74707-0
SmartRing GmbH   Fax.: +49 361 7470720
Europaplatz 5 [EMAIL PROTECTED]
D-99091 ErfurtWWW.SmartRing.de
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: OpenSSL 0.9.5a beta1 released

2000-03-22 Thread Bodo Moeller

Holger Reif [EMAIL PROTECTED]:
 Guillaume Filion:

 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

 The first time was configured for gcc:
[...]
 Please check, whether the config script really choosed
 at one tim gcc and the second time cc without any obvious reason.

I just noticed that too and sent him an e-mail message asking for
clarification -- note that the second time, config reported "Operating
system: sun4u-sun-solaris2", which certainly is not the
SunOS 4.x environment where the initial attempt failed.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: OpenSSL 0.9.5a beta1 released

2000-03-21 Thread Guillaume Filion


 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]



Re: OpenSSL 0.9.5a beta1 released

2000-03-21 Thread Bodo Moeller

On Tue, Mar 21, 2000 at 11:13:02AM -0500, Guillaume Filion wrote:
 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:
[...]
 "/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

Strange, so ssize_t apparently *is* declared in sys/types.h on
that system ... but then the previous error (the problem in
crypto/bio/bio_bss.c) should not have happended: bio_bss.c includes
e_os.h, which includes sys/types.h.  Can you make out any
#if's or #ifdef's in /usr/include/sys/types.h that might have
something to do with this?  Does adding another #include sys/types.h
at the beginning of crypto/bio/bio_bss.c change anything?
(Run ./config again before testing, without options.)
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: OpenSSL 0.9.5a beta1 released

2000-03-20 Thread Guillaume Filion

At 09:51 +0100 20/03/00, Richard Levitte wrote:
The first beta release of OpenSSL 0.9.5a is now available from the OpenSSL
FTP site URL: ftp://ftp.openssl.org/source/.  This beta will end in a
week (27 Mar 2000), at which point either a second beta or the real thing
will be released.

To make sure that it will work correctly, please test this version
(especially on less common platforms), and report any problems to
[EMAIL PROTECTED].

Hi there,

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...).
Anyway, here's what I got:

ragueneau:~/openssl-0.9.5a-beta1 ./config
Operating system: sun4m-sun-sunos4
Configuring for sunos-gcc
IsWindows=0
CC=gcc
CFLAG =-O3 -mv8
EX_LIBS   =
BN_ASM=bn_asm.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   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB=/bin/ranlib
PERL  =/gel/logiciels/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
Makefile = Makefile.ssl
[*SNIP*]
making links in ssl...
Makefile = Makefile.ssl
ssl.h = ../include/openssl/ssl.h
ssl2.h = ../include/openssl/ssl2.h
ssl3.h = ../include/openssl/ssl3.h
ssl23.h = ../include/openssl/ssl23.h
tls1.h = ../include/openssl/tls1.h
ssltest.c = ../test/ssltest.c
making links in rsaref...
Makefile = Makefile.ssl
rsaref.h = ../include/openssl/rsaref.h
making links in apps...
Makefile = Makefile.ssl
making links in test...
Makefile = Makefile.ssl
making links in tools...
Makefile = Makefile.ssl

Configured for sunos-gcc.

The library could not be configured for supporting multi-threaded
applications as the compiler options required on this system are not known.
See file INSTALL for details if you need multi-threading.

ragueneau:~/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 \"gcc -O3 -mv8\""; \
echo "  #define PLATFORM \"sunos-gcc\""; \
echo "  #define DATE \"`date`\""; \
echo "#endif" ) buildinf.h
gcc -I. -I../include -O3 -mv8  -target sun4 -c  cryptlib.c
[*SNIP*]
gcc -I.. -I../../include -O3 -mv8  -target sun4 -c  bss_bio.c
bss_bio.c:214: parse error before `bio_nread0'
bss_bio.c: In function `bio_nread0':
bss_bio.c:217: `ssize_t' undeclared (first use this function)
bss_bio.c:217: (Each undeclared identifier is reported only once
bss_bio.c:217: for each function it appears in.)
bss_bio.c:217: parse error before `num'
bss_bio.c:241: `num' undeclared (first use this function)
bss_bio.c: At top level:
bss_bio.c:252: parse error before `bio_nread'
bss_bio.c: In function `bio_nread':
bss_bio.c:255: `ssize_t' undeclared (first use this function)
bss_bio.c:255: parse error before `num'
bss_bio.c:258: `num' undeclared (first use this function)
bss_bio.c:260: parse error before `num_'
bss_bio.c:262: `available' undeclared (first use this function)
bss_bio.c: At top level:
bss_bio.c:365: parse error before `bio_nwrite0'
bss_bio.c:413: parse error before `bio_nwrite'
bss_bio.c: In function `bio_nwrite':
bss_bio.c:416: `ssize_t' undeclared (first use this function)
bss_bio.c:416: parse error before `num'
bss_bio.c:419: `num' undeclared (first use this function)
bss_bio.c:421: parse error before `num_'
bss_bio.c:423: `space' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `bss_bio.o'
Current working directory 
/a/rigaud/gel/rigaud/usr/filion00/openssl-0.9.5a-beta1/crypto/bio
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
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'
ragueneau:~/openssl-0.9.5a-beta1


I'll keep an "unsnipped" version of the report, ask me if you need it,
GFK's
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]