Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* S/KEY compiled?  Anybody?
@ 1995-09-01  4:00 Jon Hartford
  0 siblings, 0 replies; only message in thread
From: Jon Hartford @ 1995-09-01  4:00 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-09-01  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-01  4:00 S/KEY compiled? Anybody? Jon Hartford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox