Hi!
I am trying to build a sub project from android 2.3.7. I am using Ubuntu 12.04, GNU Make 3.81, Oracle Java 1.6.0_45, and generic-eng target.
When I go to my desired sub-directory, namely development/cmds/monkey, and issue mm this is what I get:
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/core_intermediates/javalib.jar', needed by `out/target/common/obj/JAVA_LIBRARIES/monkey_intermediates/classes-full-debug.jar'. Stop.
When I use make monkey from the root directory, I get this error:
frameworks/base/libs/utils/RefBase.cpp:507: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
Event when I try to build the whole thing using command m, this is what I get:
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
Any idea?
Thank you :)