-
Notifications
You must be signed in to change notification settings - Fork 10
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
luci-svd are not compiling in OpenWRT 18.06 and 19.07 #10
Comments
I'm not sure it will fix this issue, but try adding a dependency to luci-compat in the luci-svd makefile, i.e., the line should read
|
unfortunately did not help ((( |
I'm setting up a build environment for openwrt 19.07 so I can see what's happening. It will take a while though. |
I also compiled in OpenWRT SDK https://downloads.openwrt.org/releases/19.07.2/targets/lantiq/xway/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64.tar.xs |
I just built it with no errors.
I added my packages (src-link custom /media/luca/bckup/packages/danube-voip) to feeds.conf.default then
copied over my old config and make menuconfig to update it then
this one failed compiling ltq-ifxos, so I did a plain
that also failed compiling trace-cmd but it compiled the kernel, so issuing a
this time worked and generated all packages (libab, sofia-sip, svd and lucy-svd). I cannot tell if they work but I don't see the same error as you. |
I also tried with the sdk in your comment and using this github repository in my feeds.conf.default (in case my copy was out of sync, but I checked that) and it compiled with no errors.
|
It’s strange. Just done an experiment. Deployment on VirualBox ubuntu-18.04.4-server-amd64.iso
Cut out. The errors are the same as your
What am I doing wrong? |
I don't know. I'm using ubuntu 19.10 though (I don't think that should make a difference but one never knows). |
I tried compiling with -j1 V=sc and I see that the command that fails in your case succeeds in mine and it is the same:
Another thing: I didn't issue a "make package/lua/compile", I just left it to "make package/luci-svd/compile" which compiled it as a dependency (as well as many other packages, I don't see in your output but I suppose you just cut that out). |
Oh, and I do find lua.h inside the sdk:
|
Shoot me: I just found out that I also have the lua dev package in my host, most probably that's what makes a difference:
|
Installed liblua5.1-0-dev. The error is the same. But ... I added to luci-svd/files/po-src/Makefile
and compiled without errors. Victory! Checked on clean Ubuntu-19.10. The problem is the same - the solution is the same |
Mmh, I think a long time ago I manually created symbolic links for the lua headers:
that's why I don't need to add -I/usr/include/lua5.1. |
Oops, I used TPL_LDFLAGS instead of TPL_CFLAGS. Really fixed now. Notice that now the package is named luci-app-svd. |
FYI, the dependency on luci-compat is really needed. Added in commit 72ef452 |
It’s strange. I normally compiled v19.07.2 without luci-compat. True, I have not yet tested the workability ... |
Yes, it does compile but it doesn't work once installed on the device. |
luci-svd are not compiling in OpenVrt 18.06 and 19.07.
How to fix it?
The text was updated successfully, but these errors were encountered: