Can someone also look into the build problem on linux 3.10rc1 kernel? I
think create_proc_entry must be replaced with a proc_create call. Here
is the build log for 3.10rc1 mainline kernel:
DKMS make.log for bcmwl-6.30.223.30+bdcom for kernel 3.10.0-031000rc1-generic
(x86_64)
Çrş May 15 11:22:13 CEST 2013
make: Entering directory `/usr/src/linux-headers-3.10.0-031000rc1-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c: In function
‘wl_tkip_printstats’:
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3247: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/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3247:7: note:
expected ‘struct seq_file *’ but argument is of type ‘char *’
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3250: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/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3250:4: note:
expected ‘struct seq_file *’ but argument is of type ‘char *’
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c: In function
‘wl_reg_proc_entry’:
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3471: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/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3471: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/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3476:16:
error: dereferencing pointer to incomplete type
wl->proc_entry->read_proc = wl_proc_read;
^
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3477:16:
error: dereferencing pointer to incomplete type
wl->proc_entry->write_proc = wl_proc_write;
^
/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.c:3478:16:
error: dereferencing pointer to incomplete type
wl->proc_entry->data = wl;
^
cc1: some warnings being treated as errors
make[1]: ***
[/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.30+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.10.0-031000rc1-generic'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1157880
Title:
bcmwl-kernel-source 6.20.155.1+bdcom-0ubuntu6: bcmwl kernel module
failed to build on kernel 3.9 [wl_cfg80211.c:2025:3: error: too few
arguments to function ‘cfg80211_put_bss’]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1157880/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs