[Lustre-discuss] Patchless client on RHEL6

Götz Waschk goetz.waschk at gmail.com
Fri Dec 10 04:19:04 PST 2010


Hi everyone,

I've tried to build the patchless client for Lustre 1.8.5 on RHEL6
with a plain ./configure
--with-linux=/usr/src/kernels/2.6.32-71.7.1.el6.x86_64

It fails like this:

make[3]: Entering directory `/usr/src/kernels/2.6.32-71.7.1.el6.x86_64'
  CC [M]  /tmp/lustre-1.8.5/lustre/llite/lloop.o
cc1: warnings being treated as errors
In file included from /tmp/lustre-1.8.5/lustre/include/linux/lvfs.h:49,
                 from /tmp/lustre-1.8.5/lustre/include/lvfs.h:48,
                 from /tmp/lustre-1.8.5/lustre/include/obd_support.h:41,
                 from /tmp/lustre-1.8.5/lustre/include/lustre_cfg.h:211,
                 from /tmp/lustre-1.8.5/lustre/include/lustre_lib.h:47,
                 from /tmp/lustre-1.8.5/lustre/llite/lloop.c:110:
/tmp/lustre-1.8.5/lustre/include/linux/lustre_compat25.h: In function
‘set_shrinker’:
/tmp/lustre-1.8.5/lustre/include/linux/lustre_compat25.h:506: error:
assignment from incompatible pointer type
/tmp/lustre-1.8.5/lustre/llite/lloop.c: In function ‘loop_set_fd’:
/tmp/lustre-1.8.5/lustre/llite/lloop.c:508: error: implicit
declaration of function ‘blk_queue_max_sectors’
/tmp/lustre-1.8.5/lustre/llite/lloop.c:510: error: implicit
declaration of function ‘blk_queue_max_phys_segments’
/tmp/lustre-1.8.5/lustre/llite/lloop.c:511: error: implicit
declaration of function ‘blk_queue_max_hw_segments’
make[6]: *** [/tmp/lustre-1.8.5/lustre/llite/lloop.o] Error 1



Any idea?

Regards, Götz Waschk



More information about the lustre-discuss mailing list