![BCM4352 官方戴尔驱动安装问题](https://linux22.com/image/1122182/BCM4352%20%E5%AE%98%E6%96%B9%E6%88%B4%E5%B0%94%E9%A9%B1%E5%8A%A8%E5%AE%89%E8%A3%85%E9%97%AE%E9%A2%98.png)
我已经下载了 dell ubuntu 12.04 驱动程序并解压了该包。然后按照第一个步骤中的说明进入要安装的适当文件夹,然后回答这个问题问题。首先我双击安装了它,但出现错误,之后我将其删除并再次在终端上安装,但再次出现相同的错误。终端输出;
root@dell-p-m4800:/media/DATA/Linux - Yedek/M4800_M6800_A03.fish.tar/M4800_M6800_A03.fish/debs# dpkg -i bcmwl-kernel-source-dw1550.deb
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 467738 files and directories currently installed.)
Unpacking bcmwl-kernel-source (from bcmwl-kernel-source-dw1550.deb) ...
Setting up bcmwl-kernel-source (6.30.223.64somerville1) ...
Loading new bcmwl-kernel-source-6.30.223.64somerville1 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-35-generic
Building for architecture x86_64
Building initial module for 3.13.0-35-generic
Error! Bad return status for module build on kernel: 3.13.0-35-generic (x86_64)
Consult /var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/make.log for more information.
dpkg: error processing bcmwl-kernel-source (--install):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
bcmwl-kernel-source
make.log文件;
DKMS make.log for bcmwl-kernel-source-6.30.223.64somerville1 for kernel 3.13.0-35-generic (x86_64)
Tue Sep 2 22:42:24 EEST 2014
make -C /lib/modules/3.13.0-35-generic/build M=/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-35-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c: In function ‘wl_tkip_printstats’:
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3237:7: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
wl->tkip_bcast_data[idx]);
^
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3237:7: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3240: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);
^
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3240:4: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’:
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3461:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
^
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3461:22: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
^
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3466:16: error: dereferencing pointer to incomplete type
wl->proc_entry->read_proc = wl_proc_read;
^
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3467:16: error: dereferencing pointer to incomplete type
wl->proc_entry->write_proc = wl_proc_write;
^
/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.c:3468:16: error: dereferencing pointer to incomplete type
wl->proc_entry->data = wl;
^
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/var/lib/dkms/bcmwl-kernel-source/6.30.223.64somerville1/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-35-generic'
make: *** [all] Error 2
在我看来,存在一些指针或类型错误。我该如何修复这个问题?我必须更改代码吗?或者这是内核版本问题?谢谢。
答案1
这是内核版本与戴尔提供的 bcmwl-kernel-source 版本不匹配的问题。我建议您尝试存储库中的官方 Ubuntu 版本。使用临时可用的互联网连接:
sudo apt-get update
sudo apt-get install bcmwl-kernel-source
如果这不起作用,请执行以下操作:
sudo apt-get remove bcmwl-kernel-source
使用以下命令安装:
sudo dpkg -i ~/Desktop/bcmwl*.deb
sudo modprobe wl