On Mon, 2008-06-16 at 12:23 +0200, Heiko Schroeter wrote:
> Hello,
> 
> i'am trying to compile the 1.6.5 sources against a vanilla-2.6.22.19 kernel. 
> Distrib: gentoo 2008
> 
> - setting the links and patching the kernel as described with "quilt push 
> -av" 
> ok.
> - compiling and booting the kernel ok.
> - configuring lustre:
> ./configure --disable-liblustre --enable-quota 
> --with-linux=/usr/src/linux-2.6.22.19/
> seems ok, since it states "Type make etc."

I don't have a vanilla 2.6.22 kernel here, but I do have a RHEL5,
2.6.18-53.1.4 kernel...

> 
> - compiling lustre fails with:
> 
> <snip>
>   CC [M]  /usr/src/lustre-1.6.5/lustre/lov/lov_ea.o
>   LD [M]  /usr/src/lustre-1.6.5/lustre/lov/lov.o
> ln -s /usr/src/lustre-1.6.5/lustre/lvfs/fsfilt_ldiskfs.c 
> /usr/src/lustre-1.6.5/lustre/lvfs/fsfilt-ldiskfs.c
>   CC [M]  /usr/src/lustre-1.6.5/lustre/lvfs/fsfilt-ldiskfs.o
> /usr/src/lustre-1.6.5/lustre/lvfs/fsfilt-ldiskfs.c: In 
> function 'fsfilt_ldiskfs_setup':
> /usr/src/lustre-1.6.5/lustre/lvfs/fsfilt-ldiskfs.c:1401: error: 'struct 
> ldiskfs_sb_info' has no member named 's_qf_names'

Did you enable CONFIG_QUOTA in your kernel?

The RHEL5 kernel defines ext3_sb_info->s_qf_names as such:

struct ext3_sb_info {
...
#ifdef CONFIG_QUOTA
        char *s_qf_names[MAXQUOTAS];            /* Names of quota files with 
journalled
quota */
        int s_jquota_fmt;                       /* Format of quota to use */
#endif
};

Can you see if your kernel has a similar definition of ext_sb_info?

b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to