Kazagumo / OPi-Zero2-OPPatcher

add orange pi zero 2 support to a openwrt build system
14 stars 2 forks source link

Unable to compile with patches #5

Open stewartwatson321 opened 3 months ago

stewartwatson321 commented 3 months ago

If I try to compile openwrt after running replace.sh, I get this error:

_make[4]: Entering directory '/home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/backports-6.1.24' make[5]: 'Kconfig.versions' is up to date. make[6]: 'conf' is up to date. ./kconf/conf: 1: Syntax error: ")" unexpected make[5]: [Makefile.real:28: allnoconfig] Error 2 make[4]: [Makefile:121: allnoconfig] Error 2 make[4]: Leaving directory '/home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/backports-6.1.24' make[3]: [Makefile:403: /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/backports-6.1.24/.built] Error 2 make[3]: Leaving directory '/home/stewart/openwrt/package/kernel/mac80211' time: package/kernel/mac80211/regular/compile#0.28#0.11#0.35 ERROR: package/kernel/mac80211 failed to build (build variant: regular). make[2]: [package/Makefile:129: package/kernel/mac80211/compile] Error 1 make[2]: Leaving directory '/home/stewart/openwrt' make[1]: [package/Makefile:123: /home/stewart/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/stewart/openwrt' make: [/home/stewart/openwrt/include/toplevel.mk:233: world] Error 2_

I can compile OK if I comment in replace.list:

_package/boot/arm-trusted-firmware-sunxi/ package/boot/uboot-sunxi/

package/kernel/mac80211/

target/linux/sunxi/_

but then I have no wifi support.

Can anyone help?

Thank you!

amirhosseinchoghaei commented 6 days ago

Hi there ... did you compile orange pi zero 2 ????

stewartwatson321 commented 6 days ago

hi - i had no luck at all compiling for orange pi zero 2... tried everything :( if you do have some success, please share... i still need openwrt on orangepi zero 2 with wifi very much!

amirhosseinchoghaei commented 6 days ago

hi - i had no luck at all compiling for orange pi zero 2... tried everything :( if you do have some success, please share... i still need openwrt on orangepi zero 2 with wifi very much!

Yeah me too ...