[Bug 371] New: OpenSSH fails to build on Alpha True64 in cipher.c
Steve VanDevender
stevev at darkwing.uoregon.edu
Fri Jul 26 03:28:02 EST 2002
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.
More information about the openssh-unix-dev
mailing list