Skip to content

Instantly share code, notes, and snippets.

@ClobberXD

ClobberXD/make Secret

Created June 16, 2018 05:48
Show Gist options
  • Save ClobberXD/e0cb3f510912c2e99116f5425a972be8 to your computer and use it in GitHub Desktop.
Save ClobberXD/e0cb3f510912c2e99116f5425a972be8 to your computer and use it in GitHub Desktop.
TL-WN822N Driver compilation
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-22-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/core/rtw_cmd.o
In file included from /home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/include/osdep_service.h:47:0,
from /home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/include/drv_types.h:27,
from /home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/core/rtw_cmd.c:17:
/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/include/osdep_service_linux.h:299:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/include/osdep_service_linux.h:300:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/core/rtw_cmd.o' failed
make[2]: *** [/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1' failed
make[1]: *** [_module_/home/anand/TL-WN822N/rtl8192EU_linux_v5.2.19.1] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-22-generic'
Makefile:1828: recipe for target 'modules' failed
make: *** [modules] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment