Autor Tópico: Problema Adaptador D-LINK DWA 125  (Lida 2238 vezes)

Offline marco1993

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
Problema Adaptador D-LINK DWA 125
« Online: 24 de Outubro de 2015, 12:38 »
Olá pessoal estou migrando para o ubuntu, porém estou com dificuldade em realizar a instalação do driver do adaptador Wireless D-LINK DWA 125 rev A1.

Já tentei de tudo e não tive sucesso..

Baixei o driver no próprio site do fabricante.

http://ftp.dlink.ru/pub/Wireless/DWA-125/Drivers/rev.A/Linux/

Porém não consigo fazer a instalação está dando erro...
não consigo realizar o make..

o erro que apresenta é o seguinte:

Código: [Selecionar]
r oot@ubuntu:/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0# ls
chips    iwpriv_usage.txt  README_STA_usb     RT2870STA.dat             tools
common   Makefile          README.txt         sta
include  os                RT2870STACard.dat  sta_ate_iwpriv_usage.txt
root@ubuntu:/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0# make
make -C tools
make[1]: Entering directory '/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/tools'
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/Makefile
make  -C  /lib/modules/4.2.0-16-generic/build SUBDIRS=/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-16-generic'
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_md5.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/crypt_md5.h:48,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_md5.c:27:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/crypt_md5.h:48,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_md5.c:27:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_sha2.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/crypt_sha2.h:49,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_sha2.c:27:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/crypt_sha2.h:49,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_sha2.c:27:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_hmac.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/crypt_hmac.h:47,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_hmac.c:27:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/crypt_hmac.h:47,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/crypt_hmac.c:27:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.c:39:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.c:39:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.c:4004:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined [-Wsequence-point]
                     Tab->BssOverlapNr = (Tab->BssOverlapNr++) % MAX_LEN_OF_BSS_
                                       ^
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/mlme.c:4408:1: warning: the frame size of 1584 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/cmm_wep.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/cmm_wep.c:38:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/cmm_wep.c:38:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/action.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/action.c:39:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/action.c:39:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/cmm_data.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/cmm_data.c:38:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/cmm_data.c:38:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
  CC [M]  /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.o
In file included from include/linux/kobject.h:21:0,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.c:37:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:496:37: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/sysfs.h:15:0,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:17,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/os/rt_linux.h:40,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp_os.h:42,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:44,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.c:37:
include/linux/kernfs.h:424:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.c: In function ‘RtmpRaDevCtrlInit’:
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.c:3710:2: error: implicit declaration of function ‘init_MUTEX’ [-Werror=implicit-function-declaration]
  init_MUTEX(&(pAd->UsbVendorReq_semaphore));
  ^
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.c:3711:20: warning: passing argument 2 of ‘os_alloc_mem’ from incompatible pointer type [-Wincompatible-pointer-types]
  os_alloc_mem(pAd, (PUCHAR)&pAd->UsbVendorReqBuf, MAX_PARAM_BUFFER_SIZE - 1);
                    ^
In file included from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rt_config.h:57:0,
                 from /home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.c:37:
/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/include/rtmp.h:5707:13: note: expected ‘UCHAR ** {aka unsigned char **}’ but argument is of type ‘UCHAR * {aka unsigned char *}’
 NDIS_STATUS os_alloc_mem(
             ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.o' failed
make[2]: *** [/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux/../../common/rtmp_init.o] Error 1
Makefile:1398: recipe for target '_module_/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux' failed
make[1]: *** [_module_/home/ubuntu/Desktop/2009_1204_RT3070_Linux_STA_v2.1.2.0/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-16-generic'
Makefile:154: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2


Obrigado
« Última modificação: 24 de Outubro de 2015, 13:39 por marco1993 »