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

Soon Wong wongste@hotmail.com
Thu, 15 Dec 2005 16:07:52 -0500


My environment:

openafs 1.4.0
kernel : Linux version 2.6.9-22.0.1.EL (bhcompile@sizzler.build.redhat.com) 
(gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Tue Oct 18 18:35:10 
EDT 2005

gcc: cc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)

configure produces this error:
configure: In function `main':
configure:4060: error: structure has no member named `rlim'
configure: failed program was:
#line 4056 "configure"
#include "confdefs.h"
#include <linux/sched.h>
int main() {
struct task_struct _tsk;
printf("%d\n", _tsk.signal->rlim);
; return 0; }

make produces this error:
In file included from /root/openafs-1.4.0/src/afs/afs_osi.h:393,
                 from /root/openafs-1.4.0/src/rx/rx_clock.h:88,
                 from /root/openafs-1.4.0/src/rx/rx.h:35,
                 from /root/openafs-1.4.0/src/afs/afsincludes.h:26,
                 from 
/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.9-22.0.1.EL-MP/afs_analyze.c:36:
/root/openafs-1.4.0/src/afs/LINUX/osi_machdep.h:55:2: #error Not sure what 
to do about rlim (should be in the Linux task struct somewhere....)
:
:
make[6]: *** 
[/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.9-22.0.1.EL-MP/afs_analyze.o] 
Error 1
make[5]: *** 
[_module_/root/openafs-1.4.0/src/libafs/MODLOAD-2.6.9-22.0.1.EL-MP] Error 2


Any ideas on what I can do to get around/past this?

Appreciate any help you can offer.  Thanks.

regards,
Soon Wong

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement