V
V
Voidzero2014-01-05 06:52:27
linux
Voidzero, 2014-01-05 06:52:27

Issues installing proprietary wl driver on debian

When installing a proprietary driver for the broadcom wi-fi module (broadcom-sta, wl driver) on debian, it produces this:

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-3.12-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  CC [M]  /.../sys/wl_linux.o
/.../src/wl/sys/wl_linux.c: In function ‘wl_tkip_printstats’:
/.../src/wl/sys/wl_linux.c:3246:7: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
/.../src/wl/sys/wl_linux.c:3246:7: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/.../src/wl/sys/wl_linux.c:3249:4: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
/.../src/wl/sys/wl_linux.c:3249:4: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/.../src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’:
/.../src/wl/sys/wl_linux.c:3470:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
/.../src/wl/sys/wl_linux.c:3470:22: warning: assignment makes pointer from integer without a cast [enabled by default]

/.../src/wl/sys/wl_linux.c:3470:22: warning: assignment makes pointer from integer without a cast [enabled by default]
/.../src/wl/sys/wl_linux.c:3475:16: error: dereferencing pointer to incomplete type
/.../src/wl/sys/wl_linux.c:3476:16: error: dereferencing pointer to incomplete type
/.../src/wl/sys/wl_linux.c:3477:16: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[4]: *** [/.../src/wl/sys/wl_linux.o] Error 1
make[3]: *** [_/.../] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.12-amd64'
make: *** [all] Error 2

kernel-package is installed.
kernel 3.12-amd64 , debian stable wheezy
Installed from the repository and from the manufacturer's website, the same way.
The proprietary video driver from amd is not assembled and throws out about the same.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2014-01-06
@Voidzero

> wl_linux.c:3470:2: error: implicit declaration of function 'create_proc_entry'
create_proc_entry was dropped in 3.9, suggesting to use create_proc_read_entry(), proc_create() and proc_create_data().
As for the rest of the errors, it is not clear. Where can I look at the code for this wl_linux.c?

V
Voidzero, 2014-01-06
@Voidzero

The casket just opened. =) The problem is in the kernel version, we made a patch for 3.10 and older, thanks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question