[openssl.org #280] error msg making openssl

2002-11-15 Thread Lutz Jaenicke via RT

As no more information came in with respect to this issue, I consider 
this problem to be resolved in the meantime. 
 
Best regards, 
  Lutz 
 
 
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #280] error msg making openssl

2002-09-11 Thread


I sent e-mail in English before.
Anyway I'm sending it again.
---
I trird to run make command while installing openssl 0.9.6g.
But I got the following error.(first log including make report)
Af first I just modified Makefile in sub directory then skip to compile
read_pwd.c.
After that, I got another error in other step.(second log)..
Please give me a solution as soon as possible.
I'm waiting for your answer.
Thank you.

Best Regards.

error when make
gcc -I.. -I../.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -mv8
-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
-c  read_pwd.c
In file included from /usr/include/termios.h:13,
 from read_pwd.c:143:
/usr/include/sys/termios.h:376: parse error before `uint32_t'
/usr/include/sys/termios.h:376: warning: no semicolon at end of struct or
union
*** Error code 1
make: Fatal error: Command failed for target `read_pwd.o'
Current working directory /d01/openssh/openssl-0.9.6g/crypto/des
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /d01/openssh/openssl-0.9.6g/crypto
*** Error code 1
make: Fatal error: Command failed for target `sub_all'

root@inno005:/d01/openssh/openssl-0.9.6g]make report
Checking compiler...
ar: creating cctest.a
Running make...
+ rm -f libcrypto.so.0
+ rm -f libcrypto.so
+ rm -f libcrypto.so.0.9.6
+ rm -f libssl.so.0
+ rm -f libssl.so
+ rm -f libssl.so.0.9.6
making all in crypto...
making all in crypto/md2...
making all in crypto/md4...
making all in crypto/md5...
making all in crypto/sha...
making all in crypto/mdc2...
making all in crypto/hmac...
making all in crypto/ripemd...
making all in crypto/des...
gcc -I.. -I../.. -I../../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -mv8
-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
-c  read_pwd.c
In file included from /usr/include/termios.h:13,
 from read_pwd.c:143:
/usr/include/sys/termios.h:376: parse error before `uint32_t'
/usr/include/sys/termios.h:376: warning: no semicolon at end of struct or
union
*** Error code 1
make: Fatal error: Command failed for target `read_pwd.o'
Current working directory /d01/openssh/openssl-0.9.6g/crypto/des
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /d01/openssh/openssl-0.9.6g/crypto
*** Error code 1
make: Fatal error: Command failed for target `sub_all'
Current working directory /d01/openssh/openssl-0.9.6g
Running make test...
c_rehash: rehashing skipped ('openssl' program not available)
touch rehash.time
testing...
gcc -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-mv8 -O3 -fomit-frame
-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  bntest.c
gcc -o bntest -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -mv8 -O3 -f
omit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
bntest.o  -L.. -lcrypto
-lsocket -lnsl -ldl
Undefined   first referenced
 symbol in file
BN_lshift1  bntest.o
ERR_error_stringbntest.o
BN_mod  bntest.o
BN_mod_mul  bntest.o
BN_CTX_init bntest.o
BN_bin2bn   bntest.o
BN_RECP_CTX_initbntest.o
BN_mul  bntest.o
BN_new  bntest.o
BN_exp  bntest.o
BN_RECP_CTX_set bntest.o
ERR_print_errors_fp bntest.o
RAND_seed   bntest.o
BN_add_word bntest.o
BN_rshift1  bntest.o
BN_lshift   bntest.o
BN_MONT_CTX_freebntest.o
BN_from_montgomery  bntest.o
BIO_putsbntest.o
BIO_ctrlbntest.o
BN_mod_mul_montgomery   bntest.o
BN_CTX_new  bntest.o
BN_set_word bntest.o
BN_MONT_CTX_set bntest.o
BIO_s_file  bntest.o
BN_CTX_free bntest.o
BN_set_bit  bntest.o
BN_sqr  bntest.o
BN_free bntest.o
BN_bntest_rand  bntest.o
BN_sub  bntest.o
BN_div  bntest.o
BN_rshift   bntest.o
BIO_new bntest.o
BN_copy bntest.o
BN_div_recp bntest.o
BN_printbntest.o
BIO_freebntest.o
BN_print_fp bntest.o
BN_add  bntest.o
BN_init 

[openssl.org #280] error msg making openssl

2002-09-11 Thread Lutz Jaenicke via RT


[[EMAIL PROTECTED] - Wed Sep 11 09:48:53 2002]:

 I sent e-mail in English before.
 Anyway I'm sending it again.

You sent as:

Content-Type: text/plain;
charset=ks_c_5601-1987
Content-Transfer-Encoding: base64

This character set is not well supported by several mail clients
(and by RT).

...
 -c  read_pwd.c
 In file included from /usr/include/termios.h:13,
  from read_pwd.c:143:
 /usr/include/sys/termios.h:376: parse error before `uint32_t'
 /usr/include/sys/termios.h:376: warning: no semicolon at end of struct or
 union
 *** Error code 1

 OpenSSL self-test report:
 
 OpenSSL version:  0.9.6g
 Last change:  [In 0.9.6g-engine release:]...
 OS (uname):   SunOS inno005 5.6 Generic_105181-31 sun4u sparc
 SUNW,Ultra-60
 OS (config):  sun4u-whatever-solaris2
 Target (default): solaris-sparcv9-gcc27
 Target:   solaris-sparcv9-gcc27
 Compiler: gcc version 2.7.2

It seems that your compiler and or system don't work well together.
I have seen things like this happening (on HP systems), when the
gcc compiler was built on another version of the operating system.
gcc uses modified versions of the header files that are copied into
gcc's own locations. When the underlying system is updated, these
header files don't match any longer, leading to interesting error
messages...

Best regards,
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #280] error msg making openssl

2002-09-11 Thread


I'm sorry I can't understand what you mean.

Is what you mean that I need to reinstall GCC on higher version ?

Before I make openssl, I tried to install GCC on higher version.
But it didn't work.(It also had problem when makinganother msg)
So I installed GCC on 2.7 version. At that time there was no errors.
Then I make openssl.
Is there something wrong?

Best Regards,
 
- Original Message - 
From: +ADw-postmaster+AEA-serv01.aet.tu-cottbus.de+AD4-
To: +ADw-lisa+AEA-nexerve.com+AD4-
Cc: +ADw-openssl-dev+AEA-openssl.org+AD4-
Sent: Wednesday, September 11, 2002 5:00 PM
Subject: +AFs-openssl.org +ACM-280+AF0- error msg making openssl


+AD4- 
+AD4- +AFs-lisa+AEA-nexerve.com - Wed Sep 11 09:48:53 2002+AF0-:
+AD4- 
+AD4- +AD4- I sent e-mail in English before.
+AD4- +AD4- Anyway I'm sending it again.
+AD4- 
+AD4- You sent as:
+AD4- 
+AD4- Content-Type: text/plain+ADs-
+AD4- charset+AD0AIg-ks+AF8-c+AF8-5601-1987+ACI-
+AD4- Content-Transfer-Encoding: base64
+AD4- 
+AD4- This character set is not well supported by several mail clients
+AD4- (and by RT).
+AD4- 
+AD4- ...
+AD4- +AD4- -c  read+AF8-pwd.c
+AD4- +AD4- In file included from /usr/include/termios.h:13,
+AD4- +AD4-  from read+AF8-pwd.c:143:
+AD4- +AD4- /usr/include/sys/termios.h:376: parse error before +AGA-uint32+AF8-t'
+AD4- +AD4- /usr/include/sys/termios.h:376: warning: no semicolon at end of struct or
+AD4- +AD4- union
+AD4- +AD4- +ACoAKgAq- Error code 1
+AD4- 
+AD4- +AD4- OpenSSL self-test report:
+AD4- +AD4- 
+AD4- +AD4- OpenSSL version:  0.9.6g
+AD4- +AD4- Last change:  +AFs-In 0.9.6g-engine release:+AF0-...
+AD4- +AD4- OS (uname):   SunOS inno005 5.6 Generic+AF8-105181-31 sun4u sparc
+AD4- +AD4- SUNW,Ultra-60
+AD4- +AD4- OS (config):  sun4u-whatever-solaris2
+AD4- +AD4- Target (default): solaris-sparcv9-gcc27
+AD4- +AD4- Target:   solaris-sparcv9-gcc27
+AD4- +AD4- Compiler: gcc version 2.7.2
+AD4- 
+AD4- It seems that your compiler and or system don't work well together.
+AD4- I have seen things like this happening (on HP systems), when the
+AD4- gcc compiler was built on another version of the operating system.
+AD4- gcc uses modified versions of the header files that are copied into
+AD4- gcc's own locations. When the underlying system is updated, these
+AD4- header files don't match any longer, leading to interesting error
+AD4- messages...
+AD4- 
+AD4- Best regards,
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #280] error msg making openssl

2002-09-11 Thread Lutz Jaenicke via RT


[[EMAIL PROTECTED] - Wed Sep 11 10:46:32 2002]:

 I'm sorry I can't understand what you mean.
 
 Is what you mean that I
 need to reinstall GCC on higher version ?
 
 Before I make openssl, I
 tried to install GCC on higher version.
 But it didn't work.(It also
 had problem when makinganother msg)
 So I installed GCC on 2.7
 version. At that time there was no errors.
 Then I make openssl.
 Is
 there something wrong?

GCC has its own ideas about data structures and types. When installing
GCC, it uses its fixincludes scripts in order to process the system
header files and rewrite parts of it. These rewritten parts are then
stored in a special location, e.g. /usr/local/lib/gcc-lib/.../include.
GCC 2.7.2 is pretty old, so if it does not know about your version of
Solaris it does not know what to adjust with fixincludes.
You therefore need to install a version of GCC that is recent enough
to know about your version of Solaris.

If you have problems installing a more recent version of GCC, then
there is probably some other problem around, that you should solve
first.

Best regards,
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]