Hello, hope you are doing well. I am developing software for the custom router device built on OpenWrt (for about 2 weeks). I was provided the SDK by developer of the router and need to implement mosquitto client, and it appears that mosquitto requires libraries, one after another, which are not present in the SDK I have. As I understand, compiler executable used is "arm-openwrt-linux-uclibcgnueabi-gcc".
Is there any way, or documentation for (important!) extremely noob level how to add libraries into the SDK or how to build custom fully-loaded SDK under Ubuntu 16.04 LTS?
Thank you in advance.
16.04 LTS is ancient. and OpenWRT hasn't used versioning like 3.18.29 in a VERY long time.
Building a custom SDK would require you to have a full source tree, and chances are highly likely that your client made significant changes that were never upstreamed.
I don't know if OpenWRT still supports hardware that old, i.MX287 is also ancient - even moreso than much newer products which OpenWRT dropped due to insufficient RAM/flash, so chances are likely you wouldn't even be able to support that device with recent OpenWRT source code.
I think, motivation to work on ancient Openwrt derivatives will be pretty much non-existent, if you dont want to throw around lots of money.
Your best bet is to ask your the hardware supplier into getting the board supported, or giving you enough info to get the board supported yourself.
I think, there are linux kernel sources for MX287 for 4.4+, but not sure, if in in mainline linux tree.
Mainline linux kernel support is mandatory for any board wanting to be supported by real Openwrt. (AFAIK).