Advertisement
Guest User

error-patch1

a guest
Sep 23rd, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 4.36 KB | None | 0 0
  1.   CC [M]  /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.o
  2. /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)'}
  3.  1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
  4.       | ^~~~~~~~~~~~~~~~~~~~
  5. /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)'}
  6.   710 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
  7.       | ^~~~~~~~~~~~~~~~~~~~
  8. /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':
  9. /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'
  10.  1184 |                 __mt7615_mcu_add_sta(phy->mt76, vif, sta, enable, MCU_EXT_CMD_STA_REC_UPDATE);
  11.       |                 ^~~~~~~~~~~~~~~~~~~~
  12. /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
  13.  1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
  14.       | ^~~~~~~~~~~~~~~~~~~~
  15. /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'
  16.  1185 |                 __mt7615_mcu_add_sta(phy->mt76, vif, NULL, false, MCU_EXT_CMD_STA_REC_UPDATE);
  17.       |                 ^~~~~~~~~~~~~~~~~~~~
  18. /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
  19.  1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
  20.       | ^~~~~~~~~~~~~~~~~~~~
  21. /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'
  22.  1186 |                 __mt7615_mcu_add_sta(phy->mt76, vif, NULL, true, MCU_EXT_CMD_STA_REC_UPDATE);
  23.       |                 ^~~~~~~~~~~~~~~~~~~~
  24. /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
  25.  1160 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
  26.       | ^~~~~~~~~~~~~~~~~~~~
  27. /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/mt7615/mcu.c: At top level:
  28. /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
  29.   710 | __mt7615_mcu_add_sta(struct mt76_phy *phy, struct ieee80211_vif *vif,
  30.       | ^~~~~~~~~~~~~~~~~~~~
  31. 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
  32. 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
  33. make[3]: *** [Makefile:1734: /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d] Error 2
  34. make[3]: Leaving directory '/home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.145'
  35. make[2]: *** [Makefile:427: /home/user/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2021-07-15-bbebea7d/.built] Error 2
  36. make[2]: Leaving directory '/home/user/openwrt/package/kernel/mt76'
  37. time: package/kernel/mt76/compile#9.81#1.22#10.71
  38.     ERROR: package/kernel/mt76 failed to build.
  39. make[1]: *** [package/Makefile:116: package/kernel/mt76/compile] Error 1
  40. make[1]: Leaving directory '/home/user/openwrt'
  41. make: *** [/home/user/openwrt/include/toplevel.mk:230: package/kernel/mt76/compile] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement