* Package: net-wireless/broadcom-sta-6.30.223.271-r6:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 6.0.18-calculate * Checking for suitable kernel configuration options ... * B43: If you insist on building this, you must blacklist it! * BCMA: If you insist on building this, you must blacklist it! * SSB: If you insist on building this, you must blacklist it! * X86_INTEL_LPSS: Please disable it. The module does not work with it enabled. * MAC80211: If you insist on building this, you must blacklist it! * PREEMPT_RCU: Please do not set the Preemption Model to "Preemptible Kernel"; choose something else. * CONFIG_PREEMPT: should not be set. But it is. [ !! ] * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Unpacking source... >>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz to /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >>> Unpacking README-broadcom-sta-6.30.223.271.txt to /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work unpack README-broadcom-sta-6.30.223.271.txt: file format not recognized. Ignoring. >>> Source unpacked in /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >>> Preparing source in /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... * Applying broadcom-sta-6.30.223.141-makefile.patch ... patching file Makefile Hunk #1 succeeded at 147 with fuzz 2 (offset 19 lines). [ ok ] * Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-gcc.patch ... [ ok ] * Applying broadcom-sta-6.30.223.248-r3-Wno-date-time.patch ... patching file Makefile Hunk #1 succeeded at 145 with fuzz 2 (offset 19 lines). [ ok ] * Applying broadcom-sta-6.30.223.271-r1-linux-3.18.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.7.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.8.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.11.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.12.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r4-linux-4.15.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r5-linux-5.1.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r5-linux-5.6.patch ... [ ok ] * Applying broadcom-sta-6.30.223.271-r6-linux-5.9.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... >>> Source configured. >>> Compiling source in /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing wl module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work wl.ko make: Entering directory '/usr/src/linux-6.0.18-calculate' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Gentoo 11.3.1_p20221209 p3) 11.3.1 20221209 You are using: x86_64-pc-linux-gnu-gcc (Gentoo 11.3.1_p20221209 p3) 11.3.1 20221209 CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o CC [M] /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o CC [M] /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.o CC [M] /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o In file included from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:81: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.h:74: warning: "isprint" redefined 74 | #define isprint(c) bcm_isprint(c) | In file included from ./include/linux/string_helpers.h:6, from ./include/linux/seq_file.h:7, from ./include/linux/seq_file_net.h:5, from ./include/net/net_namespace.h:191, from ./include/linux/netdevice.h:38, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:69, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: ./include/linux/ctype.h:30: note: this is the location of the previous definition 30 | #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) | In file included from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/osl.h:79, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:28: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_attach’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:647:43: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 647 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:49: note: in definition of macro ‘bcopy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~ In file included from ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:11, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:22, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/module.h:13, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: ./arch/x86/include/asm/string_64.h:14:27: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 14 | extern void *memcpy(void *to, const void *from, size_t len); | ~~~~~~^~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:786:9: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 786 | if ((val & 0x0000ff00) != 0) | ^~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:788:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 788 | bar1_size = pci_resource_len(pdev, 2); | ^~~~~~~~~ In file included from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/osl.h:79, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:28: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_set_mac_address’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1853:31: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 1853 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:49: note: in definition of macro ‘bcopy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~ In file included from ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:11, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:22, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/module.h:13, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: ./arch/x86/include/asm/string_64.h:14:27: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 14 | extern void *memcpy(void *to, const void *from, size_t len); | ~~~~~~^~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_alloc_consistent’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:603:14: error: implicit declaration of function ‘pci_alloc_consistent’; did you mean ‘osl_dma_alloc_consistent’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap); | ^~~~~~~~~~~~~~~~~~~~ | osl_dma_alloc_consistent /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:603:12: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap); | ^ In file included from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/osl.h:79, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:28: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘_wl_add_monitor_if’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3032:37: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 3032 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN); /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:49: note: in definition of macro ‘bcopy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~ In file included from ./arch/x86/include/asm/string.h:5, from ./include/linux/string.h:20, from ./include/linux/bitmap.h:11, from ./include/linux/cpumask.h:12, from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:22, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/module.h:13, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: ./arch/x86/include/asm/string_64.h:14:27: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 14 | extern void *memcpy(void *to, const void *from, size_t len); | ~~~~~~^~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_bss_roaming_done’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2362:18: error: ‘struct cfg80211_roam_info’ has no member named ‘channel’ 2362 | roam_info.channel = &wl->conf->channel, | ^ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2363:18: error: ‘struct cfg80211_roam_info’ has no member named ‘bssid’ 2363 | roam_info.bssid = (u8 *)&wl->bssid, | ^ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2362:47: warning: left-hand operand of comma expression has no effect []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Wunused-value]8;;] 2362 | roam_info.channel = &wl->conf->channel, | ^ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:2363:43: warning: left-hand operand of comma expression has no effect []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Wunused-value]8;;] 2363 | roam_info.bssid = (u8 *)&wl->bssid, | ^ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_proc_read’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: error: implicit declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 3313 | wl_info_t * wl = PDE_DATA(file_inode(filp)); | ^~~~~~~~ | NODE_DATA /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function ‘wl_proc_write’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3370:26: warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 3370 | wl_info_t * wl = PDE_DATA(file_inode(filp)); | ^~~~~~~~ In file included from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:43: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough=-Wimplicit-fallthrough=]8;;] 52 | if (wl_dbg_level & WL_DBG_DBG) { \ | ^ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:793:17: note: in expansion of macro ‘WL_DBG’ 793 | WL_DBG(("network eap\n")); | ^~~~~~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:794:9: note: here 794 | default: | ^~~~~~~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_free_consistent’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:616:9: error: implicit declaration of function ‘pci_free_consistent’; did you mean ‘osl_dma_free_consistent’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 616 | pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa); | ^~~~~~~~~~~~~~~~~~~ | osl_dma_free_consistent make[1]: *** [scripts/Makefile.build:249: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_map’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:626:38: error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean ‘DMA_TO_DEVICE’? 626 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~ | DMA_TO_DEVICE /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:626:38: note: each undeclared identifier is reported only once for each function it appears in /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:626:56: error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you mean ‘DMA_FROM_DEVICE’? 626 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~~~ | DMA_FROM_DEVICE /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:659:17: error: implicit declaration of function ‘pci_map_single’; did you mean ‘dma_map_single’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 659 | return (pci_map_single(osh->pdev, va, size, dir)); | ^~~~~~~~~~~~~~ | dma_map_single /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_dma_unmap’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:668:38: error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean ‘DMA_TO_DEVICE’? 668 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~ | DMA_TO_DEVICE /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:668:56: error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you mean ‘DMA_FROM_DEVICE’? 668 | dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE; | ^~~~~~~~~~~~~~~~~~ | DMA_FROM_DEVICE /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:669:9: error: implicit declaration of function ‘pci_unmap_single’; did you mean ‘dma_unmap_single’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 669 | pci_unmap_single(osh->pdev, (uint32)pa, size, dir); | ^~~~~~~~~~~~~~~~ | dma_unmap_single /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:35: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); | ~~^~~~~~~ | | | loff_t {aka long long int} In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:703, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: ./include/linux/fs.h:3014:43: note: expected ‘void *’ but argument is of type ‘loff_t’ {aka ‘long long int’} 3014 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); | ^~~~~~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:44: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); | ^~~ | | | char * In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:703, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: ./include/linux/fs.h:3014:51: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘char *’ 3014 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); | ^~~~~~ /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:49: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;] 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); | ^~~ | | | int In file included from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:703, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, from /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: ./include/linux/fs.h:3014:59: note: expected ‘loff_t *’ {aka ‘long long int *’} but argument is of type ‘int’ 3014 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); | ^~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:249: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:249: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o] Error 1 make: *** [Makefile:1852: /var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work] Error 2 make: Leaving directory '/usr/src/linux-6.0.18-calculate' * ERROR: net-wireless/broadcom-sta-6.30.223.271-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`. * The complete build log is located at '/var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/build.log'. * The ebuild environment file is located at '/var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/environment'. * Working directory: '/var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work' * S: '/var/calculate/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work'