Короче, давайте на месте решим вот, что: Я признаю себя тупым школьником и быдлом, скачавший кали линукс имея руки из задницы которыми даже гуглить нельзя, и вообще, все вы знакомы с моей матерью лучше меня и моего отца.
С этим разобрались. Предыстория вот какая, я купил у китайца адаптер Alfa AWUS036NH но дрова стоят 2008 года. При попытке установки, выдаёт ошибку. Я гуглил проблему но ответа так и не смог найти, надеюсь на помощь форума. Я бы не стал сюда писать сюда, и размусоливать эту тему, если бы всё небыло так плохо
==================================================================================================================================
: Entering directory '/root/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory '/root/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools' /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools/bin2h cp -f os/linux/Makefile.6 /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/Makefile make -C /lib/modules/4.19.0-kali1-amd64/build SUBDIRS=/root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali1-amd64' CC [M] /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_init.o /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_init.c: In function ‘RTMPCancelTimer’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_init.c:3889:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (pTimer->State == FALSE) ^~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../common/rtmp_init.c:3891:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ RTMP_OS_Del_Timer(&pTimer->TimerObj, pCancelled); ^~~~~~~~~~~~~~~~~ CC [M] /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.o /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RTMP_OS_Init_Timer’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:126:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration] init_timer(pTimer); ^~~~~~~~~~ init_timers /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:127:11: error: ‘NDIS_MINIPORT_TIMER’ {aka ‘struct timer_list’} has no member named ‘data’ pTimer->data = (unsigned long)data; ^~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:128:22: error: assignment to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘TIMER_FUNCTION’ {aka ‘void (*)(long unsigned int)’} [-Werror=incompatible-pointer-types] pTimer->function = function; ^ In file included from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_config.h:51, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:28: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:563:21: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion] NdisMoveMemory(skb->tail, pHeader802_3, HdrLen); ~~~^~~~~~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_linux.h:804:61: note: in definition of macro ‘NdisMoveMemory’ #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length) ^~~~~~~~~~~ In file included from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/bitmap.h:9, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/cpumask.h:12, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/cpumask.h:5, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/msr.h:11, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/processor.h:21, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/thread_info.h:38, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/preempt.h:81, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/spinlock.h:51, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/seqlock.h:36, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/time.h:6, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/stat.h:19, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/module.h:10, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_linux.h:44, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_config.h:51, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:28: /usr/src/linux-headers-4.19.0-kali1-common/include/linux/string.h:348:38: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’ {aka ‘unsigned int’} __FORTIFY_INLINE void *memmove(void *p, const void *q, __kernel_size_t size) ~~~~~~^ In file included from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_config.h:51, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:28: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:565:21: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion] NdisMoveMemory(skb->tail, pData, DataSize); ~~~^~~~~~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_linux.h:804:61: note: in definition of macro ‘NdisMoveMemory’ #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length) ^~~~~~~~~~~ In file included from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/bitmap.h:9, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/cpumask.h:12, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/cpumask.h:5, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/msr.h:11, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/processor.h:21, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/thread_info.h:38, from /usr/src/linux-headers-4.19.0-kali1-common/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/preempt.h:81, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/spinlock.h:51, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/seqlock.h:36, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/time.h:6, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/stat.h:19, from /usr/src/linux-headers-4.19.0-kali1-common/include/linux/module.h:10, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_linux.h:44, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_config.h:51, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:28: /usr/src/linux-headers-4.19.0-kali1-common/include/linux/string.h:348:38: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’ {aka ‘unsigned int’} __FORTIFY_INLINE void *memmove(void *p, const void *q, __kernel_size_t size) ~~~~~~^ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:649:23: warning: assignment to ‘sk_buff_data_t’ {aka ‘unsigned int’} from ‘unsigned char *’ makes integer from pointer without a cast [-Wint-conversion] pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len; ^ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:671:15: warning: assignment to ‘sk_buff_data_t’ {aka ‘unsigned int’} from ‘unsigned char *’ makes integer from pointer without a cast [-Wint-conversion] pOSPkt->tail = pOSPkt->data + pOSPkt->len; ^ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:691:15: warning: assignment to ‘sk_buff_data_t’ {aka ‘unsigned int’} from ‘unsigned char *’ makes integer from pointer without a cast [-Wint-conversion] pOSPkt->tail = pOSPkt->data + pOSPkt->len; ^ In file included from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_config.h:51, from /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:28: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:898:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, («%s : Size is too large! (%d)\n», __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/include/rt_linux.h:365:16: note: in definition of macro ‘DBGPRINT_RAW’ printk Fmt; \ ^~~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:898:9: note: in expansion of macro ‘DBGPRINT’ DBGPRINT(RT_DEBUG_ERROR, («%s : Size is too large! (%d)\n», __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header))); ^~~~~~~~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:1018:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (rate_index > 255) ^~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:1021:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ ph->rate.did = DIDmsg_lnxind_wlansniffrm_rate; ^~ /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘rtmp_os_thread_init’: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.c:1051:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration] daemonize(pThreadName /*«%s»,pAd->net_dev->name*/); ^~~~~~~~~
: *** [/usr/src/linux-headers-4.19.0-kali1-common/scripts/Makefile.build:309: /root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.o] Error 1 make[3]: *** [/usr/src/linux-headers-4.19.0-kali1-common/Makefile:1532: _module_/root/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux] Error 2 make[2]: *** [Makefile:146: sub-make] Error 2 make[1]: *** [Makefile:8: all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali1-amd64' make: *** [Makefile:144: LINUX] Error 2
===========================================================================================
Другие драйвера выдают подобну ошибку, спАсИте пАмАгИтЕ!!11