[OpenAFS] Problem building openafs on kernel 2.6.18.2-34-default

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:
	/afs/umich.edu/group/itd/build/mdw/openafs/patches/openafs-1.5.8-kconfig.diff
which is the companion to this:
	http://www.central.org/rt/Ticket/Display.html?id=40604

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

				-Marcus Watts