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

Marc Dionne dionne@cs.wisc.edu
Thu, 04 Jan 2007 16:08:18 -0500


Russ Allbery wrote:
> Gianluca Cerminara <gianluca.cerminara@cern.ch> writes:
> 
>> Sorry...I have been offline for a while.
>> Here it is the section of the config.log regarding rlim:
> 
>> configure:11102: checking for rlim in struct task_struct
>> configure:11133: make -C $LINUX_KERNEL_PATH M=`pwd`/conftest.dir modules
>>> /dev/null
>> /home/cerminar/io/installazione/openafs-1.5.12/conftest.dir/conftest.c:
>> In function 'conftest':
>> /home/cerminar/io/installazione/openafs-1.5.12/conftest.dir/conftest.c:7:
>> error: 'struct task_struct' has no member named 'rlim'
>> make[1]: ***
>> [/home/cerminar/io/installazione/openafs-1.5.12/conftest.dir/conftest.o]
>> Error 1
>> make: ***
>> [_module_/home/cerminar/io/installazione/openafs-1.5.12/conftest.dir]
>> Error 2
> 
> Okay, maybe I'm going to be proven wrong.  That one looks like it really
> just can't find rlim anywhere, and isn't the sort of error message that
> I've seen from this failure in the past.

That part actually looks normal - his kernel has no rlim in task_struct 
and the configure test is doing its job.

This however, does not look normal in the test for signal->rlim:

 > /bin/sh: scripts/mod/modpost: No such file or directory

Looks like it can't find modpost.  All the kernel configure tests are 
probably failing.

Marc