more problems with solaris 7?

Damien Miller damien at ibs.com.au
Fri Dec 31 09:18:37 EST 1999


"Marc G. Fournier" wrote:
> 
> configure appears to be setting things right:
> 
> dragon:/var/src/openssh-1.2.1pre23> grep INTXX config.h
> #define HAVE_INTXX_T 1
> /* #undef HAVE_U_INTXX_T */
> #define HAVE_UINTXX_T 1

I have found one bug, patch attached.

This is curious though:

> defines.h:102: conflicting types for `quad_t'
> /usr/include/sys/types.h:531: previous declaration of `quad_t'
> In file included from config.h:289,
>                  from bsd-misc.h:39,
>                  from includes.h:91,
>                  from atomicio.c:26:

Does ./configure detect whether you have quad_t? It seems to attempting
to define it even though your system header already have it.

Regards,
Damien
-------------- next part --------------
Index: defines.h
===================================================================
RCS file: /var/cvs/openssh/defines.h,v
retrieving revision 1.5
diff -u -r1.5 defines.h
--- defines.h	1999/12/30 04:08:44	1.5
+++ defines.h	1999/12/30 22:11:34
@@ -61,6 +61,7 @@
 # else
 #  if (SIZEOF_LONG_LONG_INT == 8)
 typedef long long int int64_t;
+#   define HAVE_INTXX_T
 #  else
 #   error "64 bit int type not found."
 #  endif
@@ -89,6 +90,7 @@
 #  else
 #   if (SIZEOF_LONG_LONG_INT == 8)
 typedef unsigned long long int u_int64_t;
+#    define HAVE_U_INTXX_T
 #   else
 #    error "64 bit int type not found."
 #   endif
@@ -100,14 +102,17 @@
 /* being defined by the above */
 #ifndef HAVE_QUAD_T
 typedef int64_t quad_t;
+# define HAVE_QUAD_T
 #endif
 
 #ifndef HAVE_SOCKLEN_T
 typedef unsigned int socklen_t;
+# define HAVE_SOCKLEN_T
 #endif /* HAVE_SOCKLEN_T */
 
 #ifndef HAVE_SIZE_T
 typedef unsigned int size_t;
+# define HAVE_SIZE_T
 #endif /* HAVE_SIZE_T */
 
 /* Paths */


More information about the openssh-unix-dev mailing list