Comment 5 for bug 1780654

Revision history for this message
Juan Calero (juanitocalero) wrote :

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

j.calero@pckoon:~/Downloads/r8168-8.045.08$ uname -r
4.18.0-041800rc5-generic