Please also notice that the problem might also be in the build setup. Normally, there is a "configure" step that checks the build environment at runtime: Which compiler is available, if all needed libraries are present, where any auxiliary tools are (e.g. 'install'). I don't see any such step in your build log. Is there really none? Or did you maybe simply reuse an existing build from a previous Linux installation? For building software on a new Linux, it is highly recommended to start from scratch; i.e. execute a "make clean" as the first step, then do the "configure" step again, and then build. In most build environments, most of that should work automatically; depending on what build tools they used (GNU autotools? CMake?). If it's a hand-crafted Makefile, that may or may not be available; in that case, you'd have to do more things manually. This is where you need to read the documentation carefully, or ask in an OpenWRT user forum.