Код: Выделить всё
aston@aston-HP:~/Загрузки/rtl8723de$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-20-generic/build M=/home/aston/Загрузки/rtl8723de modules
make[1]: вход в каталог «/usr/src/linux-headers-4.15.0-20-generic»
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_cmd.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_security.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_debug.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_io.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_ioctl_query.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_ioctl_set.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_ieee80211.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_mlme.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_mlme_ext.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_mi.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_wlan_util.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_vht.o
CC [M] /home/aston/Загрузки/rtl8723de/core/rtw_pwrctrl.o
In file included from ./include/linux/kernel.h:10:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /home/aston/Загрузки/rtl8723de/include/basic_types.h:81,
from /home/aston/Загрузки/rtl8723de/include/drv_types.h:31,
from /home/aston/Загрузки/rtl8723de/core/rtw_pwrctrl.c:22:
/home/aston/Загрузки/rtl8723de/core/rtw_pwrctrl.c: In function ‘pwr_state_check_handler’:
./include/linux/compiler.h:328:38: error: call to ‘__compiletime_assert_398’ declared with attribute error: pointer type mismatch in container_of()
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/compiler.h:308:4: note: in definition of macro ‘__compiletime_assert’
prefix ## suffix(); \
^~~~~~
./include/linux/compiler.h:328:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:47:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:947:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
./include/linux/timer.h:144:2: note: in expansion of macro ‘container_of’
container_of(callback_timer, typeof(*var), timer_fieldname)
^~~~~~~~~~~~
/home/aston/Загрузки/rtl8723de/core/rtw_pwrctrl.c:398:37: note: in expansion of macro ‘from_timer’
struct pwrctrl_priv *pwrctrlpriv = from_timer(pwrctrlpriv, t, pwr_state_check_timer);
^~~~~~~~~~
scripts/Makefile.build:332: recipe for target '/home/aston/Загрузки/rtl8723de/core/rtw_pwrctrl.o' failed
make[2]: *** [/home/aston/Загрузки/rtl8723de/core/rtw_pwrctrl.o] Error 1
Makefile:1552: recipe for target '_module_/home/aston/Загрузки/rtl8723de' failed
make[1]: *** [_module_/home/aston/Загрузки/rtl8723de] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-4.15.0-20-generic»
Makefile:1884: recipe for target 'modules' failed
make: *** [modules] Error 2