<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><br><br>Or, Can I just skip this rpm cause it's probably not will be used ?<br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><div id="isForwardContent">-------- Forwarding messages --------<br>From: "gao.song" <gaosong_1250@163.com><br>Date: 2019-04-23 20:00:00<br>To:  starlingx-discuss@lists.starlingx.io<br>Subject: Build ISO for stx 2019.05 ERROR  with mlnx-ofa_kernel-4.5<br><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi folks:</div><div>         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 :</div><div>         ./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</div><div><br></div><div>make[1]: Entering directory `/usr/src/kernels/4.9.86-30.el7.x86_64'</div><div>  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/cls_flower.o</div><div>  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/act_tunnel_key.o</div><div>  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/main.o</div><div>  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/kthread.o</div><div>  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/drivers/infiniband/core/packer.o</div><div>  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o</div><div>BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function '__skb_flow_dissect_tunnel_info':</div><div>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]</div><div>BUILDSTDERR:   info = skb_tunnel_info(skb);</div><div>BUILDSTDERR:   ^</div><div>BUILDSTDERR: In file included from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/include/net/dst_metadata.h:5:0,</div><div>BUILDSTDERR:                  from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:34:</div><div>BUILDSTDERR: include/net/dst_metadata.h:25:38: note: expected 'struct sk_buff *' but argument is of type 'const struct sk_buff *'</div><div>BUILDSTDERR:  static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb)</div><div>BUILDSTDERR:                                       ^</div><div>BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function 'backport___skb_flow_dissect':</div><div>BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:607:11: error: dereferencing pointer to incomplete type</div><div>BUILDSTDERR:     if (ops->flow_dissect &&</div><div>BUILDSTDERR:            ^</div><div>BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:608:12: error: dereferencing pointer to incomplete type</div><div>BUILDSTDERR:         !ops->flow_dissect(skb, &proto, &offset)) {</div><div>BUILDSTDERR:             ^</div><div>BUILDSTDERR: make[3]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o] Error 1</div><div>BUILDSTDERR: make[2]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat] Error 2</div><div>BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....</div><div><br></div><div>Any help will be appreciated!</div><div><br></div></div><br><br><span title="neteasefooter"><p> </p></span></div></div><br><br><span title="neteasefooter"><p> </p></span>