Thank you. I have just updated to broadcom-sta-dkms 6.30.223.271-23~22.04.1 and it has successfully installed and working on Macbook Pro Late 2011.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to broadcom-sta in Ubuntu. https://bugs.launchpad.net/bugs/2022968 Title: error installing broadcom-sta-dkms 6.30.223.271-17: broadcom-sta kernel module failed to build Status in broadcom-sta package in Ubuntu: Confirmed Bug description: Even though this bug is mentioned as fixed, it is still the same even after updating everything Here's the log file: DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 5.19.0-43-generic (x86_64) Mon 5 Jun 23:25:46 PKT 2023 make: Entering directory '/usr/src/linux-headers-5.19.0-43-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_iw.o CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.o /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_dma_alloc_consistent’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:603:14: error: implicit declaration of function ‘pci_alloc_consistent’; did you mean ‘osl_dma_alloc_consistent’? [-Werror=implicit-function-declaration] 603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap); | ^~~~~~~~~~~~~~~~~~~~ | osl_dma_alloc_consistent /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:603:12: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 603 | va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap); | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_dma_free_consistent’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:616:9: error: implicit declaration of function ‘pci_free_consistent’; did you mean ‘osl_dma_free_consistent’? [-Werror=implicit-function-declaration] 616 | pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa); | ^~~~~~~~~~~~~~~~~~~ | osl_dma_free_consistent /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_dma_map’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/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/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:38: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/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/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:659:17: error: implicit declaration of function ‘pci_map_single’; did you mean ‘dma_map_single’? [-Werror=implicit-function-declaration] 659 | return (pci_map_single(osh->pdev, va, size, dir)); | ^~~~~~~~~~~~~~ | dma_map_single In file included from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:81: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_iw.h:73: warning: "isprint" redefined 73 | #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:183, from ./include/linux/netdevice.h:38, from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:69, from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/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) | /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_dma_unmap’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/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 In file included from ./include/linux/string.h:253, 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/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:40, from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:27: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_attach’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:645:43: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 645 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’ 379 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:645:9: note: in expansion of macro ‘bcopy’ 645 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:645:43: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 645 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’ 379 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:645:9: note: in expansion of macro ‘bcopy’ 645 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:784:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 784 | if ((val & 0x0000ff00) != 0) | ^~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:786:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 786 | bar1_size = pci_resource_len(pdev, 2); | ^~~~~~~~~ In file included from ./include/linux/string.h:253, 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/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:40, from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:27: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_set_mac_address’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:1850:31: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1850 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’ 379 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:1850:9: note: in expansion of macro ‘bcopy’ 1850 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:1850:31: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 1850 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’ 379 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:1850:9: note: in expansion of macro ‘bcopy’ 1850 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/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/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘_wl_add_monitor_if’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3026:37: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3026 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’ 379 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3026:9: note: in expansion of macro ‘bcopy’ 3026 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3026:37: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 3026 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN); ./include/linux/fortify-string.h:379:27: note: in definition of macro ‘__fortify_memcpy_chk’ 379 | __underlying_##op(p, q, __fortify_size); \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linux_osl.h:156:41: note: in expansion of macro ‘memcpy’ 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3026:9: note: in expansion of macro ‘bcopy’ 3026 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN); | ^~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_proc_read’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3307:26: error: implicit declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’? [-Werror=implicit-function-declaration] 3307 | wl_info_t * wl = PDE_DATA(file_inode(filp)); | ^~~~~~~~ | NODE_DATA /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3307:26: warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_proc_write’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3364:26: warning: initialization of ‘wl_info_t *’ {aka ‘struct wl_info *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 3364 | wl_info_t * wl = PDE_DATA(file_inode(filp)); | ^~~~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:669:9: error: implicit declaration of function ‘pci_unmap_single’; did you mean ‘dma_unmap_single’? [-Werror=implicit-function-declaration] 669 | pci_unmap_single(osh->pdev, (uint32)pa, size, dir); | ^~~~~~~~~~~~~~~~ | dma_unmap_single cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:257: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:40: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 52 | if (wl_dbg_level & WL_DBG_DBG) { \ | ^ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:794:17: note: in expansion of macro ‘WL_DBG’ 794 | WL_DBG(("network eap\n")); | ^~~~~~ /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:795:9: note: here 795 | default: | ^~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:257: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o] Error 1 make: *** [Makefile:1850: /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build] Error 2 make: Leaving directory '/usr/src/linux-headers-5.19.0-43-generic' ProblemType: Package DistroRelease: Ubuntu 22.04 Package: broadcom-sta-dkms 6.30.223.271-17 ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17 Uname: Linux 5.19.0-43-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: pass DKMSKernelVersion: 5.19.0-43-generic Date: Mon Jun 5 22:25:09 2023 DuplicateSignature: dkms:broadcom-sta-dkms:6.30.223.271-17:/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:603:14: error: implicit declaration of function ‘pci_alloc_consistent’; did you mean ‘osl_dma_alloc_consistent’? [-Werror=implicit-function-declaration] InstallationDate: Installed on 2022-10-22 (225 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) PackageArchitecture: all PackageVersion: 6.30.223.271-17 Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: dpkg 1.21.1ubuntu2.2 apt 2.4.9 SourcePackage: broadcom-sta Title: broadcom-sta-dkms 6.30.223.271-17: broadcom-sta kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2022968/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp