[OpenAFS] OpenAFS 1.3.82 on Solaris 10 build errors.

Eric Jonas jonas@cortical.mit.edu
Sun, 29 May 2005 13:49:40 -0400

Hello! I'm trying to get OpenAFS 1.3.82 up and running on a fresh
solaris 10 machine so I can eventually do afs<->tsm backup. But right
now I'm just trying to get the source to compile. I've run into enough
errors that I'm curious if anyone else has made this combo work. 

For starters, I get: 

/opt/SUNWspro/bin/cc -I. -I.. -I../nfs  -I/home/jonas/openafs-1.3.82/src
-I/home/jonas/openafs-1.3.82/src/util  -I/home/jonas/openafs-1.3.82/src
-I/home/jonas/openafs-1.3.82/include/afs  -O
-I. -I.. -I/home/jonas/openafs-1.3.82/src/config  -DAFSDEBUG -DKERNEL
-c /home/jonas/openafs-1.3.82/src/afs/afs_dynroot.c
"/home/jonas/openafs-1.3.82/src/afs/afs_dynroot.c", line 642: undefined
struct/union member: cr_uid
"/home/jonas/openafs-1.3.82/src/afs/afs_dynroot.c", line 681: undefined
struct/union member: cr_uid

when I try to compile with a simple ./configure
--with-afs-sysname=sun4x_59 --enable-transarc-paths to start. If I also
try --enable-tivoli-tsm, the ./configure crashes as the -e option to
test (used in the configure script to check for the tsm headers)
evidently doesn't exist in sh on solaris. 

Might anyone have seen these errors before, or gotten 1.3.82 working on
Solaris 10 and be willing to compare notes?