Coda File System

Re: Solaris Build Problems

From: Ivan Popov <pin_at_math.chalmers.se>
Date: Fri, 1 Feb 2002 08:31:01 +0100 (MET)
On Thu, 31 Jan 2002, Jan Harkes wrote:

> Try to remove line 120 from lib-src/kernel-includes/coda.h.
>
>   /* Solaris Definitions */
>   #if defined(sun)
>   #include <sys/types.h>
>   #include <sys/time.h>
>   typedef unsigned long long u_quad_t;
> - #undef __BIT_TYPES_DEFINED__
>   #endif
>
> Jan

I believe I solved the problem (do not recall the exact symptoms but
I had to apply the patch) by the following:

*** coda-5.3.15/include/coda.h.ori      Sat Oct 27 18:09:39 2001
--- coda-5.3.15/include/coda.h  Sat Oct 27 18:43:46 2001
***************
*** 124,130 ****
  #include <sys/types.h>
  #include <sys/time.h>
  typedef unsigned long long u_quad_t;
! #undef __BIT_TYPES_DEFINED__
  #endif

  /* Mac OS X / Darwin */
--- 124,133 ----
  #include <sys/types.h>
  #include <sys/time.h>
  typedef unsigned long long u_quad_t;
! /* #undef __BIT_TYPES_DEFINED__ pin */
! #define __BIT_TYPES_DEFINED__ /* pin */
! #undef           u_int32_t; /* pin */
! typedef unsigned int     u_int32_t;
  #endif

  /* Mac OS X / Darwin */

Cheers,
--
Ivan
Received on 2002-02-01 02:31:09