Heiko Schröter
2010-Jul-13 09:52 UTC
[Lustre-discuss] lustre-1.8.3 build fails (llite_nfs)
Hello, building lustre-1.8.3 fails with the following message: <snip> CC [M] /usr/src/lustre-1.8.3/lustre/llite/llite_close.o CC [M] /usr/src/lustre-1.8.3/lustre/llite/llite_lib.o CC [M] /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.o /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c: In function ''ll_decode_fh'': /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:224: error: ''const struct export_operations'' has no member named ''find_exported_dentry'' /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c: At top level: /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:291: error: unknown field ''get_dentry'' specified in initializer cc1: warnings being treated as errors /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:291: error: excess elements in struct initializer /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:291: error: (near initialization for ''lustre_export_operations'') /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:292: error: unknown field ''decode_fh'' specified in initializer /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:292: error: excess elements in struct initializer /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:292: error: (near initialization for ''lustre_export_operations'') make[6]: *** [/usr/src/lustre-1.8.3/lustre/llite/llite_nfs.o] Error 1 make[5]: *** [/usr/src/lustre-1.8.3/lustre/llite] Error 2 make[4]: *** [/usr/src/lustre-1.8.3/lustre] Error 2 make[3]: *** [_module_/usr/src/lustre-1.8.3] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.27.39-0.3'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/lustre-1.8.3'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lustre-1.8.3'' make: *** [all] Error 2 <snap> Kernel is a lustre patched Suse Kernel linux-2.6.27.39-0.3. So what do i miss/oversea here ? Any s/w packages/libs which are missing ? Thanks and Regards Heiko
Heiko Schröter
2010-Jul-13 12:16 UTC
[Lustre-discuss] lustre-1.8.3 build fails (llite_nfs)
Am Dienstag 13 Juli 2010, um 11:52:34 schrieb Heiko Schr?ter: Answering myself. It seems to be a gcc version conflict on a gentoo distro. gcc version 4.3.2 compiles ok, whereas gcc 4.4.3 fails. Regards Heiko> Hello, > > building lustre-1.8.3 fails with the following message: > > <snip> > CC [M] /usr/src/lustre-1.8.3/lustre/llite/llite_close.o > CC [M] /usr/src/lustre-1.8.3/lustre/llite/llite_lib.o > CC [M] /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.o > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c: In function ''ll_decode_fh'': > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:224: error: ''const struct export_operations'' has no member named ''find_exported_dentry'' > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c: At top level: > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:291: error: unknown field ''get_dentry'' specified in initializer > cc1: warnings being treated as errors > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:291: error: excess elements in struct initializer > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:291: error: (near initialization for ''lustre_export_operations'') > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:292: error: unknown field ''decode_fh'' specified in initializer > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:292: error: excess elements in struct initializer > /usr/src/lustre-1.8.3/lustre/llite/llite_nfs.c:292: error: (near initialization for ''lustre_export_operations'') > make[6]: *** [/usr/src/lustre-1.8.3/lustre/llite/llite_nfs.o] Error 1 > make[5]: *** [/usr/src/lustre-1.8.3/lustre/llite] Error 2 > make[4]: *** [/usr/src/lustre-1.8.3/lustre] Error 2 > make[3]: *** [_module_/usr/src/lustre-1.8.3] Error 2 > make[3]: Leaving directory `/usr/src/linux-2.6.27.39-0.3'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/usr/src/lustre-1.8.3'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/lustre-1.8.3'' > make: *** [all] Error 2 > <snap> > > Kernel is a lustre patched Suse Kernel linux-2.6.27.39-0.3. > > So what do i miss/oversea here ? > Any s/w packages/libs which are missing ? > > Thanks and Regards > Heiko > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >
Brian J. Murrell
2010-Jul-13 14:35 UTC
[Lustre-discuss] lustre-1.8.3 build fails (llite_nfs)
On Tue, 2010-07-13 at 14:16 +0200, Heiko Schr?ter wrote:> Am Dienstag 13 Juli 2010, um 11:52:34 schrieb Heiko Schr?ter: > > Answering myself. > > It seems to be a gcc version conflict on a gentoo distro. > > gcc version 4.3.2 compiles ok, whereas gcc 4.4.3 fails.Could you please file a bug on that? Thanx, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100713/527e7c9e/attachment.bin
Heiko Schröter
2010-Jul-14 10:39 UTC
[Lustre-discuss] lustre-1.8.3 build fails (llite_nfs)
Am Dienstag 13 Juli 2010, um 16:35:19 schrieb Brian J. Murrell:> On Tue, 2010-07-13 at 14:16 +0200, Heiko Schr?ter wrote: > > Am Dienstag 13 Juli 2010, um 11:52:34 schrieb Heiko Schr?ter: > > > > Answering myself. > > > > It seems to be a gcc version conflict on a gentoo distro. > > > > gcc version 4.3.2 compiles ok, whereas gcc 4.4.3 fails. > > Could you please file a bug on that? > > Thanx, > b. >Done. Regards Heiko
Brian J. Murrell
2010-Jul-14 10:47 UTC
[Lustre-discuss] lustre-1.8.3 build fails (llite_nfs)
On Wed, 2010-07-14 at 12:39 +0200, Heiko Schr?ter wrote:> > Done.Thanx. But it''s usually good to put some details (i.e. the same details you originally posted here with -- the compilation errors you got) about what the problem is into the ticket rather than a "it don''t work" type message. If you include details of the exact problem, likely somebody can see quite quickly what the problem is and just fix in a few minutes. If you leave it up the engineer to have to replicate your build environment just to see what the problem is, the task becomes much bigger and the effort:benefit ratio lowers likely giving the ticket a lower overall priority. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100714/ae2e0f8b/attachment.bin
Heiko Schröter
2010-Jul-14 11:31 UTC
[Lustre-discuss] lustre-1.8.3 build fails (llite_nfs)
Am Mittwoch 14 Juli 2010, um 12:47:33 schrieb Brian J. Murrell:> On Wed, 2010-07-14 at 12:39 +0200, Heiko Schr?ter wrote: > > > > Done. > > Thanx. But it''s usually good to put some details (i.e. the same details > you originally posted here with -- the compilation errors you got) about > what the problem is into the ticket rather than a "it don''t work" type > message. If you include details of the exact problem, likely somebody > can see quite quickly what the problem is and just fix in a few minutes. > > If you leave it up the engineer to have to replicate your build > environment just to see what the problem is, the task becomes much > bigger and the effort:benefit ratio lowers likely giving the ticket a > lower overall priority. > > b. > >Oops, sorry. Forgot to attach the build output. Done now. Regards Heiko