Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure on OLED branch #2

Open
A4EVA opened this issue Jul 30, 2021 · 5 comments
Open

Build Failure on OLED branch #2

A4EVA opened this issue Jul 30, 2021 · 5 comments

Comments

@A4EVA
Copy link

A4EVA commented Jul 30, 2021

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
Copy link
Contributor

jumbo77 commented Aug 3, 2021

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

@A4EVA
Copy link
Author

A4EVA commented Aug 3, 2021

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
Copy link
Author

A4EVA commented Aug 7, 2021

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

@jumbo77
Copy link
Contributor

jumbo77 commented Nov 22, 2021

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
Copy link
Author

A4EVA commented Nov 22, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants