Thank you Lazar, easy when you can find the correct docs :)
Posts made by crispyoz
I need to configure SSL on my Omega2+ uhttpd but all the documentation I can find refers to modules that opkg can't locate and nothing similar appears in the opkg list. polarssl, mbedtls, cyalssl, openssl
OpenWRT refers to an automatic generation of cretificates if I use:
"luci-ssl meta-package which in turn will pull also the px5g script"
I guess I could generate the certificates on my linux machine but if I do so would uhttpd not require an SSL module to utilise the keys?
RE: VM or Docker container for LEDE development in C/C++ ?
@mawg I have a VM i can share if you need one.
RE: Can't build LEDE under Linux
@mawg I agree, getting set up on C/C++ frustrated the hell out of me. But fortunately I run Linux under VMWare so it is easy to switch between the various versions or roll back to previous functioning installations.
It seems that most are using the Docker image but I find Docker horribly slow on my Surface Pro Win10Pro x64,16GB RAM on i7. VMWare performs flawlessly and outperforms Docker 100:1.
Once I had everything compiled on Ubuntu 17, I just upgraded to 18LTS and have been developing on 18LTS for the last month or so without any issues. From what I have gleaned from googling, this is not an Omega issue, the errors relate to some changes to the GNU libs.
RE: [SOLVED] Docker Image compilation fails
I had a similar issue building on Ubuntu 18, my research found there are some issues reported to the maintainers relating to this error, as I recall there is a beta patch circulating.
I just installed Ubuntu 17.10 instead and this resolved the issue.
RE: Cross Compiling
Daniel that is an interesting idea, but I expect it will quite slow given the overhead.
I'm currently building the the LEDE system on the docker image running on my Surface 4, i7, 16GB, Windows 10 Pro 64Bit the build has been running for about 18 hours and still has not completed. The same build on the same machine but running Ubuntu 17 on VMWare Workstation Pro 15, builds in about 2 hours.
RE: Cross Compiling
There seems to be a problem in the documentation as it states:
"If you’re using our omega2-source Docker image or building based on our source GitHub repo, you’re all good as it’s selected for compilation by default."
The source repo doesn't contain the source files for the libraries so they don't get built. It looks like Omega wants us to use Docker as the docs continually refer to docker as does the examples. Docker cannot coexist on windows with VMWare so it's not an option for me. I've wasted hours trying to get this to work and still no luck.
I've followed the docs to set up my environment on Ubuntu 17.10, I can create a basic app so long as I do not refer to the Onion specific functions.
I installed the header files and the lib*.so, however my build continues to fail. I'm attaching an example of my error here, can anyone see what I am missing please? I'm very rusty on my C so I might just be missing something obvious. Thank you !