Проблема с установкой Alfa AWUS036NH в Lubuntu

Я пытаюсь установить драйверы, загруженные непосредственно с сайта Alfa для моей платы AWUS036NH. Когда я вхожу в команду «Sudo make», я получаю ошибки, перечисленные ниже. Я читал на этом сайте и многих других, но безрезультатно для решения для меня. Любая помощь была бы оценена по достоинству!

Также в соответствии с руководством, включенным в драйверы, сказано, чтобы извлечь «RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2». Этот файл не находится в архиве, поэтому вместо этого я использовал «DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz2». Я обязательно загрузил правильные драйверы и даже попытался их переустановить. Спасибо за любую помощь!

user@user-49:~/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022$ sudo make make -C tools make[1]: Entering directory '/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory '/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools' /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools/bin2h cp -f os/linux/Makefile.6 /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/Makefile make -C /lib/modules/4.10.0-33-generic/build SUBDIRS=/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.10.0-33-generic' CC [M] /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.o /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c: In function ‘RtmpPrepareHwNullFrame’: /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:3142:34: error: passing argument 2 of ‘hex_dump’ from incompatible pointer type [-Werror=incompatible-pointer-types] hex_dump("null frame before", &longValue, 4); ^ In file included from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rt_config.h:66:0, from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:28: /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rt_os_util.h:679:6: note: expected ‘unsigned char *’ but argument is of type ‘UINT32 * {aka unsigned int *}’ void hex_dump(char *str, unsigned char *pSrcBufVA, unsigned int SrcBufLen); ^~~~~~~~ In file included from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rtmp_os.h:44:0, from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rtmp_comm.h:69, from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rt_config.h:33, from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:28: /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/os/rt_linux.h:787:29: warning: passing argument 2 of ‘RTUSBReadMACRegister’ makes integer from pointer without a cast [-Wint-conversion] RTUSBReadMACRegister((_A), (_R), (PUINT32) (_pV)) ^ /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:3150:4: note: in expansion of macro ‘RTMP_IO_READ32’ RTMP_IO_READ32(pAd, pAd->NullBufOffset + TXWISize+ i, &longValue); ^~~~~~~~~~~~~~ In file included from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rt_config.h:61:0, from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:28: /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rtmp.h:7214:10: note: expected ‘USHORT {aka short unsigned int}’ but argument is of type ‘USHORT * {aka short unsigned int *}’ NTSTATUS RTUSBReadMACRegister( ^~~~~~~~~~~~~~~~~~~~ /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:3151:33: error: passing argument 2 of ‘hex_dump’ from incompatible pointer type [-Werror=incompatible-pointer-types] hex_dump("null frame after", &longValue, 4); ^ In file included from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rt_config.h:66:0, from /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:28: /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/include/rt_os_util.h:679:6: note: expected ‘unsigned char *’ but argument is of type ‘UINT32 * {aka unsigned int *}’ void hex_dump(char *str, unsigned char *pSrcBufVA, unsigned int SrcBufLen); ^~~~~~~~ /home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.c:3021:8: warning: unused variable ‘MlmeRate’ [-Wunused-variable] UCHAR MlmeRate; ^~~~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:294: recipe for target '/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.o' failed make[2]: *** [/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/cmm_data.o] Error 1 Makefile:1524: recipe for target '_module_/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux' failed make[1]: *** [_module_/home/user/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-33-generic' Makefile:388: recipe for target 'LINUX' failed make: *** [LINUX] Error 2

«lsusb» через командную строку приводит к следующему:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 064e:d251 Suyin Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0
задан 30 August 2017 в 17:33

0 ответов

Другие вопросы по тегам:

Похожие вопросы: