https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287695
Bug ID: 287695 Summary: Compile error in BWN Product: Base System Version: 14.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: tom.mccl...@gmail.com Compilation of kernel fails with error in BWN driver on 14.3-RELEASE. To reproduce, as root: 1. Back up existing source tree to /usr/src.original 2. Download a fresh copy of 14.3-RELEASE source tree, extract archive to /usr/src 3. copy /usr/src/sys/amd64/conf/GENERIC to /usr/src/sys/amd64/conf/WIRELESS 4. edit /usr/src/sys/amd64/conf/WIRELESS to 4a. uncomment line 297, 4b. insert new line 298 "options BWN_GPL_PHY", 4c. insert new line 299 "options BWN_DEBUG". 5. "cd /usr/src/" 6. "make buildkernel KERNCONF=WIRELESS" compilation fails with error message /usr/src/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_ppr.c:250:11: error: comparison of different enumeration types ('bwn_phy_band_t' and 'bwn_band_t') [-Werror,-Wenum-compare] 250 | if (band == BWN_BAND_2G) { | ~~~~ ^ ~~~~~~~~~~~ 1 error generated. -- You are receiving this mail because: You are the assignee for the bug.