You are not logged in.
Although it works fine for 5.15.73, on 6.0.1 I now get
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.0.1-arch1-1
Error! Bad return status for module build on kernel: 6.0.1-arch1-1 (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.0.1-arch1-1' exited 10Checking /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log shows me
DKMS make.log for broadcom-wl-6.30.223.271 for kernel 6.0.1-arch1-1 (x86_64)
Thu Oct 13 03:44:18 PM EDT 2022
make: Entering directory '/usr/lib/modules/6.0.1-arch1-1/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_iw.o
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.o
CC [M] /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.c:1104:35: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
1104 | 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/lib/dkms/broadcom-wl/6.30.223.271/build/src/include/linuxver.h:65,
from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.c:25:
./include/linux/fs.h:3005:43: note: expected ‘void *’ but argument is of type ‘loff_t’ {aka ‘long long int’}
3005 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.c:1104:44: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast [-Wint-conversion]
1104 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| char *
./include/linux/fs.h:3005:51: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘char *’
3005 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/shared/linux_osl.c:1104:49: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
1104 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| int
./include/linux/fs.h:3005:59: note: expected ‘loff_t *’ {aka ‘long long int *’} but argument is of type ‘int’
3005 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~~~
In file included from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:81:
/var/lib/dkms/broadcom-wl/6.30.223.271/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:191,
from ./include/linux/netdevice.h:38,
from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/include/linuxver.h:69,
from /var/lib/dkms/broadcom-wl/6.30.223.271/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/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_linux.c:786:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
786 | if ((val & 0x0000ff00) != 0)
| ^~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/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);
| ^~~~~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_bss_roaming_done’:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:2384:18: error: ‘struct cfg80211_roam_info’ has no member named ‘bss’
2384 | .bss = bss,
| ^~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:2384:24: error: initialization of ‘const u8 *’ {aka ‘const unsigned char *’} from incompatible pointer type ‘struct cfg80211_bss *’ [-Werror=incompatible-pointer-types]
2384 | .bss = bss,
| ^~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:2384:24: note: (near initialization for ‘roam_info.req_ie’)
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:2383:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
2383 | struct cfg80211_roam_info roam_info = {
| ^~~~~~
In file included from /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:40:
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
/var/lib/dkms/broadcom-wl/6.30.223.271/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/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:793:17: note: in expansion of macro ‘WL_DBG’
793 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:794:9: note: here
794 | default:
| ^~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:249: /var/lib/dkms/broadcom-wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1852: /var/lib/dkms/broadcom-wl/6.30.223.271/build] Error 2
make: Leaving directory '/usr/lib/modules/6.0.1-arch1-1/build'Last edited by Zodigram (2022-10-13 20:13:37)
Offline
Please edit your post and put [code] [/code] tags around all commands and their outputs, it makes things much easier to read for everyone.
https://bbs.archlinux.org/help.php#bbcode
Also search the forums before posting...
https://bbs.archlinux.org/viewtopic.php?id=280423
Offline
Thanks for letting me know about the code tags
I also did search within the Kernel & Hardware section for any similar post, but I guess I overlooked the Newbie Corner
Offline