I am trying to build the network driver for Intel X710-da2, which can be downloaded here on FreeBSD 9.3.
I followed the Intel README but nevertheless I retrieve the following compile error after running the make command:
Warning: Object directory not changed from original /usr/home/miadmin/ix-2.8.2/src
cc -O2 -pipe -DSMP -DIXGBE_FDIR -DINET -DINET6 -DIXGBE_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c if_ix.c
cc1: warnings being treated as errors
if_ix.c:208: warning: redundant redeclaration of 'ixgbe_stop_mac_link_on_d3_82599' [-Wredundant-decls]
ixgbe_common.h:168: warning: previous declaration of 'ixgbe_stop_mac_link_on_d3_82599' was here
if_ix.c: In function 'ixgbe_setup_interface':
if_ix.c:2560: warning: integer overflow in expression [-Woverflow]
if_ix.c:2560: warning: overflow in implicit constant conversion [-Woverflow]
if_ix.c:2600: error: 'IFCAP_HWSTATS' undeclared (first use in this function)
if_ix.c:2600: error: (Each undeclared identifier is reported only once
if_ix.c:2600: error: for each function it appears in.)
*** [if_ix.o] Error code 1
What might be the problem for these errors?
My final goal is it to compile the driver in order to integrate it (later on, as described here) in my FreeNAS 9.3 environment since the integrated driver has issues (Bug #9117) with the X710-da2 network card.
Thank in advance for any kind of help.