Hab in dem Ordner lib/modules/ zwei Ordner: Einmal "4.4.27-2-default" und einmal "4.4.36-8-default". Der letztere enthält einen Ordner namens "Build", oder mehr gesagt einen Link. Der Ordner "4.4.27-2-default" hat keinen Ordner Namens "Build". Deswegen habe ich in diesem einen Link Namens "Build" auf den anderen Ordner gemacht.
Jetzt gibt er bei make folgendes an:
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.27-2-default/build M=/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver modules
make[1]: Entering directory '/usr/src/linux-4.4.36-8-obj/x86_64/default'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.o
In file included from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/drv_types.h:95:0,
from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:22:
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^
In file included from /usr/src/linux-4.4.36-8/include/linux/compat.h:15:0,
from /usr/src/linux-4.4.36-8/include/linux/ethtool.h:15,
from /usr/src/linux-4.4.36-8/include/linux/netdevice.h:42,
from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/osdep_service_linux.h:35,
from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/osdep_service.h:41,
from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/drv_types.h:32,
from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:22:
/usr/src/linux-4.4.36-8/include/linux/fs.h:2598:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^
In file included from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/drv_types.h:65:0,
from /home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:22:
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:3293:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:3296:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:3308:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:3311:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
^
/usr/src/linux-4.4.36-8/scripts/Makefile.build:259: recipe for target '/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.o' failed
make[4]: *** [/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver/core/rtw_cmd.o] Error 1
/usr/src/linux-4.4.36-8/Makefile:1428: recipe for target '_module_/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver' failed
make[3]: *** [_module_/home/elmo/Downloads/tplink_wlan/wlanlitarre/tplink/Driver] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.36-8-obj/x86_64/default'
Makefile:1696: recipe for target 'modules' failed
make: *** [modules] Error 2