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

Russ Allbery rra@stanford.edu
Thu, 12 Jan 2006 11:29:17 -0800


Steven McCoy <fnjordy@gmail.com> writes:

> I have OpenAFS 1.3.87 built perfectly fine with Xen 2 and Linux
> 2.6.11.10and 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....)

This is unfortunately a fairly generic problem, but one of the things that
can cause it is having the kernel built with a different compiler than
you're using to build OpenAFS.  Would the Xen 3 upgrade possibly have
created that sort of issue?

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