[OpenAFS-devel] compiling a kernel module for 2.6.28.1

Derrick Brashear shadow@gmail.com
Mon, 19 Jan 2009 12:17:22 -0500


On Mon, Jan 19, 2009 at 12:15 PM, Dr A V Le Blanc <LeBlanc@man.ac.uk> wrote:
> 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

he didn't suggest 1.5.55, that issue will be fixed in forthcoming
1.5.57; the nfs translator on linux has been crippled by certain
functionality becoming gpl-only.

-- 
Derrick