[SOLVED] Can't compile Intel NIC driver

Jerome Haynes

New Member
Jan 20, 2017
24
0
1
28
Hi,

I can't compile Intel e1000e drivers on proxmox, any help would be appreciated. Here is the error I get:

Code:
root@mediaserver:~/e1000e-3.3.5.3/src# make install
make -C /lib/modules/4.4.44-1-pve/build CC=gcc SUBDIRS=/root/e1000e-3.3.5.3/src                                                                                         modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.44-1-pve'
  CC [M]  /root/e1000e-3.3.5.3/src/netdev.o
In file included from /root/e1000e-3.3.5.3/src/e1000.h:32:0,
                 from /root/e1000e-3.3.5.3/src/netdev.c:48:
/root/e1000e-3.3.5.3/src/kcompat.h:5152:20: error: static declaration of ‘napi_c                                                                                        onsume_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/e1000e-3.3.5.3/src/netdev.c:31:
include/linux/skbuff.h:2346: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/e1000e-3.3.5.3/src/netdev.o                                                                                        ' failed
make[2]: *** [/root/e1000e-3.3.5.3/src/netdev.o] Error 1
Makefile:1420: recipe for target '_module_/root/e1000e-3.3.5.3/src' failed
make[1]: *** [_module_/root/e1000e-3.3.5.3/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.44-1-pve'
Makefile:255: recipe for target 'default' failed
make: *** [default] Error 2
root@mediaserver:~/e1000e-3.3.5.3/src#


Thank You.
Kind Regards,
Jerome Haynes
 
Why do you would like to compile? This driver is in kernel?
Because the second NIC I have (The one I'm trying to compile a driver for) isn't showing up as active. I can see the green light blinking so it's definitely plugged in correctly. Makes me think that maybe there's a driver issue?
 
I'm getting a 404 for that link?

Edit: Updating to latest proxmox beta fixed this.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!