[OpenAFS] openafs on ppc64 (openpower 710)

Russ Allbery rra@stanford.edu
Wed, 08 Feb 2006 18:28:10 -0800


shoker@xtra.co.nz writes:

> I am having hard time compiling afs modules on ppc64 
> details as follows 

> Debian testing 

> #uname -a
> Linux medusa-debian 2.6.15-1-powerpc64 #2 SMP Thu Jan 19 04:25:54 UTC 2006 ppc64 GNU/Linux

> and it ends up at 


> In file included from /usr/src/modules/openafs/src/afs/afs_osi.h:393,
>                  from /usr/src/modules/openafs/src/rx/rx_clock.h:88,
>                  from /usr/src/modules/openafs/src/rx/rx.h:35,
>                  from /usr/src/modules/openafs/src/afs/afsincludes.h:26,
>                  from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
> /usr/src/modules/openafs/src/afs/LINUX/osi_machdep.h:55:2: error: #error Not sure what to do about rlim (should be in the Linux task struct somewhere....)

This is the standard mismatch problem between the kernel and the OpenAFS
build.  So, the standard questions:  What compiler are you using?  Are you
using a stock Debian kernel, or did you build the kernel yourself?  Are
you using module-assistant or something like it to do the build, or
building by hand?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>