13.10 内核版本3.11.6 3.11.013 在这两个内核上安装成功!(3.10以后的内核都须打这个补丁,否则make会出错)
/usr/src/wlan# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: 正在进入目录 `/usr/src/linux-headers-3.11.0-13-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /usr/src/wlan/src/wl/sys/wl_linux.o
/usr/src/wlan/src/wl/sys/wl_linux.c: In function ‘wl_tkip_printstats’:
/usr/src/wlan/src/wl/sys/wl_linux.c:3246:7: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
wl->tkip_bcast_data[idx]);
^
/usr/src/wlan/src/wl/sys/wl_linux.c:3246:7: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/usr/src/wlan/src/wl/sys/wl_linux.c:3249:4: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
wl->tkipmodops->print_stats(debug_buf, wl->tkip_ucast_data);
^
/usr/src/wlan/src/wl/sys/wl_linux.c:3249:4: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/usr/src/wlan/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’:
/usr/src/wlan/src/wl/sys/wl_linux.c:3470:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
^
/usr/src/wlan/src/wl/sys/wl_linux.c:3470:22: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
^
/usr/src/wlan/src/wl/sys/wl_linux.c:3475:16: error: dereferencing pointer to incomplete type
wl->proc_entry->read_proc = wl_proc_read;
^
/usr/src/wlan/src/wl/sys/wl_linux.c:3476:16: error: dereferencing pointer to incomplete type
wl->proc_entry->write_proc = wl_proc_write;
^
/usr/src/wlan/src/wl/sys/wl_linux.c:3477:16: error: dereferencing pointer to incomplete type
wl->proc_entry->data = wl;
到博通网站下载linux 32位驱动,make出错,须打补丁
patch -p0 /usr/src/wlan/src/wl/sys/wl_linux.c < wl_3.10.patch
一、到博通下载BCM 32位驱动,下载此补丁。
二、在/usr/src 下建立wlan目录,把这两个文件拷贝到目录里;
三、解压驱动到此文件夹,然后 patch -p0 /usr/src/wlan/src/wl/sys/wl_linux.c < wl_3.10.patch
四、make;make install;
bcm43xx无线网卡驱动安装!(13.10 须打补丁)
-
- 帖子: 2
- 注册时间: 2013-10-30 20:29
- 系统: 13.10
bcm43xx无线网卡驱动安装!(13.10 须打补丁)
- 附件
-
- wl_3.10.patch.tar.gz
- (1.13 KiB) 已下载 210 次
-
- 帖子: 1
- 注册时间: 2013-11-08 15:49
- 系统: ubuntu
Re: bcm43xx无线网卡驱动安装!(13.10 须打补丁)
多谢多谢,但是ifconfig 没有wlan0 是怎么回事呢,找遍了都没发现合适的解决办法。
- photor
- 论坛版主
- 帖子: 11004
- 注册时间: 2008-04-26 12:41
- adam8157
- 帖子: 2794
- 注册时间: 2009-03-05 16:31
- 联系: