I'm getting a build error:<div><div>make[5]: Entering directory `/usr/src/kernels/2.6.18-238.9.1.el5-x86_64'</div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);">/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc/mdc_lib.c:828: error: conflicting types for 'mdc_getattr_pack'</span></div>

<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);">/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc/mdc_internal.h:56: error: previous declaration of 'mdc_getattr_pack' was here</span></div>

<div>make[8]: *** [/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc/mdc_lib.o] Error 1</div><div>make[7]: *** [/usr/src/redhat/BUILD/lustre-1.8.5/lustre/mdc] Error 2</div><div>make[7]: *** Waiting for unfinished jobs....</div>

<div>make[6]: *** [/usr/src/redhat/BUILD/lustre-1.8.5/lustre] Error 2</div><div>make[5]: *** [_module_/usr/src/redhat/BUILD/lustre-1.8.5] Error 2</div><div>make[5]: Leaving directory `/usr/src/kernels/2.6.18-238.9.1.el5-x86_64'</div>

<div>make[4]: *** [modules] Error 2</div><div>make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.5'</div><div>make[3]: *** [all-recursive] Error 1</div><div>make[3]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.5'</div>

<div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.5'</div><div>error: Bad exit status from /var/tmp/rpm-tmp.63873 (%build)</div><div><br></div><div>mdc_internal.h:</div>

<div><div>     55 void mdc_getattr_pack(struct ptlrpc_request *req, int offset, __u64 valid,</div><div>     56                       int flags, struct mdc_op_data *data);</div></div><div><br></div><div>mdc_lib.c (patched version downloaded from link above):</div>

<div><div>    828 {</div><div>    829         if (mdc_req_is_2_0_server(req))</div><div>    830                 mdc_getattr_pack_20(req, offset, valid, flags, data, ea_size);</div><div>    831         else</div><div>    832                 mdc_getattr_pack_18(req, offset, valid, flags, data);</div>

<div>    833 }</div></div><div><br></div><div>Upon closer inspection, it appears this patch is for Lustre 1.8.6, while we're running 1.8.5. Is there a download location for lustre source for 1.8.6? I don't see it on <a href="http://lustre.org">lustre.org</a>. </div>

<div><br></div><div>Thanks again for your help!</div>Aaron <br>
<br><br><div class="gmail_quote">On Thu, May 19, 2011 at 11:30 AM, Aaron Everett <span dir="ltr"><<a href="mailto:aeverett@forteds.com">aeverett@forteds.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Excellent. Thanks for the quick reply. Building new rpm's now.<div><br clear="all"><font color="#888888">Aaron</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, May 19, 2011 at 11:17 AM, Johann Lombardi <span dir="ltr"><<a href="mailto:johann@whamcloud.com" target="_blank">johann@whamcloud.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, May 19, 2011 at 11:06:08AM -0400, Aaron Everett wrote:<br>
> Thanks for the replies. Does the patch need to be applied to clients'<br>
> lustre-module rpms only, client and server lustre&lustre-module rpms, or<br>
> will I need to build new kernels for the servers as well?<br>
<br>
</div>You only need to apply the patch to the lustre clients (only the lustre-module rpms will be modified). No need to rebuild the kernel.<br>
<div><div></div><div><br>
Johann<br>
--<br>
Johann Lombardi<br>
Whamcloud, Inc.<br>
<a href="http://www.whamcloud.com" target="_blank">www.whamcloud.com</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>