hongzheng6027@hongzheng6027:~/Documents> cd hybrid_wl/
hongzheng6027@hongzheng6027:~/Documents/hybrid_wl> tar xzf /home/hongzheng6027/Documents/hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
hongzheng6027@hongzheng6027:~/Documents/hybrid_wl> ls
lib Makefile src
hongzheng6027@hongzheng6027:~/Documents/hybrid_wl> make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/uname -r
/build M=pwd
make[1]: Entering directory /usr/src/linux-3.11.10-7' CFG80211 API is prefered for this kernel version Using CFG80211 API LD /home/hongzheng6027/Documents/hybrid_wl/built-in.o CC [M] /home/hongzheng6027/Documents/hybrid_wl/src/shared/linux_osl.o CC [M] /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.o /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c: In function ‘wl_tkip_printstats’: /home/hongzheng6027/Documents/hybrid_wl/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]); ^ /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c:3246:7: note: expected ‘struct seq_file *’ but argument is of type ‘char *’ /home/hongzheng6027/Documents/hybrid_wl/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); ^ /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c:3249:4: note: expected ‘struct seq_file *’ but argument is of type ‘char *’ /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’: /home/hongzheng6027/Documents/hybrid_wl/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) { ^ /home/hongzheng6027/Documents/hybrid_wl/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) { ^ /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c:3475:16: error: dereferencing pointer to incomplete type wl->proc_entry->read_proc = wl_proc_read; ^ /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c:3476:16: error: dereferencing pointer to incomplete type wl->proc_entry->write_proc = wl_proc_write; ^ /home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.c:3477:16: error: dereferencing pointer to incomplete type wl->proc_entry->data = wl; ^ cc1: some warnings being treated as errors make[2]: *** [/home/hongzheng6027/Documents/hybrid_wl/src/wl/sys/wl_linux.o] Error 1 make[1]: *** [_module_/home/hongzheng6027/Documents/hybrid_wl] Error 2 make[1]: Leaving directory
/usr/src/linux-3.11.10-7’
make: *** [all] Error 2
You have to patch the driver to build it on kernel 3.11.
Better install the ready-made packages from Packman:
http://packman.links2linux.de/package/broadcom-wl
You need “broadcom-wl” and one of the “broadcom-wl-kmp-xxx” packages depending on which kernel to use.
Or, if you have a different way to connect to the Internet (via wired f.e.), just add the Packman repo in YaST->Software Repositories->Add->Community Repositories (you’ll need it for most multimedia stuff anyway), and install the packages with YaST->Software Management.
If you do insist on compiling itself, have a look at the necessary patches here:
https://pmbs.links2linux.de/package/show/Essentials/broadcom-wl
thank you very very much, I have solved this problem with this packman. But you said, I should add this URL in yast software repository, but it failed, I don’t know how to figure it. And as I am new in Linux, could you give me some suggestion, what material should I read in order to behave better. I borrowed some books about it, but it doesn’t work.
thanks in advance
Good to hear.
So the wireless is working now?
But you said, I should add this URL in yast software repository, but it failed, I don’t know how to figure it.
Which URL did you add where? And how did it fail?
I meant you should click on “Add”, then select “Community Repositories”, and then add the “Packman repo” in that list.
This only works if you have a working Internet connection though.
The link was not supposed to be entered in YaST, that was a link to the website where you could download the packages manually. (if you don’t have a working Internet connection, the only way to install them is to download them on a different system, transfer them via an USB stick or similar and install them manually with “sudo rpm -i filename.rpm” or just by (double) clicking on them in your file manager)
And as I am new in Linux, could you give me some suggestion, what material should I read in order to behave better.
Depends about what particular topics you want to read I suppose.
Maybe start with the official openSUSE documentation: (the Startup Guide would be best at first I suppose)
http://activedoc.opensuse.org/
If you want to know more about the graphical desktop you’re using, have a look at the included documentation.
For KDE this would be “Help” in the K-Menu’s Favorites.
I borrowed some books about it, but it doesn’t work.
The books don’t work? Linux doesn’t work? Or what?