OpenSSH 3.1p1 compile problem under NetBSD 1.5.2

Patrick Bertholon pat at hyene.org
Sat Mar 9 01:54:29 EST 2002


Hi gurus,

  I got a problem compiling openssh 3.1p1 (portable version) under NetBSD
1.5.2. on an alpha machine.

  The problem occurs in cipher.c, where gcc complains about something that
looks like openssl symbols... As I'm quite new to the BSD architecture, I
don't really know how to fix it.

  Attached file are: my make log file, and the (gzipped) config.log file.
Note that I've also tried the CVS version, and that the same problem
occurs.

  Thx for your help,
				Patrick

P.S.: Please cc me the answers since I'm not on the mailing list !
-------------- next part --------------
(cd openbsd-compat && make)
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -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_PIDDIR=\"/var/run\"  -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c cipher.c
cipher.c: In function `cipher_init':
cipher.c:200: void value not ignored as it ought to be
cipher.c:206: warning: implicit declaration of function `EVP_CIPHER_CTX_set_key_length'
cipher.c:210: void value not ignored as it ought to be
cipher.c: In function `cipher_crypt':
cipher.c:220: void value not ignored as it ought to be
cipher.c: In function `cipher_cleanup':
cipher.c:227: void value not ignored as it ought to be
cipher.c: In function `ssh1_3des_init':
cipher.c:280: warning: assignment from incompatible pointer type
cipher.c:299: void value not ignored as it ought to be
cipher.c:300: void value not ignored as it ought to be
cipher.c:301: void value not ignored as it ought to be
cipher.c: In function `ssh1_3des_cbc':
cipher.c:314: warning: assignment from incompatible pointer type
cipher.c:318: void value not ignored as it ought to be
cipher.c:319: void value not ignored as it ought to be
cipher.c:320: void value not ignored as it ought to be
cipher.c: In function `ssh1_3des_cleanup':
cipher.c:329: warning: assignment from incompatible pointer type
cipher.c: In function `evp_ssh1_3des':
cipher.c:346: warning: assignment from incompatible pointer type
cipher.c:347: warning: assignment from incompatible pointer type
cipher.c:348: warning: assignment from incompatible pointer type
cipher.c:349: structure has no member named `flags'
cipher.c:349: `EVP_CIPH_CBC_MODE' undeclared (first use in this function)
cipher.c:349: (Each undeclared identifier is reported only once
cipher.c:349: for each function it appears in.)
cipher.c:349: `EVP_CIPH_VARIABLE_LENGTH' undeclared (first use in this function)
cipher.c: In function `evp_ssh1_bf':
cipher.c:392: warning: assignment from incompatible pointer type
cipher.c:394: warning: assignment from incompatible pointer type
cipher.c: In function `ssh_rijndael_init':
cipher.c:413: warning: assignment from incompatible pointer type
cipher.c: In function `ssh_rijndael_cbc':
cipher.c:440: warning: assignment from incompatible pointer type
cipher.c: In function `ssh_rijndael_cleanup':
cipher.c:477: warning: assignment from incompatible pointer type
cipher.c: In function `evp_rijndael':
cipher.c:494: warning: assignment from incompatible pointer type
cipher.c:495: warning: assignment from incompatible pointer type
cipher.c:496: warning: assignment from incompatible pointer type
cipher.c:497: structure has no member named `flags'
cipher.c:497: `EVP_CIPH_CBC_MODE' undeclared (first use in this function)
cipher.c:497: `EVP_CIPH_VARIABLE_LENGTH' undeclared (first use in this function)
cipher.c:498: `EVP_CIPH_ALWAYS_CALL_INIT' undeclared (first use in this function)
*** Error code 1

Stop.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/octet-stream
Size: 13778 bytes
Desc: 
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020308/36c8fa50/attachment.obj 


More information about the openssh-unix-dev mailing list