I was wondering wether someone managed to build ixgbe drivers for the current Proxmox 4.4.
When I try to build the driver, I get an error:
I was using ixgbe-5.1.3 on proxmox 4.4.62-1.
When I try to build the driver, I get an error:
Code:
make[1]: Entering directory '/usr/src/linux-headers-4.4.62-1-pve'
CC [M] /root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.o
In file included from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_osdep.h:38:0,
from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_type.h:66,
from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_dcb.h:28,
from /root/ixgbe/ixgbe-5.1.3/src/ixgbe.h:45,
from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.c:52:
/root/ixgbe/ixgbe-5.1.3/src/kcompat.h:5386:20: error: static declaration of ‘napi_consume_skb’ follows non-static declaration
static inline void napi_consume_skb(struct sk_buff *skb,
^
In file included from include/linux/if_ether.h:23:0,
from include/uapi/linux/ethtool.h:17,
from include/linux/ethtool.h:17,
from include/linux/netdevice.h:42,
from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.c:31:
include/linux/skbuff.h:2343:6: note: previous declaration of ‘napi_consume_skb’ was here
void napi_consume_skb(struct sk_buff *skb, int budget);
^
scripts/Makefile.build:258: recipe for target '/root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.o' failed
make[2]: *** [/root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.o] Error 1
Makefile:1420: recipe for target '_module_/root/ixgbe/ixgbe-5.1.3/src' failed
make[1]: *** [_module_/root/ixgbe/ixgbe-5.1.3/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.62-1-pve'
Makefile:107: recipe for target 'default' failed
make: *** [default] Error 2
I was using ixgbe-5.1.3 on proxmox 4.4.62-1.