[ewg] SLES12SP2 build error

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Fri Aug 25 14:15:27 PDT 2017


On 08/25/2017 11:56 PM, Jeff Becker wrote:
> Hi Vlad,
>
> OFED4.8-1 (including NFS/RDMA) builds fine on RHEL7.3. However, on 
> SLES12SP2, I get the error below. Note that the initial warning about 
> the extra CONFIG_QED token happens on RHEl7.3 as well.
>
> Thanks for your help.
>
> -jeff
>
> # ./configure --with-core-mod --with-user_mad-mod 
> --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod 
> --with-ipoib-mod --with-nfsrdma-mod
> # make
>

Hi Jeff,
I removed the extra CONFIG_QED yesterday. Please rebase your git branch.
To avoid compilation issue with Broadcom drivers add to your configure 
command: --without-bnxt_re-mod --without-bnxt_en-mod
They are still working on backports...

Regards,
Vladimir

> ...
>
>   CC [M] 
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o
> In file included from 
> /lib/modules/4.4.59-92.24-default/source/include/linux/kconfig.h:4:0,
>                  from <command-line>:0:
> /root/jcbecker/OFED4.8-1/compat-rdma/include/generated/autoconf.h:167:19: 
> warning: extra tokens at end of #undef directive [enabled by default]
>  #undef CONFIG_QED CONFIG_QED
>                    ^
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: 
> In function ‘bnxt_grxclsrule’:
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:550:18: 
> error: ‘struct flow_keys’ has no member named ‘ip_proto’
>          if (fkeys->ip_proto == IPPROTO_TCP)
>                   ^
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:552:23: 
> error: ‘struct flow_keys’ has no member named ‘ip_proto’
>          else if (fkeys->ip_proto == IPPROTO_UDP)
>                        ^
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:557:44: 
> error: ‘struct flow_keys’ has no member named ‘src’
>          fs->h_u.tcp_ip4_spec.ip4src = fkeys->src;
>                                             ^
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:560:44: 
> error: ‘struct flow_keys’ has no member named ‘dst’
>          fs->h_u.tcp_ip4_spec.ip4dst = fkeys->dst;
>                                             ^
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:563:42: 
> error: ‘struct flow_keys’ has no member named ‘port16’
>          fs->h_u.tcp_ip4_spec.psrc = fkeys->port16[0];
>                                           ^
> /root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:566:42: 
> error: ‘struct flow_keys’ has no member named ‘port16’
>          fs->h_u.tcp_ip4_spec.pdst = fkeys->port16[1];
>                                           ^
> /usr/src/linux-4.4.59-92.24/scripts/Makefile.build:259: recipe for 
> target 
> '/root/jcbecker/OFED4.8-1/compat-rdma/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.o' 
> failed
>




More information about the ewg mailing list