Sorry if this is the wrong place to post this... the OpenSSH Mailing Lists
page is a little ambiguous.
I've tried to compile OpenSSH 3.0.1p1 & 3.0.2p1 on two different Solaris
platforms, one running Solaris 8 and the other Solaris 9 beta. It
configures fine, but the make dies:
gcc -I/opt/include -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-I/opt/include -I/opt/include -I/usr/local/include
-DETCDIR=\"/opt/pkgs/openssh-3.0.1p1/etc\"
-D_PATH_SSH_PROGRAM=\"/opt/pkgs/openssh-3.0.1p1/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/pkgs/openssh-3.0.1p1/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/opt/pkgs/openssh-3.0.1p1/libexec/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -DHAVE_CONFIG_H -c cipher.c
cipher.c: In function `des_ssh1_setkey':
cipher.c:71: incompatible type for argument 2 of `des_set_key'
cipher.c: In function `des_ssh1_encrypt':
cipher.c:82: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c: In function `des_ssh1_decrypt':
cipher.c:88: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c: In function `des3_setkey':
cipher.c:95: incompatible type for argument 2 of `des_set_key'
cipher.c:96: incompatible type for argument 2 of `des_set_key'
cipher.c:97: incompatible type for argument 2 of `des_set_key'
cipher.c: In function `des3_cbc_encrypt':
cipher.c:114: incompatible type for argument 4 of `des_ede3_cbc_encrypt'
cipher.c:114: incompatible type for argument 5 of `des_ede3_cbc_encrypt'
cipher.c:114: incompatible type for argument 6 of `des_ede3_cbc_encrypt'
cipher.c: In function `des3_cbc_decrypt':
cipher.c:121: incompatible type for argument 4 of `des_ede3_cbc_encrypt'
cipher.c:121: incompatible type for argument 5 of `des_ede3_cbc_encrypt'
cipher.c:121: incompatible type for argument 6 of `des_ede3_cbc_encrypt'
cipher.c: In function `des3_ssh1_setkey':
cipher.c:141: incompatible type for argument 2 of `des_set_key'
cipher.c:142: incompatible type for argument 2 of `des_set_key'
cipher.c:144: incompatible type for argument 2 of `des_set_key'
cipher.c:146: incompatible type for argument 2 of `des_set_key'
cipher.c: In function `des3_ssh1_encrypt':
cipher.c:153: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c:155: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c:157: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c: In function `des3_ssh1_decrypt':
cipher.c:164: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c:166: incompatible type for argument 4 of `des_ncbc_encrypt'
cipher.c:168: incompatible type for argument 4 of `des_ncbc_encrypt'
make: *** [cipher.o] Error 1
(This is from the 3.0.1p1, but the same thing happens on the latest
version.)
Anything I'm missing? I'm running 64-bit gcc 3.0.1. OpenSSH 2.9 and
below
compile fine. Let me know if there's more information I should include, or
if there's a more appropriate mailing list.
-------------------------------------------------------------------------------
Kim Scarborough http://www.unknown.nu/kim/
-------------------------------------------------------------------------------
"Football combines the two worst features of American life: violence and
committee meetings."
-George Will
-------------------------------------------------------------------------------
Hello- On Wed, Dec 05, 2001 at 12:54:21PM -0600, Kim Scarborough wrote:> Sorry if this is the wrong place to post this... the OpenSSH Mailing Lists > page is a little ambiguous. > > I've tried to compile OpenSSH 3.0.1p1 & 3.0.2p1 on two different Solaris > platforms, one running Solaris 8 and the other Solaris 9 beta. It > configures fine, but the make dies:> Anything I'm missing? I'm running 64-bit gcc 3.0.1. OpenSSH 2.9 and below > compile fine. Let me know if there's more information I should include, or > if there's a more appropriate mailing list.I would try it with a different compiler. The GCC folks have explicitly revoked 64-bit ultrasparc support in 3.0.x http://gcc.gnu.org/gcc-3.0/buildstat.html Also, FWIW, last time I checked, the bignum routines in openssl (which are written in assembly) only use sparcv8+, since a fair number of 64 bit registers are available even if the kernel only guarantees 32 bits. Which is all a long-winded way of saying that a 32-bit version of gcc creating sparcv8plus binaries should give you all the 64-bit goodness that sparcv9 would in the crypto functions. The comments in crypto/bn/asm/sparcv8plus.S in the openssl distribution give more details about it. David
On Wed, 5 Dec 2001, Kim Scarborough wrote:> I've tried to compile OpenSSH 3.0.1p1 & 3.0.2p1 on two different Solaris > platforms, one running Solaris 8 and the other Solaris 9 beta. It > configures fine, but the make dies:[snip]> Anything I'm missing? I'm running 64-bit gcc 3.0.1. OpenSSH 2.9 and below > compile fine. Let me know if there's more information I should include, or > if there's a more appropriate mailing list. >Works fine with 2.95.2 on Solaris 8. Besides, isn't 64-bit gcc still experimental on solaris? -Dave