Testing for the 4.4p1 release

Darren Tucker dtucker at zip.com.au
Thu Aug 31 10:55:42 EST 2006


On Wed, Aug 30, 2006 at 05:44:16PM -0400, Roger Cornelius wrote:
> Building from SNAP-20060831 on SCO OSR6 w/MP2 and the MP2 Supplement,
> using system compiler, with configure invoked as:

Thanks for testing.

> cc -I /u/include  -I. -I.. -I. -I./.. -I/u/etc/openssl/include -DHAVE_CONFIG_H -c port-uw.c
[...]
> UX:acomp: ERROR: "../log.h", line 63: Syntax error before or at: va_list

Please try this patch, which adds the includes that appear necessary.
I haven't looked at the warnings (I suspect sys/socket.h is not protected
against multiple includes?)

Index: openbsd-compat/port-uw.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/port-uw.c,v
retrieving revision 1.3
diff -u -p -r1.3 port-uw.c
--- openbsd-compat/port-uw.c	9 Sep 2005 04:56:34 -0000	1.3
+++ openbsd-compat/port-uw.c	31 Aug 2006 00:52:33 -0000
@@ -29,6 +29,10 @@
 #ifdef HAVE_CRYPT_H
 #include <crypt.h>
 #endif
+#include <stdarg.h>
+#include <string.h>
+#include <pwd.h>
+
 #include "packet.h"
 #include "buffer.h"
 #include "log.h"

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list