bugzilla-daemon at mindrot.org
2002-Jul-25 14:06 UTC
[Bug 371] New: OpenSSH fails to build on Alpha True64 in cipher.c
http://bugzilla.mindrot.org/show_bug.cgi?id=371
Summary: OpenSSH fails to build on Alpha True64 in cipher.c
Product: Portable OpenSSH
Version: -current
Platform: Alpha
OS/Version: OSF/1
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: eesrjhc at bath.ac.uk
$uname -a
OSF1 cavendish.bath.ac.uk V5.0 1094 alpha
Installed Openssl-0.96d in /usr/local/openssl
Configured OpenSSH-3.4p1 with:
export DEC_CC="-I/usr/local/include "
CC="cc -std1" ./configure
which reports:
OpenSSH has been configured with the following options:
User binaries: /usr/local/bin
System binaries: /usr/local/sbin
Configuration files: /usr/local/etc
Askpass program: /usr/local/libexec/ssh-askpass
Manual pages: /usr/local/man/manX
PID file: /var/run
Privilege separation chroot path: /var/empty
sshd default user PATH:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Manpage format: man
PAM support: no
KerberosIV support: no
KerberosV support: no
Smartcard support: no
AFS support: no
S/KEY support: no
TCP Wrappers support: no
MD5 password support: no
IP address in $DISPLAY hack: no
Use IPv4 by default hack: no
Translate v4 in v6 hack: no
BSD Auth support: no
Random number source: ssh-rand-helper
ssh-rand-helper collects from: Command hashing (timeout 200)
Host: alphaev67-dec-osf5.0
Compiler: cc -std1
Compiler flags: -g
Preprocessor flags:
Linker flags:
Libraries: -lz -lsecurity -ldb -lm -laud -lcrypto
then run "make" which fails:
cc -std1 -g -I. -I. -DSSHDIR=\"/usr/local/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\"
-DHAVE_CONFIG_H -c
cipher.c
cc: Warning: cipher.c, line 65: In the initializer for ciphers[0].evptype, the
referenced type of the pointer value "EVP_enc_null" is "function
() returning
pointer to struct evp_cipher_st", which is not compatible with
"function ()
returning pointer to const struct evp_cipher_st". (ptrmismatch)
{ "none", SSH_CIPHER_NONE, 8, 0, EVP_enc_null },
-------------------------------------------------------^
cc: Warning: cipher.c, line 66: In the initializer for ciphers[1].evptype, the
referenced type of the pointer value "EVP_des_cbc" is "function
() returning
pointer to struct evp_cipher_st", which is not compatible with
"function ()
returning pointer to const struct evp_cipher_st". (ptrmismatch)
{ "des", SSH_CIPHER_DES, 8, 8, EVP_des_cbc },
------------------------------------------------------^
cc: Warning: cipher.c, line 70: In the initializer for ciphers[4].evptype, the
referenced type of the pointer value "EVP_des_ede3_cbc" is
"function ()
returning pointer to struct evp_cipher_st", which is not compatible with
"function () returning pointer to const struct evp_cipher_st".
(ptrmismatch)
{ "3des-cbc", SSH_CIPHER_SSH2, 8, 24,
EVP_des_ede3_cbc },
--------------------------------------------------------^
cc: Warning: cipher.c, line 71: In the initializer for ciphers[5].evptype, the
referenced type of the pointer value "EVP_bf_cbc" is "function ()
returning
pointer to struct evp_cipher_st", which is not compatible with
"function ()
returning pointer to const struct evp_cipher_st". (ptrmismatch)
{ "blowfish-cbc", SSH_CIPHER_SSH2, 8, 16, EVP_bf_cbc },
--------------------------------------------------------^
cc: Warning: cipher.c, line 72: In the initializer for ciphers[6].evptype, the
referenced type of the pointer value "EVP_cast5_cbc" is "function
() returning
pointer to struct evp_cipher_st", which is not compatible with
"function ()
returning pointer to const struct evp_cipher_st". (ptrmismatch)
{ "cast128-cbc", SSH_CIPHER_SSH2, 8, 16, EVP_cast5_cbc
},
--------------------------------------------------------^
cc: Warning: cipher.c, line 73: In the initializer for ciphers[7].evptype, the
referenced type of the pointer value "EVP_rc4" is "function ()
returning
pointer to struct evp_cipher_st", which is not compatible with
"function ()
returning pointer to const struct evp_cipher_st". (ptrmismatch)
{ "arcfour", SSH_CIPHER_SSH2, 8, 16, EVP_rc4 },
--------------------------------------------------------^
cc: Error: cipher.c, line 706: In this statement, "c->evptype" and
"EVP_rc4"
cannot be compared for equality or inequality. (noequality)
if (c->evptype == EVP_rc4) {
------------^
cc: Error: cipher.c, line 721: In this statement, "c->evptype" and
"EVP_rc4"
cannot be compared for equality or inequality. (noequality)
if (c->evptype == EVP_rc4) {
------------^
*** Exit 1
Let me know if you need more info.
Roger.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Steve VanDevender
2002-Jul-25 17:28 UTC
[Bug 371] New: OpenSSH fails to build on Alpha True64 in cipher.c
bugzilla-daemon at mindrot.org writes:
> Configured OpenSSH-3.4p1 with:
> export DEC_CC="-I/usr/local/include "
> CC="cc -std1" ./configure
> cc -std1 -g -I. -I. -DSSHDIR=\"/usr/local/etc\"
> -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"
> -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"
> -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"
> -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"
> -D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
> -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\"
-DHAVE_CONFIG_H -c
> cipher.c
> cc: Warning: cipher.c, line 65: In the initializer for ciphers[0].evptype,
the
> referenced type of the pointer value "EVP_enc_null" is
"function () returning
> pointer to struct evp_cipher_st", which is not compatible with
"function ()
> returning pointer to const struct evp_cipher_st". (ptrmismatch)
> { "none", SSH_CIPHER_NONE, 8, 0,
EVP_enc_null },
> -------------------------------------------------------^
Dump the "-std1" in your CFLAGS, and it should build. -std1 invokes a
somewhat overly picky ANSI C mode. I configured OpenSSH 3.4p1 under
Digital UNIX 4.0g with
CC="cc -I/usr/local/include -L/usr/shlib -L/usr/local/lib \
-D_SOCKADDR_LEN" CFLAGS="-fast" ./configure --sysconfdir=/etc/ssh
\
--with-tcp-wrappers --with-prngd-socket=/var/run/entropy \
--with-default-path=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin
And it works for me.