Skip to content

Some issues compiling "Java Lang System" #10

Description

@tiferrei

Hello there,

I was trying to compile AOPP (and it was doing so for a couple hours) but then reached an error on the file libcore/luni/src/main/native/java_lang_System.cpp:

. . .
target thumb C++: libjavacore <= libcore/luni/src/main/native/AsynchronousCloseMonitor.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/IcuUtilities.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/JniException.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/NetworkUtilities.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/Register.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/ZipUtilities.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/android_system_OsConstants.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/canonicalize_path.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/cbigint.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_io_File.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_io_FileDescriptor.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_io_ObjectStreamClass.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_Character.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_Double.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_Float.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_Math.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_ProcessManager.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_RealToString.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_StrictMath.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_StringToReal.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_lang_System.cpp
target thumb C++: libjavacore <= libcore/luni/src/main/native/java_math_NativeBN.cpp
libcore/luni/src/main/native/java_lang_System.cpp: In function 'void System_closeLogSockets(JNIEnv*, jclass)':
libcore/luni/src/main/native/java_lang_System.cpp:66:23: error: '__android_log_close' was not declared in this scope
   __android_log_close();
                       ^
build/core/binary.mk:619: recipe for target '/media/DRIVE2/AOPP/out/target/product/deb/obj/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/java_lang_System.o' failed
make: *** [/media/DRIVE2/AOPP/out/target/product/deb/obj/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/java_lang_System.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/media/DRIVE2/AOPP'

#### make failed to build some targets (03:05:14 (hh:mm:ss)) ####

Could this be an error related to Lollipop? Would building AOPP on top of a mroe recent Android version fix the issue?

Thank you,
tiferrei

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions