<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Oops,I cannot find it ,just a kernel-headers-3.10.0-957.1.3.el7.x86_64.rpm there.</div><div>And another problem, My mirror container doesn't have this "cgcs-centos-repo" directory,</div><div>just :</div><div><div>[root@66343f53d70d pike]# ls</div><div>Binary downloads Source</div><div>[root@66343f53d70d pike]# pwd</div><div>/localdisk/output/stx-r1/CentOS/pike</div></div><div><br></div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>ÔÚ 2019-04-24 10:04:24£¬"Lin, Shuicheng" <shuicheng.lin@intel.com> дµÀ£º<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<style><!--
_font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
_font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
_font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
_font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:SimSun;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:SimSun;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
_page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Song,<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Do you have ¡°</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">4.9.86-30.el7.x86_64</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">¡±
package in your mirror?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[slin14@031aee5aad95 cgcs-centos-repo]$ find . -name "kernel*"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">./Source/kernel-rt-3.10.0-957.1.3.rt56.913.el7.src.rpm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">./Source/kernel-3.10.0-957.1.3.el7.src.rpm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">./Binary/x86_64/kernel-headers-3.10.0-957.1.3.el7.x86_64.rpm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Shuicheng<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gao.song [mailto:gaosong_1250@163.com]
<br>
<b>Sent:</b> Wednesday, April 24, 2019 9:41 AM<br>
<b>To:</b> Lin, Shuicheng <shuicheng.lin@intel.com><br>
<b>Cc:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> Re:Re: [Starlingx-discuss] Build ISO for stx 2019.05 ERROR with mlnx-ofa_kernel-4.5<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Thanks for your reply.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Is it build same version rpm package as mine in your env?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">It seems the program choose the version, where I can modify it<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">At 2019-04-24 08:46:24, "Lin, Shuicheng" <<a href="mailto:shuicheng.lin@intel.com">shuicheng.lin@intel.com</a>> wrote:<br>
<br>
<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Song,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I checked my local log, the difference is the kernel version.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">StarlingX uses CentOS 7.6, which kernel version is ¡°3.10.0-957.1.3.el7.1.tis.x86_64¡±, while in your log, it is ¡°</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">4.9.86-30.el7.x86_64</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">¡±.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Here is my configure in the log file:</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">./configure --build-dummy-mods --prefix=/usr --kernel-version 3.10.0-957.1.3.el7.1.tis.x86_64 --kernel-sources /usr/src/kernels/3.10.0-957.1.3.el7.1.tis.x86_64
--modules-dir /lib/modules/3.10.0-957.1.3.el7.1.tis.x86_64/extra/mlnx-ofa_kernel --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-mlxfw-mod --with-ipoib-mod -j8</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Shuicheng</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> gao.song [<a href="mailto:gaosong_1250@163.com">mailto:gaosong_1250@163.com</a>]
<br>
<b>Sent:</b> Tuesday, April 23, 2019 8:00 PM<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] Build ISO for stx 2019.05 ERROR with mlnx-ofa_kernel-4.5</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Hi folks:</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> Recently I am building ISO accroding to Building Guide stx.2019.05, But I encounter this error for the step building packages with mlnx_ofa_kernel-4.5, the
log can be found in the building container :</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> ./configure --build-dummy-mods --prefix=/usr --kernel-version 4.9.86-30.el7.x86_64 --kernel-sources /usr/src/kernels/4.9.86-30.el7.x86_64 --modules-dir /lib/modules/4.9.86-30.el7.x86_64/extra/mlnx-ofa_kernel
--with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-mlxfw-mod --with-ipoib-mod -j2</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">make[1]: Entering directory `/usr/src/kernels/4.9.86-30.el7.x86_64'</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> CC [M] /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/cls_flower.o</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> CC [M] /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/act_tunnel_key.o</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> CC [M] /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/main.o</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> CC [M] /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/kthread.o</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> CC [M] /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/drivers/infiniband/core/packer.o</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> CC [M] /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function '__skb_flow_dissect_tunnel_info':</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:205:2: warning: passing argument 1 of 'skb_tunnel_info' discards 'const'
qualifier from pointer target type [enabled by default]</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: info = skb_tunnel_info(skb);</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: ^</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: In file included from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/include/net/dst_metadata.h:5:0,</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:34:</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: include/net/dst_metadata.h:25:38: note: expected 'struct sk_buff *' but argument is of type 'const struct sk_buff *'</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb)</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: ^</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function 'backport___skb_flow_dissect':</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:607:11: error: dereferencing pointer to incomplete type</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: if (ops->flow_dissect &&</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: ^</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:608:12: error: dereferencing pointer to incomplete type</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: !ops->flow_dissect(skb, &proto, &offset)) {</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: ^</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: make[3]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o] Error 1</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: make[2]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat] Error 2</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Any help will be appreciated!</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:black"> <o:p></o:p></span></p>
<p><span style="color:black"> <o:p></o:p></span></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<p> <o:p></o:p></p>
</div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>