New snapshot

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Tue Nov 14 18:02:23 EST 2000


On Mon, 13 Nov 2000, Tim Rice wrote:

> On Tue, 14 Nov 2000, Damien Miller wrote:
> 
> > I have just uploaded a new snapshot to:
> > 
> > http://www.mindrot.org/misc/openssh/openssh-SNAP-20001114.tar.gz
> > 
> [snip]
> > 
> > 
> UnixWare 2.03, UnixWare 2.13, & SCO 5.0.4 get errors like
> ...
> /usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/u
> sr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H   -c ../openssh/bsd-arc4random.c
> UX:acomp: ERROR: "../openssh/defines.h", line 174: #error: "64 bit int type not
> found."
> gmake: *** [bsd-arc4random.o] Error 1
> ...
> 
Can not help here.. Sorry.

> SCO 3.2v4.2 gets the following error
> ...
> gcc -g -O2 -Wall -I. -Isrc -Dftruncate=chsize -I/usr/local/include -I/usr/local/
> ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DS
> SH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H   -c src/b
> sd-realpath.c -o bsd-realpath.o
> src/bsd-realpath.c: In function `realpath':
> src/bsd-realpath.c:108: `MAXSYMLINKS' undeclared (first use this function)
> src/bsd-realpath.c:108: (Each undeclared identifier is reported only once
> src/bsd-realpath.c:108: for each function it appears in.)
> gmake: *** [bsd-realpath.o] Error 1
> ...
> 
Try the attach patch.  However please do a 'find /usr/includes -type f
-print | xargs grep MAXSYMLINKS'  for me and verify that SCO does not
define this value somewhere else.  

- Ben
-------------- next part --------------
--- ../openssh/bsd-realpath.c	Sat Oct 14 19:17:36 2000
+++ bsd-realpath.c	Tue Nov 14 00:55:44 2000
@@ -52,6 +52,13 @@
 #endif
 
 /*
+ * MAXSYMLINKS
+ */
+#ifndef MAXSYMLINKS
+#define MAXSYMLINKS 5
+#endif
+
+/*
  * char *realpath(const char *path, char resolved_path[MAXPATHLEN]);
  *
  * Find the real name of path, by removing all ".", ".." and symlink


More information about the openssh-unix-dev mailing list