您尚未登录。

#1 2014-07-03 23:28:31

南派小叔
会员
注册时间: 2014-06-30
帖子: 9

求助一个BCM43142无线网卡驱动的问题,

如上,弄了两天了就是弄不好,
archlinux 64位版本,
lxde的桌面,
找了两天终于找到了驱动:hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
解压后make过程遇到问题如下:
[root@localhost bcm43142]# make && clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/lib/modules/3.15.2-1-ARCH/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /home/lsfzdth/Downloads/bcm43142/built-in.o
  CC [M]  /home/lsfzdth/Downloads/bcm43142/src/shared/linux_osl.o
  CC [M]  /home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.o
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c: 在函数‘wl_dump_ver’中:
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:2041:3: 错误:macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:2041:13: 错误:macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c: 在函数‘wl_tkip_printstats’中:
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3245:6: 警告:传递‘wl->tkipmodops->print_stats’的第 1 个参数时在不兼容的指针类型间转换
      wl->tkipmodops->print_stats(debug_buf,
      ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3245:6: 附注:需要类型‘struct seq_file *’,但实参的类型为‘char *’
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3249:4: 警告:传递‘wl->tkipmodops->print_stats’的第 1 个参数时在不兼容的指针类型间转换
    wl->tkipmodops->print_stats(debug_buf, wl->tkip_ucast_data);
    ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3249:4: 附注:需要类型‘struct seq_file *’,但实参的类型为‘char *’
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c: 在函数‘wl_reg_proc_entry’中:
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3470:2: 错误:隐式声明函数‘create_proc_entry’ [-Werror=implicit-function-declaration]
  if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
  ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3470:22: 警告:赋值时将整数赋给指针,未作类型转换
  if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
                      ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3475:16: 错误:提领指向不完全类型的指针
  wl->proc_entry->read_proc = wl_proc_read;
                ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3476:16: 错误:提领指向不完全类型的指针
  wl->proc_entry->write_proc = wl_proc_write;
                ^
/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.c:3477:16: 错误:提领指向不完全类型的指针
  wl->proc_entry->data = wl;
                ^
cc1: some warnings being treated as errors
scripts/Makefile.build:318: recipe for target '/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.o' failed
make[2]: *** [/home/lsfzdth/Downloads/bcm43142/src/wl/sys/wl_linux.o] Error 1
Makefile:1310: recipe for target '_module_/home/lsfzdth/Downloads/bcm43142' failed
make[1]: *** [_module_/home/lsfzdth/Downloads/bcm43142] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.15.2-1-ARCH/build'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
[root@localhost bcm43142]#
什么意思?就卡在这一步了,

离线

#2 2014-07-04 10:08:28

jouyouyun
会员
注册时间: 2011-10-10
帖子: 268

Re: 求助一个BCM43142无线网卡驱动的问题,

试下这个驱动吧:broadcom-sta-dkms,在 AUR 里面。

离线

#3 2014-07-06 19:05:14

xgdgscarch
会员
注册时间: 2012-05-07
帖子: 191

离线

页脚