Report on openssh-1.2.1pre26.tar.gz

Kiyokazu SUTO suto at ks-and-ks.ne.jp
Sun Jan 16 17:44:28 EST 2000


Dear developers,

I tried to make openssh-1.2.1pre26 on my Linux box with kernel 2.2.13
and libc 5.4.46.

First I needed to modify the file "fake-getaddrinfo.h" as attached
diff.  Then I tried again, and gave up with the error:

  gcc -g -O2 -Wall -I/usr/local/ssl/include \
    -DETCDIR=\"/usr/local/openssh/etc\" \
    -DSSH_PROGRAM=\"/usr/local/openssh/bin/ssh\" \
    -DSSH_ASKPASS_DEFAULT=\"/usr/local/openssh/libexec/ssh/ssh-askpass\" \
    -DHAVE_CONFIG_H   -c pty.c -o pty.o
  pty.c: In function `pty_allocate':
  pty.c:100: warning: implicit declaration of function `grantpt'
  pty.c:104: warning: implicit declaration of function `unlockpt'
  pty.c:108: warning: implicit declaration of function `ptsname'
  pty.c:108: warning: assignment makes pointer from integer without a cast
  pty.c:122: `I_PUSH' undeclared (first use this function)
  pty.c:122: (Each undeclared identifier is reported only once
  pty.c:122: for each function it appears in.)
  make: *** [pty.o] Error 1

I encountered the same error when I tried 1.2.1pre25 and 1.2pre17,
while I succeeded to make 1.2pre15 with some harmless warnings.

-- 
SUTO, Kiyokazu <suto at ks-and-ks.ne.jp>
http://pub.ks-and-ks.ne.jp/pgp-public-key.html

-------------- next part --------------
--- fake-getaddrinfo.h-dist	Sun Jan 16 14:26:15 2000
+++ fake-getaddrinfo.h	Sun Jan 16 14:28:40 2000
@@ -9,6 +9,10 @@
 # define AI_PASSIVE        1
 #endif
 
+#ifndef AI_CANONNAME
+# define AI_CANONNAME      2
+#endif
+
 #ifndef NI_NUMERICHOST
 # define NI_NUMERICHOST    2
 # define NI_NAMEREQD       4
@@ -25,7 +29,7 @@
 	char	*ai_canonname;	/* canonical name for hostname */
 	struct sockaddr *ai_addr;	/* binary address */
 	struct addrinfo *ai_next;	/* next structure in linked list */
-}
+};
 #endif /* !HAVE_STRUCT_ADDRINFO */
 
 #ifndef HAVE_GETADDRINFO


More information about the openssh-unix-dev mailing list