Hi everybody, just trying to compile openssh3.1p1 here on a redhat box, and it fails in cipher.c - with messages similar to ones I've seen posted to this list recently, regarding redhat & SCO. I'm using openssl-0.9.6c ... to my untrained eye, the output of ./configure looks ok but make fails afterwards. I've pasted as much as I hope is relevant from the outputs of './configure' and 'make' (I've edited duplicate errors out of the 'make' output, and indicated where I've done this). If anyone can shed some light, it'd be much appreciated. cheers -kev ==== configure ... ==================================================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 sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin Manpage format: doc PAM support: no KerberosIV 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: yes BSD Auth support: no Random number source: OpenSSL internal ONLY Host: i686-pc-linux-gnu Compiler: gcc Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized Preprocessor flags: Linker flags: Libraries: -lutil -lz -lnsl -lcrypto -lcrypt ==== ... end configure. ============================================== ==== make ... =======================================================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 `cipher_set_key_string': cipher.c:249: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] cipher.c:250: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] 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:302: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] 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:330: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] cipher.c: In function `evp_ssh1_3des': cipher.c:341: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] 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:478: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] cipher.c: In function `evp_rijndael': cipher.c:489: warning: pointer of type `void *' used in arithmetic [same error repeated 12 times] 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) make: *** [cipher.o] Error 1 ==== ... end make. ================================================== -- if I can shoot rabbits, I can shoot fascists
Hi, In section 2.2 "Responses to Authentication Requests" of SSH Authentication Protocol " The client MAY send several authentication requests without waiting for responses from previous requests. The server MUST process each request completely and acknowledge any failed requests with a SSH_MSG_USERAUTH_FAILURE message before processing the next request. A request that results in further exchange of messages will be aborted by a second request. It is not possible to send a second request without waiting for a response from the server, if the first request will result in further exchange of messages. No SSH_MSG_USERAUTH_FAILURE message will be sent for the aborted method. " This is confusing. Why should the client send several authentication requests without waiting for responses from previous requests? This makes the server state machine complex specially when authentication(user name) and signature verification are performed by different process. Whats the advantage of doing that? Thanks, Abhijeet
Hi, On Thu, Apr 18, 2002 at 06:03:08PM +0100, Kevin O' Riordan wrote:> just trying to compile openssh3.1p1 here on a redhat box, and it fails > in cipher.c - with messages similar to ones I've seen posted to this > list recently, regarding redhat & SCO. I'm using openssl-0.9.6c ...Make sure that you really have 0.9.6c installed, and not some leftovers from 0.9.5 or so. I had these error messages, and upon looking more closely, I had compiled 0.9.6, but never installed it, and "make" was finding 0.9.5a... gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert.doering at physik.tu-muenchen.de
Possibly Parallel Threads
- compile bug for 3.1p1 under Solaris
- [Bug 141] New: openssh-3.1p1-1.src.rpm will not build on RedHat Linux 6.1
- error compiling openssh-3.1p1 under SCO OpenServer 5.0.5
- Problems with Solaris 8 and OpenSSH 3.1p1
- [Bug 154] New: make failes: make: *** [cipher.o] Error 1