Hi Everyone, Can someone confirm if Lustre 1.8.2 can be compiled on Debian Lenny. I am running a custom xen kernel 2.6.31.5 along with Xen 3.4.2. I am only interested in the client side functionality, not the server side. Let me know. Thanks. dot.yet
DT Piotr Wadas
2010-Mar-10 19:11 UTC
[Lustre-discuss] Lustre 1.8.2 compilation on Debian Lenny
In short - yes. Didn''t try on Xen, but worked on "real" machine, x86 and x86_64, server and client. Tested 1.8.1.x and some latest 1.8.2 DT On Wed, 10 Mar 2010, Dot Yet wrote:> Hi Everyone, > > Can someone confirm if Lustre 1.8.2 can be compiled on Debian Lenny. I > am running a custom xen kernel 2.6.31.5 along with Xen 3.4.2. I am > only interested in the client side functionality, not the server side. > > Let me know. > > Thanks. > dot.yet > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >
Funny, I did the compilation on stock kernel 2.6.30.10 and it worked, however, the same compilation on this xen kernel 2.6.31.5 failed: /root/xenlustre/lustre-1.8.2/lustre/llite/file.c: In function lustre_check_acl: /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3462: error: implicit declaration of function posix_acl_dup cc1: warnings being treated as errors /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3462: error: assignment makes pointer from integer without a cast /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3468: error: implicit declaration of function posix_acl_permission /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3469: error: implicit declaration of function posix_acl_release make[6]: *** [/root/xenlustre/lustre-1.8.2/lustre/llite/file.o] Error 1 make[5]: *** [/root/xenlustre/lustre-1.8.2/lustre/llite] Error 2 make[4]: *** [/root/xenlustre/lustre-1.8.2/lustre] Error 2 make[3]: *** [_module_/root/xenlustre/lustre-1.8.2] Error 2 make[3]: Leaving directory `/root/xenlustre/linux-2.6.31.5'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/xenlustre/lustre-1.8.2'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/xenlustre/lustre-1.8.2'' make: *** [all] Error 2 lustreserver01:~/xenlustre/lustre-1.8.2# Is there some way to convert -Werror to -Wall and see if that helps? I tried putting it as CFLAG in the configure command, but that did not work. I used the following config command: ./configure --with-linux=/root/xenlustre/linux-2.6.31.5 --disable-server --prefix=/opt/usr/local Thanks, dot.yet On Wed, Mar 10, 2010 at 2:11 PM, DT Piotr Wadas <pwadas at dtpw.pl> wrote:> > In short - yes. Didn''t try on Xen, but worked on "real" machine, > x86 and x86_64, server and client. Tested 1.8.1.x and some latest 1.8.2 > > DT > > On Wed, 10 Mar 2010, Dot Yet wrote: > >> Hi Everyone, >> >> Can someone confirm if Lustre 1.8.2 can be compiled on Debian Lenny. I >> am running a custom xen kernel 2.6.31.5 along with Xen 3.4.2. I am >> only interested in the client side functionality, not the server side. >> >> Let me know. >> >> Thanks. >> dot.yet >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-discuss >> >
Brian J. Murrell
2010-Mar-10 21:27 UTC
[Lustre-discuss] Lustre 1.8.2 compilation on Debian Lenny
On Wed, 2010-03-10 at 16:22 -0500, Dot Yet wrote:> Funny, I did the compilation on stock kernel 2.6.30.10 and it worked, > however, the same compilation on this xen kernel 2.6.31.5 failed:I don''t think 2.6.31 is supported in 1.8.2. There is probably a patch in BZ for some 2.6.31 support but you might need to backport it to 1.8.2.> /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3462: error: implicit > declaration of function posix_acl_dup > cc1: warnings being treated as errors > /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3462: error: > assignment makes pointer from integer without a cast > /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3468: error: implicit > declaration of function posix_acl_permission > /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3469: error: implicit > declaration of function posix_acl_release> Is there some way to convert -Werror to -Wall and see if that helps?It won''t. You got "error"s not "warning"s. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100310/1bca8b36/attachment.bin
OK. sounds like I will have to step back on xen kernel and see if I can get that one to work with lustre and xen :) Thanks again. dot.yet On Wed, Mar 10, 2010 at 4:27 PM, Brian J. Murrell <Brian.Murrell at sun.com> wrote:> On Wed, 2010-03-10 at 16:22 -0500, Dot Yet wrote: >> Funny, I did the compilation on stock kernel 2.6.30.10 and it worked, >> however, the same compilation on this xen kernel 2.6.31.5 failed: > > I don''t think 2.6.31 is supported in 1.8.2. ?There is probably a patch > in BZ for some 2.6.31 support but you might need to backport it to > 1.8.2. > >> /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3462: error: implicit >> declaration of function posix_acl_dup >> cc1: warnings being treated as errors >> /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3462: error: >> assignment makes pointer from integer without a cast >> /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3468: error: implicit >> declaration of function posix_acl_permission >> /root/xenlustre/lustre-1.8.2/lustre/llite/file.c:3469: error: implicit >> declaration of function posix_acl_release > > >> Is there some way to convert -Werror to -Wall and see if that helps? > > It won''t. ?You got "error"s not "warning"s. > > b. > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >
Johann Lombardi
2010-Mar-10 21:36 UTC
[Lustre-discuss] Lustre 1.8.2 compilation on Debian Lenny
On Wed, Mar 10, 2010 at 04:22:47PM -0500, Dot Yet wrote:> Is there some way to convert -Werror to -Wall and see if that helps? I > tried putting it as CFLAG in the configure command, but that did not > work.You can comment out the following code from lustre/autoconf/lustre-core.m4: if test $target_cpu == "i686" -o $target_cpu == "x86_64"; then CFLAGS="$CFLAGS -Werror" fi and rerun autogen.sh. Johann
Brian J. Murrell
2010-Mar-10 21:47 UTC
[Lustre-discuss] Lustre 1.8.2 compilation on Debian Lenny
On Wed, 2010-03-10 at 22:36 +0100, Johann Lombardi wrote:> > You can comment out the following code from lustre/autoconf/lustre-core.m4: > > if test $target_cpu == "i686" -o $target_cpu == "x86_64"; then > CFLAGS="$CFLAGS -Werror" > fiOr better yet, you could turn it into a macro which is enabled by default but could be disabled with an "--disable-werror" or some such switch. We''d love to have a patch...> and rerun autogen.sh.Note that if you are building from a tarball, you won''t have autogen,sh. You could simply find those similar lines in configure and comment them out though. Pretty easy if you know shell scripting. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100310/4f3f21e5/attachment-0001.bin