[OpenAFS] Problem building openafs on kernel

Marcus Watts mdw@umich.edu
Sat, 30 Dec 2006 01:47:51 -0500

Russ Allbery <rra@stanford.edu> had replied:
> Gianluca Cerminara <gianluca.cerminara@cern.ch> writes:
> > Yes I get the same error, also with 1.4.2 and 1.5.12...
> >>> error: #error Not sure what to do about rlim (should be in the Linux
> >>> task struct somewhere....)
> This error usually means nothing more than "your kernel headers included
> in the way that OpenAFS's configure uses them failed to compile" and can
> be caused by all sorts of things, ranging from missing packages to real
> kernel incompatibilities.  To figure out what's going on, we need to see
> the portion of config.log around the test for rlim.  There will be
> compiler error messages that will hopefully lead us to the real cause.

Russ is right this indicates a problem with the kernel build process.
Most likely that's headers, but it could be other stuff.

Unfortunately, config.log most likely won't contain anything of interest.
To get useful stuff in config.log, you'll need to do something like
this patch:
which is the companion to this:

It would also be useful to know if the kernel or headers
in question were built "in tree" or "out of tree".

				-Marcus Watts