[OpenAFS] Compile errors for OpenAFS 1.2.13 on IRIX 6.5.27m

Frank Thommen fthommen@inf.ethz.ch
Wed, 14 Sep 2005 14:54:00 +0200


Dear list members,

I'm currently trying to install OpenAFS 1.2.13 (last stable release) on 
IRIX 6.5.27m (IP30 CPU board type).  Since the prebuilt binaries from 
http://www.openafs.org/dl/openafs/1.2.13/irix-6.5/sgi_65.tar.gz didn't 
work ('Error loading module Afs_:  Can't resolve all symbols in 
object.'), I wanted to compile AFS from source.

I `./configure`d with default options, but `make` gives me four compile 
errors and dies:

# make
[...]

cc-1143 cc: ERROR File = ../afs/../afs/../h/systm.h, Line = 222
   Declaration is incompatible with "void bcopy(const void *, void *, 
size_t)"
           (declared at line 215).

   extern void   *memcpy(void *, const void *, size_t);
                  ^

cc-1143 cc: ERROR File = ../afs/../afs/../h/systm.h, Line = 223
   Declaration is incompatible with "void bzero(void *, size_t)" 
(declared at
           line 218).

   extern void   *memset(void *, int, size_t);
                  ^

cc-1143 cc: ERROR File = /usr/include/strings.h, Line = 29
   Declaration is incompatible with "void *bcopy(const void *, void *, 
size_t)"
           (declared at line 222 of "../afs/../afs/../h/systm.h").

   extern void   bcopy(const void *, void *, size_t);
                 ^

cc-1143 cc: ERROR File = /usr/include/strings.h, Line = 30
   Declaration is incompatible with "void *bzero(void *, size_t)" 
(declared at
           line 223 of "../afs/../afs/../h/systm.h").

   extern void   bzero(void *, size_t);
                 ^
[...]

4 errors detected in the compilation of "../afs/afs_analyze.c".
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
#


I don't speak enough C to understand what's wrong here.  C and C++ 
development environments 7.4 are installed on this host.

Any pointers or ideas or - even better - links to working binary 
distributions of AFS?

Thanks in advance

    frank


-- 
Frank Thommen
System Management & Support                         +41-44-63 27208
Inst. of Computational Science ETH             fthommen@inf.ethz.ch
ETH Zentrum / CAB, CH-8092 Zuerich        www.inf.ethz.ch/~fthommen