This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cannot locate symbol "log2" referenced by "libMGD.so" Android firmware 4.2.2

Hello,

Recently I'm trying to debug using MGD on an unrooted device.

The device is Alcatel One Touch IdolX+ (6043D).

I followed the guide, and I got that error. This doesn't happen in firmware 4.3 and above.

I've checked in my NDK, in "platforms\android-<API_LEVEL>\arch-arm\usr\include" folder and found that "log2" isn't present in firmware 17 and below.

there is only "log2l". Is this the cause of the error?

if so is there any workaround to solve this?

I'm using NDK r12b.

Parents
  • Well, in the NDK, it seems that the symbol is present in libm_hard.so. Can you check the libm.so of your system, see if it contains log2 ? Something like

    grep log2 /system/lib/libm.so

    might do the trick.

     

    Also, what command precisely returns this error ?

Reply
  • Well, in the NDK, it seems that the symbol is present in libm_hard.so. Can you check the libm.so of your system, see if it contains log2 ? Something like

    grep log2 /system/lib/libm.so

    might do the trick.

     

    Also, what command precisely returns this error ?

Children