[SOLVED] Centos 6.2 update to 6.3 , bcm4312 wireless driver make error ,who can help

General support questions
Post Reply
xiangku7890
Posts: 5
Joined: 2012/08/10 10:38:12

[SOLVED] Centos 6.2 update to 6.3 , bcm4312 wireless driver make error ,who can help

Post by xiangku7890 » 2012/08/10 10:47:51

[root@bogon bcm4312]# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.2.1.el6.i686'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /home/who/Desktop/bcm4312/built-in.o
CC [M] /home/who/Desktop/bcm4312/src/shared/linux_osl.o
CC [M] /home/who/Desktop/bcm4312/src/wl/sys/wl_linux.o
CC [M] /home/who/Desktop/bcm4312/src/wl/sys/wl_iw.o
CC [M] /home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.o
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:64: warning: ‘enum tx_power_setting’ declared inside parameter list
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:64: warning: its scope is only this definition or declaration, which is probably not what you want
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1110: warning: ‘enum tx_power_setting’ declared inside parameter list
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1110: error: parameter 2 (‘type’) has incomplete type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c: In function ‘wl_cfg80211_set_tx_power’:
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1123: error: ‘TX_POWER_AUTOMATIC’ undeclared (first use in this function)
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1123: error: (Each undeclared identifier is reported only once
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1123: error: for each function it appears in.)
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1125: error: ‘TX_POWER_LIMITED’ undeclared (first use in this function)
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1131: error: ‘TX_POWER_FIXED’ undeclared (first use in this function)
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c: At top level:
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1649: warning: initialization from incompatible pointer type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1651: warning: initialization from incompatible pointer type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1652: warning: initialization from incompatible pointer type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1653: warning: initialization from incompatible pointer type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1654: warning: initialization from incompatible pointer type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1658: warning: initialization from incompatible pointer type
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c: In function ‘wl_inform_single_bss’:
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:1817: error: too few arguments to function ‘ieee80211_channel_to_frequency’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c: In function ‘wl_bss_roaming_done’:
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘u8 *’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3035: note: expected ‘size_t’ but argument is of type ‘u8 *’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2117: error: too few arguments to function ‘cfg80211_roamed’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c: In function ‘wl_bss_connect_done’:
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘u8 *’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3035: note: expected ‘size_t’ but argument is of type ‘u8 *’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is of type ‘s32’
/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.c:2149: error: too few arguments to function ‘cfg80211_roamed’
make[2]: *** [/home/who/Desktop/bcm4312/src/wl/sys/wl_cfg80211.o] Error 1
make[1]: *** [_module_/home/who/Desktop/bcm4312] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.2.1.el6.i686'
make: *** [all] Error 2

When 6.2 , it all works. When 6.3 , it has been this . I don't know what to do . I will appriciate if anyone can help.

pjwelsh
Posts: 2632
Joined: 2007/01/07 02:18:02
Location: Central IL USA

[SOLVED] Centos 6.2 update to 6.3 , bcm4312 wireless

Post by pjwelsh » 2012/08/10 14:04:37

6.3 has some changes. Please look through [url=http://elrepo.org/tiki/wl-kmod]http://elrepo.org/tiki/wl-kmod[/url] for what you need.

xiangku7890
Posts: 5
Joined: 2012/08/10 10:38:12

Re: [SOLVED] Centos 6.2 update to 6.3 bcm4312 wireless driver make error ,who can help

Post by xiangku7890 » 2012/08/11 02:03:50

Thanks very very much.It works now. :-D

Post Reply