-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
Hello,
i have couple of realtek Wifi USB dongles, all are failing on Bazzite 43 (Fedora 43 OST treee)best fastest is Realtek 8851BU.. There are is compiling / Bulding error.
Kernel 6.17 dev, dkms tools installed, but its ost tree hell.. I need it as gift for someone without wire ethernet, as Bazzite claims to be user friendly, they not include much drivers within it. I have tried various realtek dongles (8831 + old 150 Mbit), it was always the same, code is not clever enough to compile.
make
make \
ARCH=x86_64 \
CROSS_COMPILE= \
-C /lib/modules/6.17.7-ba20.fc43.x86_64/build \
M=/var/home/ruthan/rtl8851bu \
KCFLAGS=" -O1 -Wno-unused-variable -Wno-unused-label -Wno-unused -Wno-date-time -I/var/home/ruthan/rtl8851bu/include -DRTW_NETWORK_LINK_MAX=3 -DDTYPE=DEV_TYPE_LEGACY -DCONFIG_MP_INCLUDED -DCONFIG_CMD_DISP -DCONFIG_PHL_TEST_SUITE -DCONFIG_CONCURRENT_MODE -DCONFIG_POWER_SAVE -DCONFIG_BTC -DCONFIG_WIFI_6 -DCONFIG_EFUSE_CONFIG_FILE -DEFUSE_MAP_PATH=\"/system/etc/wifi/wifi_efuse_8851bu.map\" -DWIFIMAC_PATH=\"/data/wifimac.txt\" -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH=\"/lib/firmware/\" -DCONFIG_TXPWR_BY_RATE=1 -DCONFIG_TXPWR_BY_RATE_EN=1 -DCONFIG_TXPWR_LIMIT=1 -DCONFIG_TXPWR_LIMIT_EN=0 -DCONFIG_RTW_EDCCA_MODE_SEL=0 -DCONFIG_80211D -DCONFIG_RTW_COUNTRY_IE_SLAVE_EN_MODE=0 -DCONFIG_RTW_COUNTRY_IE_SLAVE_FLAGS=0x01 -DCONFIG_IEEE80211W -DCONFIG_LAYER2_ROAMING -DCONFIG_ROAMING_FLAG=0x3 -DHIGH_ACTIVE_HST2DEV=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME="'br0'"' -DCONFIG_RTW_NAPI -DCONFIG_RTW_GRO -DCONFIG_RTW_NETIF_SG -DCONFIG_PROC_DEBUG -DCONFIG_RTW_UP_MAPPING_RULE=0 -DPLATFORM_LINUX -DUSE_TRUE_PHY -DCONFIG_DBG_AX_CAM -DCONFIG_RTW_MBO -DCONFIG_RTW_WNM -DCONFIG_RTW_BTM_ROAM -DCONFIG_RTW_80211K -DCONFIG_RTW_80211R -DRTW_FT_DBG=0 -DRTW_WNM_DBG=0 -DRTW_MBO_DBG=0 -DCONFIG_LITTLE_ENDIAN -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -DCONFIG_RADIO_WORK -I/var/home/ruthan/rtl8851bu/platform" \
modules
make[1]: Entering directory '/usr/src/kernels/6.17.7-ba20.fc43.x86_64'
make[2]: Entering directory '/var/home/ruthan/rtl8851bu'
CC [M] os_dep/linux/ioctl_cfg80211.o
<command-line>: warning: ‘EFUSE_MAP_PATH’ redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: ‘WIFIMAC_PATH’ redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: ‘REALTEK_CONFIG_PATH’ redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: ‘CONFIG_BR_EXT_BRNAME’ redefined
<command-line>: note: this is the location of the previous definition
os_dep/linux/ioctl_cfg80211.c:208:6: warning: no previous prototype for ‘rtw_cfg80211_allow_ch_switch_notify’ [-Wmissing-prototypes]
208 | bool rtw_cfg80211_allow_ch_switch_notify(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:329:6: warning: no previous prototype for ‘rtw_2g_rates_init’ [-Wmissing-prototypes]
329 | void rtw_2g_rates_init(struct ieee80211_rate *rates)
| ^~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:336:6: warning: no previous prototype for ‘rtw_5g_rates_init’ [-Wmissing-prototypes]
336 | void rtw_5g_rates_init(struct ieee80211_rate *rates)
| ^~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:352:34: warning: no previous prototype for ‘rtw_spt_band_alloc’ [-Wmissing-prototypes]
352 | struct ieee80211_supported_band *rtw_spt_band_alloc(enum band_type band)
| ^~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:420:6: warning: no previous prototype for ‘rtw_spt_band_free’ [-Wmissing-prototypes]
420 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
| ^~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:519:36: warning: no previous prototype for ‘nl80211_iftype_to_rtw_network_type’ [-Wmissing-prototypes]
519 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:554:5: warning: no previous prototype for ‘nl80211_iftype_to_rtw_mlme_state’ [-Wmissing-prototypes]
554 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:2272:5: warning: no previous prototype for ‘cfg80211_rtw_set_default_mgmt_key’ [-Wmissing-prototypes]
2272 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy, struct net_device *ndev
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:2924:5: warning: no previous prototype for ‘rtw_cfg80211_is_target_wps_scan’ [-Wmissing-prototypes]
2924 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:5852:6: warning: no previous prototype for ‘dump_station_parameters’ [-Wmissing-prototypes]
5852 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params)
| ^~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:6354:18: warning: no previous prototype for ‘rtw_sta_info_get_by_idx’ [-Wmissing-prototypes]
6354 | struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num)
| ^~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:10354:6: warning: no previous prototype for ‘rtw_cfg80211_update_wiphy_max_txpower’ [-Wmissing-prototypes]
10354 | void rtw_cfg80211_update_wiphy_max_txpower(_adapter *adapter, struct wiphy *wiphy)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:10817:5: warning: no previous prototype for ‘cfg80211_rtw_external_auth’ [-Wmissing-prototypes]
10817 | int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:11020:29: error: initialization of ‘int (*)(struct wiphy *, int, u32)’ {aka ‘int (*)(struct wiphy *, int, unsigned int)’} from incompatible pointer type ‘int (*)(struct wiphy *, u32)’ {aka ‘int (*)(struct wiphy *, unsigned int)’} [-Wincompatible-pointer-types]
11020 | .set_wiphy_params = cfg80211_rtw_set_wiphy_params,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:11020:29: note: (near initialization for ‘rtw_cfg80211_ops.set_wiphy_params’)
os_dep/linux/ioctl_cfg80211.c:3614:12: note: ‘cfg80211_rtw_set_wiphy_params’ declared here
3614 | static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, u32 changed)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:11025:25: error: initialization of ‘int (*)(struct wiphy *, struct wireless_dev *, int, enum nl80211_tx_power_setting, int)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct wireless_dev *, enum nl80211_tx_power_setting, int)’ [-Wincompatible-pointer-types]
11025 | .set_tx_power = cfg80211_rtw_set_txpower,
| ^~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:11025:25: note: (near initialization for ‘rtw_cfg80211_ops.set_tx_power’)
os_dep/linux/ioctl_cfg80211.c:4608:12: note: ‘cfg80211_rtw_set_txpower’ declared here
4608 | static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
| ^~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:11026:25: error: initialization of ‘int (*)(struct wiphy *, struct wireless_dev *, int, unsigned int, int *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct wireless_dev *, unsigned int, int *)’ [-Wincompatible-pointer-types]
11026 | .get_tx_power = cfg80211_rtw_get_txpower,
| ^~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:11026:25: note: (near initialization for ‘rtw_cfg80211_ops.get_tx_power’)
os_dep/linux/ioctl_cfg80211.c:4648:12: note: ‘cfg80211_rtw_get_txpower’ declared here
4648 | static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/kernels/6.17.7-ba20.fc43.x86_64/scripts/Makefile.build:287: os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** [/usr/src/kernels/6.17.7-ba20.fc43.x86_64/Makefile:2047: .] Error 2
make[2]: *** [/usr/src/kernels/6.17.7-ba20.fc43.x86_64/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/home/ruthan/rtl8851bu'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernels/6.17.7-ba20.fc43.x86_64'
make: *** [Makefile:836: modules] Error 2
I have tried to download some dependencies, as in tutorial, but those are missing:
rpm-ostree install fakeroot build-essential ncurses-dev xz-utils libssl-dev libelf-dev
Inactive requests:
kernel-devel (already provided by kernel-devel-6.17.7-ba20.fc43.x86_64)
realtek-firmware (already provided by realtek-firmware-20251021ba0-0.fc43.noarch)
Checking out tree 45345f8... done
Enabled rpm-md repositories: updates fedora teamviewer terra-mesa copr:copr.fedorainfracloud.org:group_exotic-soc:oberon-governor updates-archive
Updating metadata for 'updates'... done
Updating metadata for 'terra-mesa'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:group_exotic-soc:oberon-governor'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'updates'; generated: 2025-12-18T00:50:01Z solvables: 16254
rpm-md repo 'fedora' (cached); generated: 2025-10-23T03:37:20Z solvables: 77664
rpm-md repo 'teamviewer' (cached); generated: 2025-12-16T07:20:46Z solvables: 65
rpm-md repo 'terra-mesa'; generated: 2025-12-18T00:39:44Z solvables: 105
rpm-md repo 'copr:copr.fedorainfracloud.org:group_exotic-soc:oberon-governor'; generated: 2025-11-13T08:40:51Z solvables: 4
rpm-md repo 'updates-archive'; generated: 2025-12-18T01:22:54Z solvables: 17778
error: Packages not found: build-essential, libelf-dev, libssl-dev, ncurses-dev, xz-utils
For other im asked if i want explicitly enable them, im not sure. If make just on works its too complicated for me.
Metadata
Metadata
Assignees
Labels
No labels