I tried after installing upstream kernel, and the error is the same:
j.calero@pckoon:~/Downloads/r8168-8.045.08$ sudo ./autorun.sh
[sudo] password for j.calero:
Check old driver and unload it.
Build the module and install
Makefile:938: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
/home/j.calero/Downloads/r8168-8.045.08/src/r8168_n.c: In function ‘rtl8168_request_esd_timer’:
/home/j.calero/Downloads/r8168-8.045.08/src/r8168_n.c:22967:9: error: implicit declaration of function ‘setup_timer’ [-Werror=implicit-function-declaration] setup_timer(timer, rtl8168_esd_timer, (unsigned long)dev);
^
cc1: some warnings being treated as errors
make[3]: *** [/home/j.calero/Downloads/r8168-8.045.08/src/r8168_n.o] Error 1
make[2]: *** [_module_/home/j.calero/Downloads/r8168-8.045.08/src] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
I tried after installing upstream kernel, and the error is the same:
j.calero@ pckoon: ~/Downloads/ r8168-8. 045.08$ sudo ./autorun.sh
[sudo] password for j.calero:
Check old driver and unload it. STACK_VALIDATIO N=y, please install libelf-dev, libelf-devel or elfutils- libelf- devel" calero/ Downloads/ r8168-8. 045.08/ src/r8168_ n.c: In function ‘rtl8168_ request_ esd_timer’ : calero/ Downloads/ r8168-8. 045.08/ src/r8168_ n.c:22967: 9: error: implicit declaration of function ‘setup_timer’ [-Werror= implicit- function- declaration]
setup_ timer(timer, rtl8168_esd_timer, (unsigned long)dev); j.calero/ Downloads/ r8168-8. 045.08/ src/r8168_ n.o] Error 1 /home/j. calero/ Downloads/ r8168-8. 045.08/ src] Error 2
Build the module and install
Makefile:938: "Cannot use CONFIG_
/home/j.
/home/j.
^
cc1: some warnings being treated as errors
make[3]: *** [/home/
make[2]: *** [_module_
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
j.calero@ pckoon: ~/Downloads/ r8168-8. 045.08$ uname -r 041800rc5- generic
4.18.0-