<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Yes, I followed the steps in the Building Guide doc,<a href="https://docs.starlingx.io/contributor/build_guides/latest/index.html," _src="https://docs.starlingx.io/contributor/build_guides/latest/index.html,">https://docs.starlingx.io/contributor/build_guides/latest/index.html,</a> </div><div>uname -a output is:</div><div>   Linux 2cb27d9f40b9 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2019-04-24 09:57:26, "Erich Cordoba" <erich.cm.lists@yandex.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi, <div><br></div><div>Are you running inside the container ? </div><div><br></div><div>What¡¯s the output of uname -a ?<br><br>--<br>Sent from Yandex.Mail for mobile<br><br>23.04.2019, 20:42, "gao.song" <gaosong_1250@163.com>:<br><blockquote><div style="color:#000000;font-family:'arial';font-size:14px;line-height:1.7"><div>Thanks for your reply.</div><div>Is it build same version rpm package as mine in your env?</div><div>It seems the program choose the version, where I can modify it</div><div><br></div><div><br></div>At <span class="177d5a4333ac019606de889e143743a1wmi-callto">2019-04-24 08</span>:46:24, "Lin, Shuicheng" <<a href="mailto:shuicheng.lin@intel.com">shuicheng.lin@intel.com</a>> wrote:<br> <blockquote id="b1cec01b414c18cb7337794d0d706431isReplyContent5e24bb6b3279675994fd46c6fea56fe0" style="border-left-color:#ccc;border-left-style:solid;border-left-width:1px;margin-bottom:0px;margin-left:0.8ex;margin-right:0px;margin-top:0px;padding-left:1ex">






<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><a name="8c49eb7b1f871f65bd4a879f72ec0e65_MailEndCompose00fdf9bdd5da1f5c6509edd4ccfdc6a9"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">Hi Song,</span></a></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">I checked my local log, the difference is the kernel version.</span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">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="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">4.9.86-30.el7.x86_64</span><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">¡±.</span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt"> </span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">Here is my configure in the log file:</span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">./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></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt"> </span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">Best Regards</span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt">Shuicheng</span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:#1f497d;font-family:'calibri' , sans-serif;font-size:11pt"> </span></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><b><span style="font-family:'calibri' , sans-serif;font-size:11pt">From:</span></b><span style="font-family:'calibri' , sans-serif;font-size:11pt"> gao.song [mailto:<a href="mailto:gaosong_1250@163.com">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></p>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"> </p>
<div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">Hi folks:</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">         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></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">         ./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></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt"> </span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">make[1]: Entering directory `/usr/src/kernels/4.9.86-30.el7.x86_64'</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/cls_flower.o</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/act_tunnel_key.o</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/main.o</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/kthread.o</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/drivers/infiniband/core/packer.o</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function '__skb_flow_dissect_tunnel_info':</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">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></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:   info = skb_tunnel_info(skb);</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:   ^</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: In file included from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/include/net/dst_metadata.h:5:0,</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:                  from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:34:</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: include/net/dst_metadata.h:25:38: note: expected 'struct sk_buff *' but argument is of type 'const struct sk_buff *'</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:  static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb)</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:                                       ^</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function 'backport___skb_flow_dissect':</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:607:11: error: dereferencing pointer to incomplete type</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:     if (ops->flow_dissect &&</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:            ^</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:608:12: error: dereferencing pointer to incomplete type</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:         !ops->flow_dissect(skb, &proto, &offset)) {</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR:             ^</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: make[3]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o] Error 1</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: make[2]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat] Error 2</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt"> </span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt">Any help will be appreciated!</span></p>
</div>
<div>
<p style="font-family:'simsun';font-size:12pt;margin-bottom:0.0001pt;margin-left:0in;margin-right:0in;margin-top:0in"><span style="color:black;font-family:'arial' , sans-serif;font-size:10.5pt"> </span></p>
</div>
</div>
<p style="margin-bottom:12pt"> </p>
<p> </p>
</div>


</blockquote></div><br><br><span title="neteasefooter"><p> </p></span><br><p>_______________________________________________<br>Starlingx-discuss mailing list<br><a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a><br><a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br></p></blockquote></div></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>