I am trying to build AOSP kitkat for Canvas Magnus. While building i get this error and compiling stops. "Cannot find -lpthred" in <path-to-toolchain>/bin/ld. I have tried using android toolchain 4.8, 4.7 came along with source. I tried it with Linaro 4.7, still the same.
I tried searching on XDA & google but not much help found.
Under frameworks/compile/libcc/Android.mk i found this:
LOCAL_LDLIBS := -ldl -lpthread
Seems on non windows os (nix) its asking to use local LD Libs, I am using Mint 17, gcc version 4.8.2.
I need any help understanding why its failing. I don't need a fix, but if you can guide me in a direction i will be greatful.