[OpenAFS] OpenAFS-kernel with OpenMOSIX

LUKE OLIVER PALMER lopalmer@wisc.edu
Thu, 24 Jul 2003 02:35:02 -0500


Hello,

I have 2.4.21 kernel sources patched with OpenMOSIX, and am using the vanilla configuration.  The kernel compiles and runs great.  However, I cannot get an openafs-kernel module to compile.  After doing

./configure --with-linux-kernel-headers=/usr/src/linux-2.4.21-openmosix1/

(everything works)

make
(bla bla bla)
Building in directory: MODLOAD-2.4.21-openmosix1-MP
make[1]: Entering directory `/usr/src/openafs-kernel-1.2.9/src/MODLOAD-2.4.21-openmosix1-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/openafs-kernel-1.2.9/src/config -c ../afs/afs_atomlist.c;
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/openafs-kernel-1.2.9/src/config -c ../afs/afs_lhash.c;
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/openafs-kernel-1.2.9/src/config -c ../afs/afs_analyze.c;
In file included from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/sched.h:33:25: hpc/hpctask.h: No such file or directory
In file included from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/sched.h:460: field `mosix' has incomplete type
../linux/sched.h:584: confused by earlier errors, bailing out
make[1]: *** [afs_analyze.o] Error 1
make[1]: Leaving directory `/usr/src/openafs-kernel-1.2.9/src/MODLOAD-2.4.21-openmosix1-MP'
make: *** [linux_compdirs] Error 2

I unfortunately really need to get this working.  Any ideas?

Thanks
Luke