[OpenAFS-devel] Xen 3 and OpenAFS 1.4.0/1rc3 build error

Christof Hanke hanke@rzg.mpg.de
Fri, 13 Jan 2006 14:55:42 +0100


Steven McCoy wrote:
> I have OpenAFS 1.3.87 built perfectly fine with Xen 2 and Linux 
> 2.6.11.10 <http://2.6.11.10> and running for a few months, however I'm 
> updating to Xen 3 and bumping upto OpenAFS 1.4.0, unfortunately the 
> compile fails as follows:
> 
> make[5]: Entering directory `/usr/src/linux-2.6.12.6-xenU'
>   CC [M]  
> /tmp/t/openafs-1.4.1-rc3/src/libafs/MODLOAD-2.6.12.6-xen-SP/afs_analyze.o
> In file included from /tmp/t/openafs- 1.4.1-rc3/src/afs/afs_osi.h:443,
>                  from /tmp/t/openafs-1.4.1-rc3/src/rx/rx_clock.h:88,
>                  from /tmp/t/openafs-1.4.1-rc3/src/rx/rx.h:35,
>                  from /tmp/t/openafs- 1.4.1-rc3/src/afs/afsincludes.h:26,
>                  from 
> /tmp/t/openafs-1.4.1-rc3/src/libafs/MODLOAD-2.6.12.6-xen-SP 
> /afs_analyze.c:36:
> /tmp/t/openafs-1.4.1-rc3/src/afs/LINUX/osi_machdep.h:55:2: #error Not 
> sure what to do about rlim (should be in the Linux task struct 
> somewhere....)
> 
> 
> Previously I had to just update the kernel asm to point to asm-xen 
> instead of asm-xen and similarly with src/libafs/asm, and build with:
> 
>  # make ARCH=xen only_libafs
> 
> Is this still correct, any pointers?
> 
> 
> Many thanks, and I'm looking forward to IFS support so I can use 
> simplified & traditional chinese file names in AFS.
> 
I have seen this error when I had a previous build from a different 
kernel (both new and old kernel non-Xen), but a "make clean" did help.

Christof