From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,22ccc7e5a6da82a2,start X-Google-Attributes: gid1164f8,public From: u-jon@theseus.ultranet.com (Jon Hartford) Subject: S/KEY compiled? Anybody? Date: 1995/09/01 Message-ID: <427hdt$mv7@caesar.ultra.net>#1/1 X-Deja-AN: 109306970 organization: Ultranet Communications, Inc., Marlboro MA USA newsgroups: comp.sys.dec replies: u-jon@ultra.net Hello There, I'm attempting to compile skey (NRL version) on a DEC ALPHA OSF/1 v2.1 Has anybody done this successfully without some serious hacking of the C files. I'm stuck with errors right and left. Aside from login.c for some reason not picking up the pathname declarations in pathnames.c (I hardcoded the pathnames to bypass it), it totally bombs out on glob.c like this: cc -DPROTOTYPES=1 -DHASSTDLIB -DSKEY -DMD5 -c glob.c /usr/lib/cmplrs/cc/cfe: Warning: glob.c, line 245: Incompatible pointer type assignment while ((dp = readdir(dirp)) != 0L) { -----------^ /usr/lib/cmplrs/cc/cfe: Error: glob.c, line 246: 'd_ino' undefined, reoccurrences will not be reported if (dp->d_ino == 0) ------^ /usr/lib/cmplrs/cc/cfe: Error: glob.c, line 246: member of structure or union required if (dp->d_ino == 0) --------^ /usr/lib/cmplrs/cc/cfe: Error: glob.c, line 248: 'd_name' undefined, reoccurrences will not be reported if (match(dp->d_name, pattern)) { ------------^ /usr/lib/cmplrs/cc/cfe: Error: glob.c, line 248: member of structure or union required if (match(dp->d_name, pattern)) { --------------^ /usr/lib/cmplrs/cc/cfe: Error: glob.c, line 249: member of structure or union required Gcat(gpath, dp->d_name); ----------------^ /usr/lib/cmplrs/cc/cfe: Warning: glob.c, line 647: illegal combination of pointer and integer register char *ep = malloc((unsigned)(strlen(cp) + strlen(dp) + 1)); ---------------^ *** Exit 1 Stop. Has anybody out there gotten this to compile? Can you point me in a direction that would help? I'd prefer NOT to waste time fixing C code if somebody has already done so. Much Appreciated, I'm totally willing to use another "version" of S/key, if said version is more compatible with OSF/1 Your help and time are appreciated, -Jon Hartford, Network Operations, Ultranet Communications Corp.