这是indexloc提供的服务,不要输入任何密码
Skip to content

MT76 package compilation error #133

@zhengping-zhang

Description

@zhengping-zhang

/home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/npu.c: In function 'mt76_npu_init':
/home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/npu.c:450:15: error: too many arguments to function 'airoha_npu_get'
450 | npu = airoha_npu_get(dev->dev, NULL);
| ^~~~~~~~~~~~~~
In file included from /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt76.h:17,
from /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/npu.c:10:
./include/linux/soc/airoha/airoha_offload.h:211:20: note: declared here
211 | struct airoha_npu *airoha_npu_get(struct device *dev);
| ^~~~~~~~~~~~~~
/home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/npu.c:453:23: error: too many arguments to function 'airoha_npu_get'
453 | npu = airoha_npu_get(dev->dev, NULL);
| ^~~~~~~~~~~~~~
./include/linux/soc/airoha/airoha_offload.h:211:20: note: declared here
211 | struct airoha_npu *airoha_npu_get(struct device *dev);
| ^~~~~~~~~~~~~~
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt76_connac_mcu.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/mac.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt76_connac_mac.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/debugfs.o
make[5]: *** [scripts/Makefile.build:243: /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/npu.o] Error 1
make[5]: *** Waiting for unfinished jobs....
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/mmio.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt7996/vendor.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/npu.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt7996/coredump.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/testmode.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt7996/mtk_debugfs.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/mtk_mcu.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt7996/mtk_debugfs_i.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/trace.o
CC [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77/mt7996/debug.o
LD [M] /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1ecca0e77/mt7996/mt7996e.o
make[4]: *** [/home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/linux-6.6.79/Makefile:1916: /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1
ecca0e77] Error 2
make[3]: *** [Makefile:234: __sub-make] Error 2
make[3]: Leaving directory '/home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/linux-6.6.79'
make[2]: *** [Makefile:734: /home/sd5/work/zhengping/opwrt_stable/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-airoha_an7581/mt76-2024.10.11.1~ecca0e77/.built] Error 2
make[2]: Leaving directory '/home/sd5/work/zhengping/opwrt_stable/openwrt/package/kernel/mt76'
time: package/kernel/mt76/compile#36.70#5.45#5.42
ERROR: package/kernel/mt76 failed to build.
make[1]: *** [package/Makefile:179: package/kernel/mt76/compile] Error 1
make[1]: Leaving directory '/home/sd5/work/zhengping/opwrt_stable/openwrt'
make: *** [/home/sd5/work/zhengping/opwrt_stable/openwrt/include/toplevel.mk:233: package/kernel/mt76/compile] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions