Monday, March 11, 2013

[Android] undefined references

If you get a ton of undefined references, for methods/functions that you're sure are defined. Make sure to add:

"LOCAL_ALLOW_UNDEFINED_SYMBOLS := true" to your Android.mk file.

Reasoning is given here:

http://stackoverflow.com/questions/7209971/ndk-build-undefined-reference-to-errors-when-statically-linking-to-libxml-a

No comments: