[OpenAFS] Openafs-1.4.0; Kernel 2.6.9-22.0.1.EL; kernel module compile error

Derrick J Brashear shadow@dementia.org
Fri, 16 Dec 2005 12:30:10 -0500 (EST)


On Fri, 16 Dec 2005, Soon Wong wrote:

> Derek,
>
> I'd be more than happy to use the openafs rpms if someone can point me to 
> where I can get them for ppc.  I'd be happy to run any 2.6 kernel.
>
> This is how I run configure:
> ./configure --enable-transarc-paths 
> --with-linux-kernel-headers=/usr/src/kernels/2.6.9-22.0.1.EL-ppc64
>
> Russ told me that I have problems with my kernel headers after taking a look 
> at my config.log. So after googling for a while, I found out about gcc 
> fixincludes and so I pointed configure at my old kernel headers (which should 
> have the "fixed" kernel headers).
>
> Ok, so then I ran configure with my old kernel headers:
> ./configure --enable-transarc-paths 
> --with-linux-kernel-headers=/usr/src/kernels/2.6.9-22.EL-ppc64
>
> configure ran clean, except for this:
> /usr/src/kernels/2.6.9-22.EL-ppc64/include/asm/mmu.h:48: error: width of 
> `avpn' exceeds its type
> /usr/src/kernels/2.6.9-22.EL-ppc64/include/asm/mmu.h:60: error: width of 
> `rpn' exceeds its type
>
> configure seemed to have found rlim:
> configure:4016: checking for rlim in struct task_struct

No, it seems to have checked for it. I see nothing to indicate it was 
found.

Derrick