Subject: admin/15923: Compilation Problem for Ssh in /opt/src/usr.bin/ssh with BSDSRCDIR=/opt/src in mk.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mahe@civis.net>
List: netbsd-bugs
Date: 03/14/2002 18:04:30
>Number:         15923
>Category:       admin
>Synopsis:       Compilation Problem for Ssh in /opt/src/usr.bin/ssh with BSDSRCDIR=/opt/src in mk.conf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    netbsd-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 14 18:05:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Franck MAHE
>Release:        1.5.2
>Organization:
>Environment:
NetBSD azrael 1.5.2 NetBSD 1.5.2 (GENERIC) #23: Sun Aug 19 15:13:02 MEST 2001     he@isabel.urc.uninett.no:/usr/src/sys/arch/hp300/compile/GENERIC hp300
>Description:
root@azrael:/usr/src/usr.bin/ssh# make dependall
dependall ===> libssh
mkdep -a  -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/authfd.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/authfile.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/bufaux.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/buffer.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/canohost.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/channels.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/compat.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/compress.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/crc32.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/deattack.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/fatal.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/hostfile.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/log.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/match.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/mpaux.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/nchan.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/packet.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/readpass.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/rsa.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/tildexpand.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/ttymodes.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/uidswap.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/xmalloc.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/atomicio.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/key.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/dispatch.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/kex.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/mac.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/uuencode.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/misc.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/rijndael.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/ssh-dss.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/ssh-rsa.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/dh.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/kexdh.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/kexgex.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/scard.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/random.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/readpassphrase.c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/radix.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/atomicio.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/authfd.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/authfile.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/bufaux.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/buffer.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/canohost.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/channels.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DKRB5 -DAFS -I/usr/include/krb5 -DKRB4 -I/usr/include/kerberosIV -I/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh -DHAVE_LOGIN_CAP -c /opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `cipher_init':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:202: void value not ignored as it ought to be
cc1: warnings being treated as errors
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:208: warning: implicit declaration of function `EVP_CIPHER_CTX_set_key_length'
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:212: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `cipher_crypt':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:222: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `cipher_cleanup':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:229: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `ssh1_3des_init':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:282: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:301: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:302: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:303: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `ssh1_3des_cbc':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:316: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:320: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:321: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:322: void value not ignored as it ought to be
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `ssh1_3des_cleanup':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:331: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `evp_ssh1_3des':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:348: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:349: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:350: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:351: structure has no member named `flags'
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:351: `EVP_CIPH_CBC_MODE' undeclared (first use in this function)
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:351: (Each undeclared identifier is reported only once
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:351: for each function it appears in.)
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:351: `EVP_CIPH_VARIABLE_LENGTH' undeclared (first use in this function)
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `evp_ssh1_bf':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:394: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:396: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `ssh_rijndael_init':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:415: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `ssh_rijndael_cbc':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:442: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `ssh_rijndael_cleanup':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:479: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c: In function `evp_rijndael':
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:496: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:497: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:498: warning: assignment from incompatible pointer type
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:499: structure has no member named `flags'
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:499: `EVP_CIPH_CBC_MODE' undeclared (first use in this function)
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:499: `EVP_CIPH_VARIABLE_LENGTH' undeclared (first use in this function)
/opt/src/usr.bin/ssh/libssh/../../../crypto/dist/ssh/cipher.c:500: `EVP_CIPH_ALWAYS_CALL_INIT' undeclared (first use in this function)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
root@azrael:/usr/src/usr.bin/ssh#
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: