[Lustre-discuss] Lustre 1.8.2 compilation on Debian Lenny

Dot Yet dot.yet at gmail.com
Wed Mar 10 13:22:47 PST 2010


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
>>
>



More information about the lustre-discuss mailing list