<div dir="ltr"><div>Dear James and All,</div><div><br></div><div>Attached is the file &#39;config.log&#39;!<br></div><div><br></div><div><div>Thanks very much for <span style="color:rgb(0,0,0);font-family:&#39;microsoft yahei&#39;;font-size:13px;white-space:nowrap">previous</span> attention! </div><div><br></div></div>Best Wishes!</div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-07 10:03 GMT+08:00 James Simmons <span dir="ltr">&lt;<a href="mailto:jsimmons@infradead.org" target="_blank">jsimmons@infradead.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
&gt; Hello,<br>
&gt;<br>
&gt; I&#39;m trying to build a Lustre client on OpenVZ kernel (version: 042stab120.5, based on RHEL 6.8 kernel<br>
&gt; 2.6.32-642.6.1.el6), and some bugs occured: <br>
&gt;<br>
&gt; (1) When build version v2_8_59_0 in git tag repo of Lustre, I encountered the following errors:<br>
&gt; &quot;<br>
&gt; LD [M] /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/fld/ fld.o<br>
&gt; CC [M] /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/lloop.o<br>
&gt; In file included from /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/lloop.c:109:<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/llite_internal.h:1469: error: conflicting types for<br>
&gt; &#39;iov_iter_iovec&#39;<br>
&gt; include/linux/fs.h:765: note: previous definition of &#39;iov_iter_iovec&#39; was here<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/llite_internal.h: In function &#39;iov_iter_iovec&#39;:<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/llite_internal.h:1472: error: &#39;const struct<br>
&gt; iov_iter&#39; has no member named &#39;iov&#39;<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/llite_internal.h:1473: error: &#39;const struct<br>
&gt; iov_iter&#39; has no member named &#39;iov&#39;<br>
&gt; cc1: warnings being treated as errors<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/llite_internal.h:1473: error: type defaults to &#39;int&#39;<br>
&gt; in declaration of &#39;_min2&#39;<br>
&gt; ...<br>
&gt; &quot;<br>
&gt;<br>
&gt; (2) When build old version v2_8_50_0 in git tag repo of Lustre, the following errors display: <br>
&gt; &quot;<br>
&gt; CC [M] /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/vvp_lock.o<br>
&gt; CC [M] /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/vvp_io.o<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/vvp_io.c: In function &#39;vvp_mmap_locks&#39;:<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/vvp_io.c:423: error: &#39;struct iov_iter&#39; has no member<br>
&gt; named &#39;iov&#39;<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/vvp_io.c: In function &#39;vvp_io_advance&#39;:<br>
&gt; /opt/src/lustre_testvz/lustre_<wbr>new/lustre-r161012/lustre/llit e/vvp_io.c:514: error: &#39;struct iov_iter&#39; has no member<br>
&gt; named &#39;iov&#39;<br>
&gt; ...<br>
&gt; &quot;<br>
&gt;<br>
&gt; Files with full error context are attached.<br>
&gt;<br>
&gt; So, How can I fix the problem? Is this a bug which need to be fixed?<br>
<br>
</div></div>Can you post your config.log.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt; Thanks! Any suggestion is appreciated!<br>
&gt;<br>
&gt; Best Wishes!<br>
&gt;<br>
&gt; </div></div></blockquote></div><br></div>