problem while doing make - openssh on sco unix 7.1

Tim Rice tim at multitalents.net
Wed May 2 03:39:59 EST 2007


On Tue, 1 May 2007, Bapat, Vinayak wrote:

> I am trying to install openssh on sco unix 7.1 and getting following error ,
> please help
> 
>         cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o
> auth-rh-rsa.o  sshpty.o sshlogin.o servconf.o serverloop.o  auth.o auth1.o
> auth2.o auth-options.o session.o  auth-chall.o auth2-chall.o groupaccess.o
> auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o  auth2-none.o
> auth2-passwd.o auth2-pubkey.o  monitor_mm.o monitor.o monitor_wrap.o
> kexdhs.o kexgexs.o  auth-krb5.o  auth2-gss.o gss-serv.o gss-serv-krb5.o
> loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o  audit.o
> audit-bsm.o platform.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib
> -L/usr/local/lib  -lssh -lopenbsd-compat     -lresolv -liaf -lcrypto
> -lsocket -lnsl  -lgen -lz -lcrypt
> 
> Undefined                       first referenced
> 
>  symbol                             in file
> 
> osr5bigcrypt
> openbsd-compat//libopenbsd-compat.a(port-uw.o)
> 
> # uname -a
> 
> UnixWare newspo 5 7.1.0 i386 x86at SCO UNIX_SVR5

osr5bigcrypt is in libcrypt on 7.1.1
Your best option is to update to 7.1.1 MP5
I think I remember the update from 7.1.0 to 7.1.1 being free.

If that is not an option, try this patch.
.....
--- openbsd-compat/port-uw.c.old	2007-03-26 08:42:45.584801000 -0700
+++ openbsd-compat/port-uw.c	2007-05-01 10:36:20.122636004 -0700
@@ -72,8 +72,7 @@
 	 */
 #ifdef UNIXWARE_LONG_PASSWORDS
 	if (!nischeck(pw->pw_name)) {
-		result = ((strcmp(bigcrypt(password, salt), pw_password) == 0)
-		||  (strcmp(osr5bigcrypt(password, salt), pw_password) == 0));
+		result = ((strcmp(bigcrypt(password, salt), pw_password) == 0);
 	}
 	else
 #endif /* UNIXWARE_LONG_PASSWORDS */
.....



-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net




More information about the openssh-unix-dev mailing list