1

I have a program compiled using glibc and I need it runs on a MIPS target with Openwrt firmware using uClibc. Is this possible? I put the program in Openwrt and when I try to run it the result is: not found.

What is the problem?

Thank you.

iteam
  • 11
  • 3

2 Answers2

2

uClibc is only API-compatible, not ABI-compatible with glibc.

You should re-compile the application. To do so (at least until you know the details going on behind the scenes) I recommend to use the openwrt buildroot (mostly because differences between the libraries lead to several incompatibilities). All you need is the toolchain.

BTW, the documentation may be severely outdated, if you feel something is wrong, go with the uClibc buildroot documentation.

Ismael Luceno
  • 2,055
  • 15
  • 26
0

More specificaly, the first place this will likely fail and cause the error you are seeing, is that the intepreter path specified in the executable (use readelf) does not exist

GroovyDotCom
  • 1,304
  • 2
  • 15
  • 29