Have you tried to install OpenSSL 0.9.7b 
in /usr/local/ssl (the default) in addition to 
the stock OpenSSL? Try that, then use that 
location in the build of OpenSSH. 
I did this to get around a kerberos related 
error when compiling mod_ssl on a Red Hat 
9 box, and it seemed to work alright. 

>>> JAustad at temgweb.com 09/23/03 10:03AM >>>
I'm trying to compile openssh 3.7.1 with Openssl 0.9.5a (patched for
security problems).  I'm getting a bunch of errors and it's failing. 
This
is on a crusty old redhat 6.2 box, so it has an old gcc on it and other
such
things.  Anyone know how I can get it to compile?

I can't upgrade the box because there's an app running on it that would
need
to be recompiled and I don't have the source for it.

gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
cipher.c
cipher.c:68: warning: initialization from incompatible pointer type
cipher.c:69: warning: initialization from incompatible pointer type
cipher.c:73: warning: initialization from incompatible pointer type
cipher.c:74: warning: initialization from incompatible pointer type
cipher.c:75: warning: initialization from incompatible pointer type
cipher.c:76: warning: initialization from incompatible pointer type
cipher.c: In function `cipher_init':
cipher.c:232: warning: assignment discards `const' from pointer target
type
cipher.c:211: warning: unused variable `klen'
cipher.c: In function `cipher_get_keycontext':
cipher.c:405: warning: comparison of distinct pointer types lacks a cast
cipher.c: In function `cipher_set_keycontext':
cipher.c:420: warning: comparison of distinct pointer types lacks a cast
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
cipher-aes.c
cipher-aes.c: In function `ssh_rijndael_init':
cipher-aes.c:54: warning: assignment from incompatible pointer type
cipher-aes.c: In function `ssh_rijndael_cbc':
cipher-aes.c:82: warning: assignment from incompatible pointer type
cipher-aes.c: In function `ssh_rijndael_cleanup':
cipher-aes.c:120: warning: assignment from incompatible pointer type
cipher-aes.c: In function `ssh_rijndael_iv':
cipher-aes.c:133: warning: assignment from incompatible pointer type
cipher-aes.c: In function `evp_rijndael':
cipher-aes.c:151: warning: assignment from incompatible pointer type
cipher-aes.c:152: warning: assignment from incompatible pointer type
cipher-aes.c:153: warning: assignment from incompatible pointer type
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
cipher-bf1.c
cipher-bf1.c: In function `evp_ssh1_bf':
cipher-bf1.c:94: warning: assignment from incompatible pointer type
cipher-bf1.c:99: warning: assignment from incompatible pointer type
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
cipher-ctr.c
cipher-ctr.c: In function `ssh_aes_ctr':
cipher-ctr.c:72: warning: assignment from incompatible pointer type
cipher-ctr.c: In function `ssh_aes_ctr_init':
cipher-ctr.c:92: warning: assignment from incompatible pointer type
cipher-ctr.c:97: structure has no member named `ctx_size'
cipher-ctr.c: In function `ssh_aes_ctr_cleanup':
cipher-ctr.c:108: warning: assignment from incompatible pointer type
cipher-ctr.c: In function `ssh_aes_ctr_iv':
cipher-ctr.c:121: warning: assignment from incompatible pointer type
cipher-ctr.c: In function `evp_aes_128_ctr':
cipher-ctr.c:139: warning: assignment from incompatible pointer type
cipher-ctr.c:140: warning: assignment from incompatible pointer type
cipher-ctr.c:141: warning: assignment from incompatible pointer type
make: *** [cipher-ctr.o] Error 1

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org 
https://mailman.real-time.com/mailman/listinfo/tclug-list

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list