如何安装USB无线网卡的驱动(有Linux驱动包)

编译打包和其他
头像
mkailxr
帖子: 62
注册时间: 2009-10-20 13:13

Re: 如何安装USB无线网卡的驱动(有Linux驱动包)

#16

帖子 mkailxr » 2011-11-25 21:38

小弟实在无奈了 基础知识不好
但现在迫切需要网络

路过的帮帮忙吧
头像
youqika
帖子: 720
注册时间: 2008-09-25 20:56

Re: 如何安装USB无线网卡的驱动(有Linux驱动包)

#17

帖子 youqika » 2011-11-25 21:56

编译了一下,没过,写代码的人还真是蛋疼,各种不规范

代码: 全选

make[1]: Entering directory `/usr/src/linux-3.0-ARCH'
  CC [M]  2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.o
2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c: In function ‘RtmpRaDevCtrlInit’:
2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c:3709:2: error: implicit declaration of function ‘init_MUTEX’ [-Werror=implicit-function-declaration]
2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c:3710:2: warning: passing argument 2 of ‘os_alloc_mem’ from incompatible pointer type [enabled by default]
2009_0525_RT3070_Linux_STA_v2.1.1.0/include/rtmp.h:5687:13: note: expected ‘UCHAR **’ but argument is of type ‘UCHAR *’
cc1: some warnings being treated as errors #警告当错误处理了,lz改我之前发的那个文件的代码后还得改下makefile,-Werror之类的
UCHIHA
运气是为白痴准备的
supernan
帖子: 690
注册时间: 2007-10-29 10:58

Re: 如何安装USB无线网卡的驱动(有Linux驱动包)

#18

帖子 supernan » 2011-11-26 14:10

我告诉你USB无线网卡无论如何比不上PCI的!我用了一年多!最近换回PCI无线网卡了!只能看网页!下东西一会儿就不能用了!
头像
mkailxr
帖子: 62
注册时间: 2009-10-20 13:13

Re: 如何安装USB无线网卡的驱动(有Linux驱动包)

#19

帖子 mkailxr » 2011-11-26 17:42

youqika 写了:编译了一下,没过,写代码的人还真是蛋疼,各种不规范

代码: 全选

make[1]: Entering directory `/usr/src/linux-3.0-ARCH'
  CC [M]  2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.o
2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c: In function ‘RtmpRaDevCtrlInit’:
2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c:3709:2: error: implicit declaration of function ‘init_MUTEX’ [-Werror=implicit-function-declaration]
2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c:3710:2: warning: passing argument 2 of ‘os_alloc_mem’ from incompatible pointer type [enabled by default]
2009_0525_RT3070_Linux_STA_v2.1.1.0/include/rtmp.h:5687:13: note: expected ‘UCHAR **’ but argument is of type ‘UCHAR *’
cc1: some warnings being treated as errors #警告当错误处理了,lz改我之前发的那个文件的代码后还得改下makefile,-Werror之类的
:em06

我昨晚可以用了
但是没这么麻烦

参考帖子 viewtopic.php?f=116&t=273685&p=2564891#p2564891
回复