I am kind of new to building openWRT firmware. I have been trying to get a good build for x86_64 with full DVB drivers support in order to use it with TVheadend, among other custom things. I am using a dell WYSE 5070 as the hardware with an asia rf 7915e wifi card and every build so far that i got to compile will not work with that wifi card yet which is why i tried getting the latest kernel version in my builds. I thought i had a good build just a couple weeks ago but i believe the pull i used to build from had just been moved to the APK package system and no packages were available for it so that build was dead in the water as soon as i flashed it to the emmc, although tvheadend and all of the dvb drivers were compiled into the kernel and tvheadend worked fine but luci was not compiled into it and couldnt be downloaded due to no apk packages being available and almost every subsequent build failed mostly due to apk versioning for various packages and it became a huge inconvenience to have to sort out one by one which packages would not build while doing a make clean between each attempt and wait hours just for it to fail with another package. So i saw on the forum someone said all package versioning had been fixed in the latest master pull so i pulled the latest master within the last 24 hours and am now attempting to build again. I have started out by choosing more packages and drivers that i will need to use immediately so this error i am about to post doesnt really affect me as i dont have the hardware to use the code at this time any may never have it in the future. The build seemed to fail while compiling the 8366 phy driver, the following the the error message....
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_debugfs_init':
drivers/net/phy/rtl8366_smi.c:944:14: error: void value not ignored as it ought to be
944 | node = debugfs_create_x16("reg", S_IRUGO | S_IWUSR, root,
| ^
drivers/net/phy/rtl8366_smi.c:968:14: error: void value not ignored as it ought to be
968 | node = debugfs_create_u8("vlan_4k_page", S_IRUGO | S_IWUSR, root,
| ^
make[10]: *** [scripts/Makefile.build:243: drivers/net/phy/rtl8366_smi.o] Error 1
make[9]: *** [scripts/Makefile.build:480: drivers/net/phy] Error 2
make[9]: *** Waiting for unfinished jobs....
make[8]: *** [scripts/Makefile.build:480: drivers/net] Error 2
make[8]: *** Waiting for unfinished jobs....
make[7]: *** [scripts/Makefile.build:480: drivers] Error 2
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/home/jason/Downloads/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.63/Makefile:1921: .] Error 2
make[5]: *** [Makefile:234: __sub-make] Error 2
make[4]: *** [Makefile:25: /home/jason/Downloads/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.63/.modules] Error 2
make[3]: *** [Makefile:12: compile] Error 2
make[2]: *** [target/Makefile:32: target/linux/compile] Error 1
make[1]: *** [target/Makefile:25: /home/jason/Downloads/openwrt/staging_dir/target-x86_64_musl/stamp/.target_compile] Error 2
make: *** [/home/jason/Downloads/openwrt/include/toplevel.mk:248: world] Error 2
well while i was typing the above post, the very next build attempt failed during compiling the mt7915 driver and i am pretty sure i absolutely need this code....
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c: In function 'mt7915_mmio_wed_init_rx_buf':
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:628:38: error: initialization of 'struct mtk_rxbm_desc *' from incompatible pointer type 'struct mtk_wed_bm_desc *' [-Werror=incompatible-pointer-types]
628 | struct mtk_rxbm_desc *desc = wed->rx_buf_ring.desc;
| ^~~
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:657:21: error: invalid use of undefined type 'struct mtk_rxbm_desc'
657 | desc->buf0 = cpu_to_le32(addr);
| ^~
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:664:21: error: invalid use of undefined type 'struct mtk_rxbm_desc'
664 | desc->token |= cpu_to_le32(FIELD_PREP(MT_DMA_CTL_TOKEN,
| ^~
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:666:21: error: increment of pointer to an incomplete type 'struct mtk_rxbm_desc'
666 | desc++;
| ^~
cc1: all warnings being treated as errors
make[13]: *** [scripts/Makefile.build:243: drivers/net/wireless/mediatek/mt76/mt7915/mmio.o] Error 1
make[12]: *** [scripts/Makefile.build:480: drivers/net/wireless/mediatek/mt76/mt7915] Error 2
make[12]: *** Waiting for unfinished jobs....
make[11]: *** [scripts/Makefile.build:480: drivers/net/wireless/mediatek/mt76] Error 2
make[10]: *** [scripts/Makefile.build:480: drivers/net/wireless/mediatek] Error 2
make[9]: *** [scripts/Makefile.build:480: drivers/net/wireless] Error 2
make[9]: *** Waiting for unfinished jobs....
make[8]: *** [scripts/Makefile.build:480: drivers/net] Error 2
make[8]: *** Waiting for unfinished jobs....
make[7]: *** [scripts/Makefile.build:480: drivers] Error 2
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/home/jason/Downloads/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.63/Makefile:1921: .] Error 2
make[5]: *** [Makefile:234: __sub-make] Error 2
make[4]: *** [Makefile:25: /home/jason/Downloads/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.63/.modules] Error 2
make[3]: *** [Makefile:12: compile] Error 2
make[2]: *** [target/Makefile:32: target/linux/compile] Error 1
make[1]: *** [target/Makefile:25: /home/jason/Downloads/openwrt/staging_dir/target-x86_64_musl/stamp/.target_compile] Error 2
make: *** [/home/jason/Downloads/openwrt/include/toplevel.mk:248: world] Error 2