[Starlingx-discuss] Build ISO for stx 2019.05 ERROR with mlnx-ofa_kernel-4.5

gao.song gaosong_1250 at 163.com
Tue Apr 23 12:00:00 UTC 2019


Hi folks:
         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 :
         ./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


make[1]: Entering directory `/usr/src/kernels/4.9.86-30.el7.x86_64'
  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/cls_flower.o
  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/net/sched/act_tunnel_key.o
  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/main.o
  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/kthread.o
  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/drivers/infiniband/core/packer.o
  CC [M]  /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o
BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function '__skb_flow_dissect_tunnel_info':
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]
BUILDSTDERR:   info = skb_tunnel_info(skb);
BUILDSTDERR:   ^
BUILDSTDERR: In file included from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/include/net/dst_metadata.h:5:0,
BUILDSTDERR:                  from /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:34:
BUILDSTDERR: include/net/dst_metadata.h:25:38: note: expected 'struct sk_buff *' but argument is of type 'const struct sk_buff *'
BUILDSTDERR:  static inline struct ip_tunnel_info *skb_tunnel_info(struct sk_buff *skb)
BUILDSTDERR:                                       ^
BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c: In function 'backport___skb_flow_dissect':
BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:607:11: error: dereferencing pointer to incomplete type
BUILDSTDERR:     if (ops->flow_dissect &&
BUILDSTDERR:            ^
BUILDSTDERR: /builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.c:608:12: error: dereferencing pointer to incomplete type
BUILDSTDERR:         !ops->flow_dissect(skb, &proto, &offset)) {
BUILDSTDERR:             ^
BUILDSTDERR: make[3]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat/flow_dissector.o] Error 1
BUILDSTDERR: make[2]: *** [/builddir/build/BUILD/mlnx-ofa_kernel-4.5/obj/default/compat] Error 2
BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....


Any help will be appreciated!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190423/887138a9/attachment.html>


More information about the Starlingx-discuss mailing list