0 Replies Latest reply on Dec 17, 2014 1:53 PM by mmarkert@paloaltonetworks.com

    ConnectX-3 Pro BSD driver build fails

      I am trying to install a ConnectX-3 Pro in a BSD system. I rebuilt and installed the new kernel but when I try to build the modules I always fail the "make && make install" - for the mlx4 module I get:

       

      /tmp/MLNX_EN_FreeBSD_v2.1/modules/mlx4/../../ofed/drivers/net/mlx4/mcg.c:43:17: error: unused variable

            'zero_gid' [-Werror,-Wunused-const-variable]

      static const u8 zero_gid[16];   /* automatically initialized to 0 */

                      ^

      1 error generated.

      *** Error code 1

       

      For the mlxen module I get:

       

      /tmp/MLNX_EN_FreeBSD_v2.1/modules/mlxen/../../ofed/drivers/net/mlx4/en_netdev.c:1694:19: error: unused

            variable 'fmt_u64' [-Werror,-Wunused-const-variable]

      static const char fmt_u64[] = "%llu\n";

                        ^

      1 error generated.

      *** Error code 1

       

      Stop.

       

      This is with BSD 10.1 and the "MLNX_EN_FreeBSD_v2.1" tarball.