Hi, Looks like a bug with the latest stable Linux kernel and e1000e driver, as I've set -Wno-error which didn't suppress this. By the way, I've always have to set fno-pie in order to build e1000e since the last few versions. Here's more on the changes to timer interface: https://lkml.org/lkml/2017/11/25/90. It should be easy for Intel to update. Here's my log:
make -C /lib/modules/4.15.0-1-amd64/source CC=gcc O=/lib/modules/4.15.0-1-amd64/build SUBDIRS=/home/kevin/dev/e1000e-3.4.0.2/src modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-1-common' make[2]: Entering directory '/usr/src/linux-headers-4.15.0-1-amd64' CC [M] /home/kevin/dev/e1000e-3.4.0.2/src/netdev.o /home/kevin/dev/e1000e-3.4.0.2/src/netdev.c: In function ‘e1000_probe’: /home/kevin/dev/e1000e-3.4.0.2/src/netdev.c:8344:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration] init_timer(&adapter->watchdog_timer); ^~~~~~~~~~ init_timers /home/kevin/dev/e1000e-3.4.0.2/src/netdev.c:8345:35: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] adapter->watchdog_timer.function = e1000_watchdog; ^ /home/kevin/dev/e1000e-3.4.0.2/src/netdev.c:8346:25: error: ‘struct timer_list’ has no member named ‘data’ adapter->watchdog_timer.data = (unsigned long)adapter; ^ /home/kevin/dev/e1000e-3.4.0.2/src/netdev.c:8349:35: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] adapter->phy_info_timer.function = e1000_update_phy_info; ^ /home/kevin/dev/e1000e-3.4.0.2/src/netdev.c:8350:25: error: ‘struct timer_list’ has no member named ‘data’ adapter->phy_info_timer.data = (unsigned long)adapter; ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:321: recipe for target '/home/kevin/dev/e1000e-3.4.0.2/src/netdev.o' failed make[3]: *** [/home/kevin/dev/e1000e-3.4.0.2/src/netdev.o] Error 1 /usr/src/linux-headers-4.15.0-1-common/Makefile:1523: recipe for target '_module_/home/kevin/dev/e1000e-3.4.0.2/src' failed make[2]: *** [_module_/home/kevin/dev/e1000e-3.4.0.2/src] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-1-amd64' Makefile:146: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-1-common' Makefile:275: recipe for target 'default' failed make: *** [default] Error 2 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired