[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
murray smigel
murray at tradeworx.com
Tue Dec 9 05:26:43 PST 2008
Andreas Dilger wrote:
> On Dec 08, 2008 14:34 -0500, murray smigel wrote:
>
>> Ok, I applied
>> patch -p0 < 15949-b16-v1.patch
>> patch -p1 < patchless2.6.26er-support.patch
>> to the 1.6.6 cvs source.
>> It now gets further, but terminates with:
>>
>> make CC="gcc" -C /usr/src/linux-2.6.26.5/ \
>> -f /public/lustre/lustre-1.6.6/build/Makefile
>> CC [M] /public/lustre/lustre-1.6.6/lustre/llite/lloop.o
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:155: warning:
>> 'request_queue_t' is deprecated
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:286: warning:
>> 'request_queue_t' is deprecated
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function
>> 'loop_make_request':
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:315: error: implicit
>> declaration of function 'cfs_bio_io_error'
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: At top level:
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:325: warning:
>> 'request_queue_t' is deprecated
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function
>> 'loop_handle_bio':
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:337: error: implicit
>> declaration of function 'cfs_bio_endio'
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function 'loop_thread':
>> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:364: warning: ignoring
>> return value of 'down_interruptible', declared with attribute
>> warn_unused_result
>>
>
> Please file a bug for this that blocks the 2.6.26 client bug so that
> it will be fixed. As a workaround you can remove "lloop" from the
> lustre/llite/Makefile.in and lustre/llite/autoMakefile.am files.
>
> Cheers, Andreas
> --
> Andreas Dilger
> Sr. Staff Engineer, Lustre Group
> Sun Microsystems of Canada, Inc.
>
>
**
If I remove the lloop references as suggested it gets further but
bombs out with complaining about path_release not being defined in
lustre/llite/symlink.c
If I comment out this call (I don't see it anywhere in the lustre or
kernel source), it then terminates:
make[3]: Entering directory `/usr/src/linux-2.6.26.5'
CC [M] /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.o
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c: In function
'push_ctxt':
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:151: error:
implicit declaration of function 'cfs_fs_pwd'
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:151: error: invalid
type argument of '->'
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:153: warning:
passing argument 1 of 'dget' makes pointer from integer without a cast
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:154: error:
implicit declaration of function 'cfs_fs_mnt'
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:154: warning:
passing argument 1 of 'mntget' makes pointer from integer without a cast
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c: In function
'pop_ctxt':
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:208: warning:
comparison between pointer and integer
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:208: warning:
format '%p' expects type 'void *', but argument 10 has type 'int'
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:210: warning:
comparison between pointer and integer
/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:210: warning:
format '%p' expects type 'void *', but argument 10 has type 'int'
make[6]: *** [/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.o] Error 1
make[5]: *** [/public/lustre/lustre-1.6.6/lustre/lvfs] Error 2
make[4]: *** [/public/lustre/lustre-1.6.6/lustre] Error 2
make[3]: *** [_module_/public/lustre/lustre-1.6.6] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.26.5'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/public/lustre/lustre-1.6.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/public/lustre/lustre-1.6.6'
make: *** [all] Error 2
thanks,
murray smigel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20081209/d1afc651/attachment.htm>
More information about the lustre-discuss
mailing list