osmanzorluer / bcmon

Automatically exported from code.google.com/p/bcmon
0 stars 0 forks source link

Doesn't compile on samsung captivate glide stock kernel from rogers #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Trying to compile the module
What is the expected output? What do you see instead?
  CC [M]  drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.o
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:801: error: 
'NUM_NL80211_IFTYPES' undeclared here (not in a function)
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:802: error: array index in 
non-array initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:802: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:803: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:803: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:804: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:804: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:806: error: array index in 
non-array initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:806: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:807: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:807: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:808: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:808: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:811: error: array index in 
non-array initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:811: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:812: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:812: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:813: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:813: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:821: error: array index in 
non-array initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:821: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:823: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:823: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:824: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:824: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:832: error: 
'NL80211_IFTYPE_P2P_CLIENT' undeclared here (not in a function)
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:832: error: array index in 
initializer not of integer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:832: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:833: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:833: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:834: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:834: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:837: error: 
'NL80211_IFTYPE_P2P_GO' undeclared here (not in a function)
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:837: error: array index in 
initializer not of integer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:837: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:838: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:838: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:839: error: field name not 
in record or union initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:839: error: (near 
initialization for 'wl_cfg80211_default_mgmt_stypes')
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_cfg80211_mgmt_tx':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:4371: error: implicit 
declaration of function 'cfg80211_mgmt_tx_status'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_cfg80211_change_bss':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:4692: error: 'struct 
bss_parameters' has no member named 'ht_opmode'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: At top level:
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5383: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5393: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5394: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5395: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5396: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5408: error: unknown field 
'mgmt_tx' specified in initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5408: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5409: error: unknown field 
'mgmt_frame_register' specified in initializer
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5409: warning: 
initialization from incompatible pointer type
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_setup_wiphy':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5458: error: 'struct 
wiphy' has no member named 'max_remain_on_channel_duration'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5459: error: 'struct 
wiphy' has no member named 'mgmt_stypes'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5468: error: 
'WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS' undeclared (first use in this 
function)
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5468: error: (Each 
undeclared identifier is reported only once
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5468: error: for each 
function it appears in.)
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_inform_single_bss':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5597: error: too many 
arguments to function 'ieee80211_channel_to_frequency'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_notify_connect_status_ap':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5796: error: too many 
arguments to function 'ieee80211_channel_to_frequency'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:5806: error: implicit 
declaration of function 'cfg80211_rx_mgmt'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_notify_rx_mgmt_frame':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:6475: error: too many 
arguments to function 'ieee80211_channel_to_frequency'
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 
'wl_construct_reginfo':
drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:8104: error: too many 
arguments to function 'ieee80211_channel_to_frequency'
make[4]: *** [drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.o] Error 1
make[3]: *** [drivers/net/wireless/bcmdhd] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

What version of the product are you using? On what operating system?

android 

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 36
EXTRAVERSION = .3-I927RUXKJ5-CL652095

kernel config
CONFIG_BCM4330=m
CONFIG_BROADCOM_WIFI_RESERVED_MEM=y
CONFIG_WLAN_COUNTRY_CODE=m
CONFIG_WLAN_REGION_CODE=100

toolchain = 
android-ndk-r5/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi-

Please provide any additional information below.

Contact for any extra information needed.

Original issue reported on code.google.com by costas....@gmail.com on 20 Sep 2012 at 1:33

GoogleCodeExporter commented 9 years ago
I also have this issue.
I try to compile it on stock kernel for Samsung Galaxy Beam.
As i know it has bcm4330.

Original comment by den191...@gmail.com on 10 Dec 2012 at 5:49

GoogleCodeExporter commented 9 years ago
any progress? was looking also for the galaxy beam :D

Original comment by niflheim...@gmail.com on 26 Nov 2013 at 12:25

GoogleCodeExporter commented 9 years ago
Sorry, never got it to work. Do not use the glide anymore.

Original comment by costas....@gmail.com on 26 Nov 2013 at 12:30