注册 登录
编程论坛 Ubuntu

Ralink雷凌RT2870的USB网卡,在UBUNTU下 怎么安装驱动啊?

石世荣 发布于 2014-12-20 23:40, 5662 次点击
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/ssr/桌面/新建文件夹/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.o' failed
make[2]: *** [/home/ssr/桌面/新建文件夹/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.o] Error 1
Makefile:1345: recipe for target '_module_/home/ssr/桌面/新建文件夹/RT2870_LinuxSTA_V2.3.0.0/os/linux' failed
make[1]: *** [_module_/home/ssr/桌面/新建文件夹/RT2870_LinuxSTA_V2.3.0.0/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:185: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2


RT的USB无线网卡,NeoKylin的ubuntu,有人遇到过没?新手求助啊。在chinaunix论坛那边问过http://bbs.没人回答。
os/linux/config.mk 的HAS_WPA_SUPPLICANT=y ,HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y这些都是弄了的


后来又重新去找了一个来编译的也是要报:

/home/ssr/桌面/新建文件夹/WODE官方/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*/);
  ^

cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/ssr/桌面/新建文件夹/WODE官方/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.o' failed
make[2]: *** [/home/ssr/桌面/新建文件夹/WODE官方/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/../../os/linux/rt_linux.o] Error 1
Makefile:1345: recipe for target '_module_/home/ssr/桌面/新建文件夹/WODE官方/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux' failed
make[1]: *** [_module_/home/ssr/桌面/新建文件夹/WODE官方/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:143: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
0 回复
1