Wednesday, December 26, 2012

The Sources Need Minor Tweaks for a 32-Bit Build.


Final preps concluded, I guess I'm finally ready to try the big Android build on my little machine. Sadly, when I do it, it fails after half an hour.

frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Error 1

Googling a bit, I wind up at "You can't build from Gingerbread forward with a 32-bit machine." Which is what I have.

Harumph.

Well, perhaps I'm not the first person to face this. Another google shows I'm not, and there's ways past this.

The post lists three sets of changes I need to make to build files in the system to permit a build on a 32-bit host. TI seems already to have made he first.  I'll make the other two and try again.

No comments:

Post a Comment