Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC [M] /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.o
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1160:1: error: conflicting types for '__mt7615_mcu_add_sta'; have 'int(struct mt76_phy *, struct ieee80211_vif *, struct ieee80211_sta *, bool, int, bool)' {aka 'int(struct mt76_phy *, struct ieee80211_vif *, struct ieee80211_sta *, _Bool, int, _Bool)'}
- 1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:710:1: note: previous declaration of '__mt7615_mcu_add_sta' with type 'int(struct mt76_phy *, struct ieee80211_vif *, struct ieee80211_sta *, bool, int)' {aka 'int(struct mt76_phy *, struct ieee80211_vif *, struct ieee80211_sta *, _Bool, int)'}
- 710 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c: In function 'mt7615_mcu_add_sta':
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1184:17: error: too few arguments to function '__mt7615_mcu_add_sta'
- 1184 | __mt7615_mcu_add_sta(phy->mt76, vif, sta, enable, MCU_EXT_CMD_STA_REC_UPDATE);
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1160:1: note: declared here
- 1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1185:17: error: too few arguments to function '__mt7615_mcu_add_sta'
- 1185 | __mt7615_mcu_add_sta(phy->mt76, vif, NULL, false, MCU_EXT_CMD_STA_REC_UPDATE);
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1160:1: note: declared here
- 1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1186:17: error: too few arguments to function '__mt7615_mcu_add_sta'
- 1186 | __mt7615_mcu_add_sta(phy->mt76, vif, NULL, true, MCU_EXT_CMD_STA_REC_UPDATE);
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:1160:1: note: declared here
- 1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
- | ^~~~~~~~~~~~~~~~~~~~
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c: At top level:
- /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c:710:1: warning: '__mt7615_mcu_add_sta' used but never defined
- 710 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
- | ^~~~~~~~~~~~~~~~~~~~
- make[5]: *** [scripts/Makefile.build:262: /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.o] Error 1
- make[4]: *** [scripts/Makefile.build:497: /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615] Error 2
- make[3]: *** [Makefile:1734: /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d] Error 2
- make[3]: Leaving directory '/home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.145'
- make[2]: *** [Makefile:427: /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/.built] Error 2
- make[2]: Leaving directory '/home/user/openwrt/package/kernel/mt76'
- time: package/kernel/mt76/compile#9.81#1.22#10.71
- ERROR: package/kernel/mt76 failed to build.
- make[1]: *** [package/Makefile:116: package/kernel/mt76/compile] Error 1
- make[1]: Leaving directory '/home/user/openwrt'
- make: *** [/home/user/openwrt/include/toplevel.mk:230: package/kernel/mt76/compile] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement