首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >rt2870.o/rt2870.ko usb无线adupter安装问题

rt2870.o/rt2870.ko usb无线adupter安装问题
EN

Stack Overflow用户
提问于 2015-12-20 18:25:15
回答 1查看 1.3K关注 0票数 1

我使用的是最新版本的parrot。我想安装/使用纳米适配器(802.11n) USB

我尝试了几种方法,但我没有通过试1

在尝试之后,我找不到其他方法来请求帮助--我在使用make && make 时遇到了以下错误

代码语言:javascript
复制
└──╼ #sudo make && make install
make -C tools
make[1]: Entering directory '/home/ano/Downloads/linux/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/ano/Downloads/linux/tools'
/home/ano/Downloads/linux/tools/bin2h
cp -f os/linux/Makefile.6 /home/ano/Downloads/linux/os/linux/Makefile
make -C /lib/modules/4.1.8-parrot-686-pae/build SUBDIRS=/home/ano/Downloads/linux/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.1.8-parrot-686-pae'
  CC [M]  /home/ano/Downloads/linux/os/linux/../../os/linux/rt_profile.o
/home/ano/Downloads/linux/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/ano/Downloads/linux/os/linux/../../os/linux/rt_profile.c:331:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/assoc.o
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/auth.o
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/sync.o
/home/ano/Downloads/linux/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/ano/Downloads/linux/os/linux/../../sta/sync.c:2180:12: warning: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type
            ie_list,
            ^
In file included from /home/ano/Downloads/linux/include/rt_config.h:59:0,
                 from /home/ano/Downloads/linux/os/linux/../../sta/sync.c:28:
/home/ano/Downloads/linux/include/rtmp.h:7892:9: note: expected ‘struct IE_LISTS *’ but argument is of type ‘struct BCN_IE_LIST *’
 BOOLEAN StaAddMacTableEntry(
         ^
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/sanity.o
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.o
/home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.c:523:33: warning: passing argument 2 of ‘MacTableLookup’ from incompatible pointer type
    pEntry = MacTableLookup(pAd, &pHeader->Addr2);
                                 ^
In file included from /home/ano/Downloads/linux/include/rt_config.h:59:0,
                 from /home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.c:28:
/home/ano/Downloads/linux/include/rtmp.h:8429:18: note: expected ‘UCHAR *’ but argument is of type ‘UCHAR (*)[6]’
 MAC_TABLE_ENTRY *MacTableLookup(RTMP_ADAPTER *pAd, UCHAR *pAddr);
                  ^
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/connect.o
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/wpa.o
  CC [M]  /home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.o
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlRF’:
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5306:7: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘LONG’ [-Wformat=]
       sprintf(msg+strlen(msg), "BANK%d_R%02d:%02X  ", bank_Id, rfId, rfValue);
       ^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5359:27: warning: passing argument 2 of ‘RtmpDrvAllRFPrint’ from incompatible pointer type
   RtmpDrvAllRFPrint(NULL, msg, strlen(msg));
                           ^
In file included from /home/ano/Downloads/linux/include/rt_config.h:64:0,
                 from /home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:28:
/home/ano/Downloads/linux/include/rt_os_util.h:668:6: note: expected ‘UINT32 *’ but argument is of type ‘PSTRING’
 VOID RtmpDrvAllRFPrint(
      ^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5209:22: warning: unused variable ‘rf_bank’ [-Wunused-variable]
  UCHAR    regRF = 0, rf_bank = 0;
                      ^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5766:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
             snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
                                                                                     ^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5766:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
             snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
                                                                                               ^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwgenie’:
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:7610:13: warning: assignment from incompatible pointer type
     eid_ptr = pAd->StaCfg.pWpaAssocIe;
             ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1384: recipe for target '_module_/home/ano/Downloads/linux/os/linux' failed
make[1]: *** [_module_/home/ano/Downloads/linux/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.1.8-parrot-686-pae'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

能帮我查一下吗.

EN

回答 1

Stack Overflow用户

发布于 2016-01-30 14:23:33

我在一个新的Debian安装上也犯了这个错误,尽管我之前几次能够完美地完成这个驱动程序。

当我按照驱动程序文件夹中包含的自述文件编辑os/linux/config.mk文件时,出现了一些问题,但是考虑到日期和时间函数,出现了一些新的问题。

我发现解决方案是安装包固件-罗林克,其中也包含您的USB的驱动程序。

在我的Debian安装中,它说固件-罗林克包现在包含在固件-非免费包中。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34384298

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档