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_string bntest.o
BN_mod bntest.o
BN_mod_mul bntest.o
BN_CTX_init bntest.o
BN_bin2bn bntest.o
BN_RECP_CTX_init bntest.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_free bntest.o
BN_from_montgomery bntest.o
BIO_puts bntest.o
BIO_ctrl bntest.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_print bntest.o
BIO_free bntest.o
BN_print_fp bntest.o
BN_add bntest.o
BN_init bntest.o
ERR_load_crypto_strings bntest.o
BN_MONT_CTX_new bntest.o
BN_RECP_CTX_free bntest.o
ERR_get_error bntest.o
BN_mod_exp bntest.o
ld: fatal: Symbol referencing errors. No output written to bntest
*** Error code 1
make: Fatal error: Command failed for target `bntest'
Current working directory /d01/openssh/openssl-0.9.6g/test
*** Error code 1
make: Fatal error: Command failed for target `tests'
Current working directory /d01/openssh/openssl-0.9.6g
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
Failure!
[...]
Test report in file testlog
error when make after modify makefile.(it means I skip above error)
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 bss_fd.c
In file included from ../../include/openssl/e_os.h:363,
from ../cryptlib.h:65,
from bss_sock.c:64,
from bss_fd.c:60:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
warning: `NBBY' red
efined
/usr/include/sys/select.h:45: warning: this is the location of the previous
definition
In file included from /usr/include/sys/stream.h:26,
from /usr/include/netinet/in.h:38,
from /usr/include/netdb.h:96,
from ../../include/openssl/e_os.h:371,
from ../cryptlib.h:65,
from bss_sock.c:64,
from bss_fd.c:60:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `bss_fd.o'
Current working directory /d01/openssh/openssl-0.9.6g/crypto/bio
*** 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...
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...
making all in crypto/rc2...
making all in crypto/rc4...
making all in crypto/rc5...
making all in crypto/idea...
making all in crypto/bf...
making all in crypto/cast...
making all in crypto/bn...
making all in crypto/rsa...
making all in crypto/dsa...
making all in crypto/dh...
making all in crypto/dso...
making all in crypto/buffer...
making all in crypto/bio...
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 bss_fd.c
In file included from ../../include/openssl/e_os.h:363,
from ../cryptlib.h:65,
from bss_sock.c:64,
from bss_fd.c:60:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
warning: `NBBY' red
efined
/usr/include/sys/select.h:45: warning: this is the location of the previous
definition
In file included from /usr/include/sys/stream.h:26,
from /usr/include/netinet/in.h:38,
from /usr/include/netdb.h:96,
from ../../include/openssl/e_os.h:371,
from ../cryptlib.h:65,
from bss_sock.c:64,
from bss_fd.c:60:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `bss_fd.o'
Current working directory /d01/openssh/openssl-0.9.6g/crypto/bio
*** 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...
testing...
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
ERR_error_string bntest.o
ERR_print_errors_fp bntest.o
RAND_seed bntest.o
RAND_add ../libcrypto.a(bn_rand.o)
BIO_puts bntest.o
BIO_ctrl bntest.o
RAND_pseudo_bytes ../libcrypto.a(bn_rand.o)
BIO_s_file bntest.o
ERR_put_error ../libcrypto.a(bn_add.o)
RAND_bytes ../libcrypto.a(bn_rand.o)
BIO_new bntest.o
BIO_free bntest.o
BIO_write ../libcrypto.a(bn_print.o)
ERR_load_crypto_strings bntest.o
ERR_get_error bntest.o
ld: fatal: Symbol referencing errors. No output written to bntest
*** Error code 1
make: Fatal error: Command failed for target `bntest'
Current working directory /d01/openssh/openssl-0.9.6g/test
*** Error code 1
make: Fatal error: Command failed for target `tests'
Current working directory /d01/openssh/openssl-0.9.6g
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
Failure!
[...]
Test report in file testlog
***********************************
Kim, Hyoung-Ju(Lisa Kim)
Information Technology Center
NEXERVE Co.,Ltd
Tel : +82-2-3771-2739
Fax : +82-2-3771-2760
email : [EMAIL PROTECTED]
visit us at http://www.nexerve.com
***********************************
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]