|
wulishui 发表于 2022-9-7 13:19
不关op版本事,关mt76版本的事,编译通不过的话得自己修改一下
大神在openwrt21.02.5版本中使用你提供的ap补丁编译报错,请问要怎么修改?具体报错如下 补充下 驱动就是21.02.5自带
/home/liuxichi/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2021-12-03-678071ef/mt7921/mcu.c: In function 'mt7921_mcu_uni_add_beacon_offload':
/home/liuxichi/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2021-12-03-678071ef/mt7921/mcu.c:1443:39: error: implicit declaration of function 'MCU_UNI_CMD'; did you mean 'MT_MCU_CMD'? [-Werror=implicit-function-declaration]
return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD(BSS_INFO_UPDATE),
^~~~~~~~~~~
MT_MCU_CMD
/home/liuxichi/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2021-12-03-678071ef/mt7921/mcu.c:1443:51: error: 'BSS_INFO_UPDATE' undeclared (first use in this function); did you mean 'IFLA_INFO_DATA'?
return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD(BSS_INFO_UPDATE),
^~~~~~~~~~~~~~~
IFLA_INFO_DATA
/home/liuxichi/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2021-12-03-678071ef/mt7921/mcu.c:1443:51: note: each undeclared identifier is reported only once for each function it appears in
/home/liuxichi/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2021-12-03-678071ef/mt7921/mcu.c:1445:1: error: control reaches end of non-void function [-Werror=return-type]
}
^ |
|