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
Hi, Maybe you''ve hit the problem addressed by attachment https://bugzilla.lustre.org/attachment.cgi?id=30289 from bug 22375. It was initially designed for Lustre 2.0, but maybe you could adapt it for 1.8. HTH Sebastien. Le 10/12/2010 13:19, G?tz Waschk a ?crit :> 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 > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >
On Fri, Dec 10, 2010 at 2:29 PM, S?bastien Buisson <sebastien.buisson at bull.net> wrote:> Maybe you''ve hit the problem addressed by attachment > https://bugzilla.lustre.org/attachment.cgi?id=30289 from bug 22375. > It was initially designed for Lustre 2.0, but maybe you could adapt it for > 1.8.Hi, I have rediffed the patch for Lustre 1.8.5, ran the auto* tools and after that I got the same build error as above. By the way, git master of Lustre 2.x fails in the same way. Regards, G?tz Waschk
Hello, we have seen the same problem with RHEL6 as reported in this thread. Is it planned to support RHEL6 clients with Lustre 1.8.x? If yes, do you already have a bugzilla ID? Thanks, Roland Laifer On Fri, Dec 10, 2010 at 06:19:43PM +0100, G?tz Waschk wrote:> On Fri, Dec 10, 2010 at 2:29 PM, S?bastien Buisson > <sebastien.buisson at bull.net> wrote: > > Maybe you''ve hit the problem addressed by attachment > > https://bugzilla.lustre.org/attachment.cgi?id=30289 from bug 22375. > > It was initially designed for Lustre 2.0, but maybe you could adapt it for > > 1.8. > Hi, > > I have rediffed the patch for Lustre 1.8.5, ran the auto* tools and > after that I got the same build error as above. By the way, git master > of Lustre 2.x fails in the same way. > > Regards, G?tz Waschk