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
Compile on GL.iNet GL-SFT1200 #38
Comments
You need to setup an OpenWrt development environment, here you find instructions for it: https://openwrt.org/docs/guide-developer/start |
Ah that explains it! Your link to the OpenWrt developer docs talks about installing a development environment on say a PC and using cross-compilation to compile a binary for the target device - my MIPS router. Is the 'package' directory I mentioned above part of the OpenWrt source and I need to (re)compile OpenWrt with ddserver embedded in it (I hope this is not the case)? Can I instead simply install some development packages on my router and compile on my router? |
Sorry but I'm not an OpenWrt expert. I installed the complete development environment and did the build that way. Eventually you could try the SDK and build with it but don't know if it will work and I can't help you with it as don't have any experience with the SDK. |
OK thanks a lot - you've pointed me in the right direction. :-) |
I got it working - far easier than I'd ever imagined...
This needed a couple of tries before I got it working. |
I'm trying to compile ddserver on my GL.iNet GL-SFT1200 router.
https://docs.gl-inet.com/en/3/specification/gl-sft1200/
The router runs OpenWRT and has a MIPS SF19A28 CPU.
https://www.siflower.com.cn/en/products/detail/7
git clone git://github.com/hubaiz/DslrDashboardServer package/DslrDashboardServer
fails but this next one works:
git clone https://github.com/hubaiz/DslrDashboardServer package/DslrDashboardServer
I then run:
make menuconfig
and get:
make: *** No rule to make target 'menuconfig'. Stop.
If I move into the 'package' directory I get the same result when I run the same command.
And if I move into the 'DslrDashboardServer' directory and run the same command I get:
Makefile:13: /package.mk: No such file or directory
make: *** No rule to make target '/package.mk'. Stop.
My 'package' directory in locate at:
/root/package/DslrDashboardServer
Is OpenWRT expecting my package directory to be somewhere else and that is required in order for the 'make menuconfig' command to succeed?
The text was updated successfully, but these errors were encountered: