[OpenAFS] compiling OpenAFS for OpenSSI

Ron Croonenberg ronc@depauw.edu
Mon, 11 Jul 2005 23:38:54 -0500


Hello all,

I am still working on trying to build/compile OpenAFS for OpenSSI

The compiler complains about a file that it thinks doesn't exist.
It does exist, but it seems that I need a link to a "cluster" directory
in the OpenSSI source tree.

Here's what the compiler complains about

make[4]: Entering directory
`/usr/src/redhat/SOURCES/openafs-1.2.13/src/libafs/MODLOAD-2.4.22-1.2199.nptl_ssi_9smp-MP'
gcc   -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL
-D_KERNEL -DMODULE -DAFS_SMP    -I. -I../
-I/usr/src/redhat/SOURCES/openafs-1.2.13/src/config -c
../afs/afs_analyze.c;
In file included from ../linux/capability.h:17,
                 from ../linux/binfmts.h:4,
                 from ../linux/sched.h:10,
                 from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/fs.h:27:35: cluster/ssi/cfs/const.h: No such file or directory
 
As I said, "cluster/ssi/cfs/const.h" does exist, but I probably need to
make a symbolic link named cluster in a few places. I tried making it in
MODLOAD.....   but that didn't work.  
Any idea where to put it ?

thanks,

Ron