Cook: broadcom-wl 6_30_223_271 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): linux-module-headers-4.17.7-i486 Extracting source archive "hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed make: Entering directory '/usr/src/linux-4.17.7-slitaz' CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.o CC [M] /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.o CC [M] /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_iw.o CC [M] /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.o /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c: In function 'osl_os_get_image_block': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c:1079:28: warning: passing argument 2 of 'kernel_read' makes pointer from integer without a cast [-Wint-conversion] rdlen = kernel_read(fp, fp->f_pos, buf, len); ~~^~~~~~~ In file included from ./include/linux/huge_mm.h:7, from ./include/linux/mm.h:472, from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/include/linuxver.h:65, from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c:25: ./include/linux/fs.h:2855:43: note: expected 'void *' but argument is of type 'loff_t' {aka 'long long int'} extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^~~~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c:1079:37: warning: passing argument 3 of 'kernel_read' makes integer from pointer without a cast [-Wint-conversion] rdlen = kernel_read(fp, fp->f_pos, buf, len); ^~~ In file included from ./include/linux/huge_mm.h:7, from ./include/linux/mm.h:472, from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/include/linuxver.h:65, from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c:25: ./include/linux/fs.h:2855:51: note: expected 'size_t' {aka 'unsigned int'} but argument is of type 'char *' extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^~~~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c:1079:42: warning: passing argument 4 of 'kernel_read' makes pointer from integer without a cast [-Wint-conversion] rdlen = kernel_read(fp, fp->f_pos, buf, len); ^~~ In file included from ./include/linux/huge_mm.h:7, from ./include/linux/mm.h:472, from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/include/linuxver.h:65, from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/shared/linux_osl.c:25: ./include/linux/fs.h:2855:59: note: expected 'loff_t *' {aka 'long long int *'} but argument is of type 'int' extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^~~~~~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:1794:25: error: initialization of 'int (*)(struct wiphy *, struct net_device *, enum nl80211_iftype, struct vif_params *)' from incompatible pointer type 's32 (*)(struct wiphy *, struct net_device *, enum nl80211_iftype, u32 *, struct vif_params *)' {aka 'int (*)(struct wiphy *, struct net_device *, enum nl80211_iftype, unsigned int *, struct vif_params *)'} [-Werror=incompatible-pointer-types] .change_virtual_intf = wl_cfg80211_change_iface, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:1794:25: note: (near initialization for 'wl_cfg80211_ops.change_virtual_intf') /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_bss_roaming_done': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2369:4: error: passing argument 2 of 'cfg80211_roamed' from incompatible pointer type [-Werror=incompatible-pointer-types] &wl->conf->channel, ^~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:33: ./include/net/cfg80211.h:5590:73: note: expected 'struct cfg80211_roam_info *' but argument is of type 'struct ieee80211_channel *' void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2371:4: warning: passing argument 3 of 'cfg80211_roamed' makes integer from pointer without a cast [-Wint-conversion] (u8 *)&wl->bssid, ^~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:33: ./include/net/cfg80211.h:5591:14: note: expected 'gfp_t' {aka 'unsigned int'} but argument is of type 'u8 *' {aka 'unsigned char *'} gfp_t gfp); ~~~~~~^~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2367:2: error: too many arguments to function 'cfg80211_roamed' cfg80211_roamed(ndev, ^~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:33: ./include/net/cfg80211.h:5590:6: note: declared here void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info, ^~~~~~~~~~~~~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_bss_connect_done': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2390:40: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion] cfg80211_scan_done(wl->scan_request, true); ^~~~ In file included from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:33: ./include/net/cfg80211.h:4718:31: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int' struct cfg80211_scan_info *info); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_destroy_event_handler': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2601:3: error: implicit declaration of function 'send_sig'; did you mean 'send_sigio'? [-Werror=implicit-function-declaration] send_sig(SIGTERM, wl->event_tsk, 1); ^~~~~~~~ send_sigio /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c: In function 'wl_pci_probe': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:772:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((val & 0x0000ff00) != 0) ^~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:774:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bar1_size = pci_resource_len(pdev, 2); ^~~~~~~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_event_handler': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2705:2: error: implicit declaration of function 'allow_signal'; did you mean 'do_signal'? [-Werror=implicit-function-declaration] allow_signal(SIGTERM); ^~~~~~~~~~~~ do_signal /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_cfg80211_down': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2916:40: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion] cfg80211_scan_done(wl->scan_request, true); ^~~~ In file included from /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:33: ./include/net/cfg80211.h:4718:31: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int' struct cfg80211_scan_info *info); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c: In function 'wl_init_timer': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2355:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] init_timer(&t->timer); ^~~~~~~~~~ init_timers /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2356:10: error: 'struct timer_list' has no member named 'data' t->timer.data = (ulong) t; ^ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2357:20: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(ulong)' {aka 'void (*)(long unsigned int)'} [-Werror=incompatible-pointer-types] t->timer.function = wl_timer; ^ /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c: In function 'wl_monitor': /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2918:10: error: 'struct net_device' has no member named 'last_rx' skb->dev->last_rx = jiffies; ^~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:312: /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.o] Error 1 make[1]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:312: /home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.o] Error 1 make: *** [Makefile:1571: _module_/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271] Error 2 make: Leaving directory '/usr/src/linux-4.17.7-slitaz' xz: wl.ko: No such file or directory Build dependencies to remove: 1 Removing: linux-module-headers Debug information ret1. ================================================================================ Cook date: 2020-09-12 02:59 Wasted time : 14s 53:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:1794:25: error: initialization of 'int (*)(struct wiphy *, struct net_device *, enum nl80211_iftype, struct vif_params *)' from incompatible pointer type 's32 (*)(struct wiphy *, struct net_device *, enum nl80211_iftype, u32 *, struct vif_params *)' {aka 'int (*)(struct wiphy *, struct net_device *, enum nl80211_iftype, unsigned int *, struct vif_params *)'} [-Werror=incompatible-pointer-types] 58:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2369:4: error: passing argument 2 of 'cfg80211_roamed' from incompatible pointer type [-Werror=incompatible-pointer-types] 72:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2367:2: error: too many arguments to function 'cfg80211_roamed' 88:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2601:3: error: implicit declaration of function 'send_sig'; did you mean 'send_sigio'? [-Werror=implicit-function-declaration] 100:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c:2705:2: error: implicit declaration of function 'allow_signal'; did you mean 'do_signal'? [-Werror=implicit-function-declaration] 113:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2355:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 117:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2356:10: error: 'struct timer_list' has no member named 'data' 120:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2357:20: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(ulong)' {aka 'void (*)(long unsigned int)'} [-Werror=incompatible-pointer-types] 124:/home/slitaz/wok/broadcom-wl/source/broadcom-wl-6_30_223_271/src/wl/sys/wl_linux.c:2918:10: error: 'struct net_device' has no member named 'last_rx' 134:xz: wl.ko: No such file or directory ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================