Coda File System

Re: Solaris Build Problems

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 31 Jan 2002 19:13:07 -0500
On Thu, Jan 31, 2002 at 04:07:21PM -0800, Ben  Rockwood wrote:
> gcc -fno-exceptions -MD -DHAVE_CONFIG_H -I. -I/home/benr/coda/coda-5.3.17/include -I/home/benr/coda/coda-5.3.17 -g -O2 -c pioctl.c
> In file included from pioctl.h:37,
>                  from pioctl.c:33:
> /home/benr/coda/coda-5.3.17/include/coda.h:130: conflicting types for `int8_t'
> /usr/include/sys/int_types.h:62: previous declaration of `int8_t'

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
Received on 2002-01-31 19:13:08