lazywalker / mmdvm-openwrt

MMDVM Suite for OpenWrt
GNU General Public License v2.0
28 stars 24 forks source link

Build Failure on OLED branch #2

Open A4EVA opened 3 years ago

A4EVA commented 3 years ago

Hi, I tried to build the code from the main branch and it did without any problem but, if I select the branch for the OLED support the build process fail at apply patch 1. Below you find the error of the build process:

Applying ./patches/001-log-localtime.patch using plaintext: can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|diff --git a/Log.cpp b/Log.cpp |--- a/Log.cpp |+++ b/Log.cpp

No file to patch. Skipping patch. 2 out of 2 hunks ignored Patch failed! Please fix ./patches/001-log-localtime.patch!

Are you aware of this behaviour do I need to do something specific to build this code ?

jumbo77 commented 3 years ago

hi,pls try remove ./patches/001-log-localtime.patch then make again. it is openwrt v19.07.x right?

A4EVA commented 3 years ago

Hello, yes openwrt is 19.07.x, by the way the build this time fail at patch 2 for the same error, I removed even the patch 02 and tried to build again, then it failed for this error at the end: cp: cannot stat '/home/userx86/openwrt/build_dir/target-mipsel_24kc_musl/mmdvm-host-1.2.0/Makefile.Pi.OLED': No such file or directory make[2]: *** [Makefile:87: /home/userx86/openwrt/build_dir/target-mipsel_24kc_musl/mmdvm-host-1.2.0/.prepared_c22df9a06b06fbb9b57fa28b37b52735_6664517399ebbbc92a37c5bb081b5c53] Error 1 make[2]: Leaving directory '/home/userx86/openwrt/feeds/mmdvm/mmdvm-host' time: package/feeds/mmdvm/mmdvm-host/compile#0.10#0.02#0.12 ERROR: package/feeds/mmdvm/mmdvm-host failed to build. make[1]: *** [package/Makefile:116: package/feeds/mmdvm/mmdvm-host/compile] Error 1 make[1]: Leaving directory '/home/userx86/openwrt' make: *** [/home/userx86/openwrt/include/toplevel.mk:230: package/mmdvm/compile] Error 2

A4EVA commented 3 years ago

Hello, did you had time to check the makefile for the OLED ?

jumbo77 commented 3 years ago

hi, pls add a path for /Volumes/Dev/mmdvm/MMDVMHost files then add pathes to path MMDVMHost then change mmdvm-host Makefile to enable PKG_SOURCE not #PKG_SOURCE to fix this bug

A4EVA commented 3 years ago

Hi, sorry but I did not understood what I'm supposed to do ...