Modify

Opened 3 years ago

Closed 3 years ago

#19315 closed defect (fixed)

mwlwifi error

Reported by: anonymous Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

make[2]: Leaving directory `/home/main/bcm/package/kernel/mac80211'
make[2]: Entering directory `/home/main/bcm/package/kernel/mwlwifi'
make -C "/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/linux-3.18.9" ARCH="mips" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" SUBDIRS="/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320" NOSTDINC_FLAGS="-I/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320 -I/home/main/bcm/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include/mac80211-backport/uapi -I/home/main/bcm/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include/mac80211-backport -I/home/main/bcm/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include/mac80211/uapi -I/home/main/bcm/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include/mac80211 -include backport/backport.h" modules
make[3]: Entering directory `/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/linux-3.18.9'

CC [M] /home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.o

/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c: In function 'mwl_reg_notifier':
/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:482:3: error: implicit declaration of function 'for_each_property_of_node' [-Werror=implicit-function-declaration]

for_each_property_of_node(priv->pwr_node, prop) {

/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:482:51: error: expected ';' before '{' token

for_each_property_of_node(priv->pwr_node, prop) {


/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c: In function 'mwl_process_of_dts':
/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:578:3: error: implicit declaration of function 'pci_bus_to_OF_node' [-Werror=implicit-function-declaration]

of_find_node_by_name(pci_bus_to_OF_node(priv->pdev->bus),

/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:579:10: warning: passing argument 1 of 'of_find_node_by_name' makes pointer from integer without a cast [enabled by default]

"mwlwifi");

In file included from /home/main/bcm/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include/mac80211-backport/linux/of.h:5:0,

from ./arch/mips/include/asm/pci.h:20,
from include/linux/pci.h:1444,
from /home/main/bcm/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/include/mac80211-backport/linux/pci.h:3,
from /home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_dev.h:27,
from /home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:27:

include/linux/of.h:363:35: note: expected 'struct device_node *' but argument is of type 'int'

static inline struct device_node *of_find_node_by_name(struct device_node *from,


/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:584:50: error: expected ';' before '{' token

for_each_property_of_node(priv->dt_node, prop) {


/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.c:566:6: warning: unused variable 'prop_value' [-Wunused-variable]

u32 prop_value;


cc1: some warnings being treated as errors
make[4]: * /home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/mwl_main.o Error 1
make[3]:
* [_module_/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320] Error 2
make[3]: Leaving directory `/home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/linux-3.18.9'
make[2]: * /home/main/bcm/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-brcm47xx_generic/mwlwifi-10.2.8.5.p0-20150320/.built Error 2
make[2]: Leaving directory `/home/main/bcm/package/kernel/mwlwifi'
make[1]:
* [package/kernel/mwlwifi/compile] Error 2
make[1]: Leaving directory `/home/main/bcm'
make: * [package/mwlwifi/compile] Error 2
main@bogon:~/bcm$

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r45023

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.