[OpenAFS-devel] compiling a kernel module for 2.6.28.1

Dr A V Le Blanc Dr A V Le Blanc <LeBlanc@man.ac.uk>
Mon, 19 Jan 2009 17:15:18 +0000


On 19 Jan 2009, at 16:17, Dr A V Le Blanc wrote:

> Has anyone had success compiling a kernel module for 2.6.28.1?  For
> 1.4.8 I get this:
...
> for 1.5.56 I get this:

and Simon Wilkinson <sxw@inf.ed.ac.uk> replied:

> 1.5.56 is know to be broken for all platforms other than Windows and  
> IRIX.

Then for 1.5.55, I get this:

  CC [M]  /tmp/openafs-1.5.55/src/libafs/MODLOAD-2.6.28.1-SP/osi_export.o
/tmp/openafs-1.5.55/src/libafs/MODLOAD-2.6.28.1-SP/osi_export.c: In function 'get_dentry_from_fid':
/tmp/openafs-1.5.55/src/libafs/MODLOAD-2.6.28.1-SP/osi_export.c:525: error: implicit declaration of function 'd_alloc_anon'
/tmp/openafs-1.5.55/src/libafs/MODLOAD-2.6.28.1-SP/osi_export.c:525: warning: assignment makes pointer from integer without a cast
make[6]: *** [/tmp/openafs-1.5.55/src/libafs/MODLOAD-2.6.28.1-SP/osi_export.o] Error 1

I'll try your other suggestion, Simon.  Thanks for the reply.

     -- Owen