want to compile wireless card drive,but failed

C

cenyebin

Guest
My computer is lenovo G480 and the wireless card is broadcom 802.11n. The system installed on hardisk is centos 6.4. I download drive base from Broadcom Official website 。Just before I have susseccfully compile the wireless card drive and use it perfect untill I reinstalled centos6.4 today. can anyone assist me .how to install the drive on my computer.Thanks for help .
Code:
[root@localhost Downloads]# make

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.i686'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /home/cenyebin/Downloads/built-in.o
  CC [M]  /home/cenyebin/Downloads/src/shared/linux_osl.o
  CC [M]  /home/cenyebin/Downloads/src/wl/sys/wl_linux.o
  CC [M]  /home/cenyebin/Downloads/src/wl/sys/wl_iw.o
  CC [M]  /home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.o
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:79: warning: ‘enum tx_power_setting’ declared inside parameter list
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:79: warning: its scope is only this definition or declaration, which is probably not what you want
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1092: warning: ‘enum tx_power_setting’ declared inside parameter list
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1092: error: parameter 2 (‘type’) has incomplete type
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_set_tx_power’:
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1103: error: ‘TX_POWER_AUTOMATIC’ undeclared (first use in this function)
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1103: error: (Each undeclared identifier is reported only once
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1103: error: for each function it appears in.)
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1105: error: ‘TX_POWER_LIMITED’ undeclared (first use in this function)
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1111: error: ‘TX_POWER_FIXED’ undeclared (first use in this function)
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c: At top level:
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1594: warning: initialization from incompatible pointer type
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1596: warning: initialization from incompatible pointer type
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1597: warning: initialization from incompatible pointer type
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1598: warning: initialization from incompatible pointer type
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1599: warning: initialization from incompatible pointer type
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_inform_single_bss’:
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:1764: error: too few arguments to function ‘ieee80211_channel_to_frequency’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_bss_roaming_done’:
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2090: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3124: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘u8 *’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2090: warning: passing argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3124: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2090: warning: passing argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3124: note: expected ‘size_t’ but argument is of type ‘u8 *’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2090: warning: passing argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3124: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2090: error: too few arguments to function ‘cfg80211_roamed’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_bss_connect_done’:
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2122: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3124: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘u8 *’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2122: warning: passing argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3124: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2122: warning: passing argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3124: note: expected ‘size_t’ but argument is of type ‘u8 *’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2122: warning: passing argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3124: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.c:2122: error: too few arguments to function ‘cfg80211_roamed’
make[2]: *** [/home/cenyebin/Downloads/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
make[1]: *** [_module_/home/cenyebin/Downloads] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.i686'
make: *** [all] Error 2
 


thanks for your reply ,lobo
There are no any network card on centos6.4 system,I didn't use yum command .
Then I compiled the driver with command make API=WEXT offered by offical introduction which made no any error information occured. But after insmod wl.ko,it didn't make any effection at all.
 
Is this driver within-tree, or is it an external package? If external, do you have the right version of the linux headers after your reinstall?
 

Members online


Latest posts

Top