Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues compiling "Java Lang System" #10

Open
tiferrei opened this issue Jan 7, 2017 · 3 comments
Open

Some issues compiling "Java Lang System" #10

tiferrei opened this issue Jan 7, 2017 · 3 comments

Comments

@tiferrei
Copy link

tiferrei commented Jan 7, 2017

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

@tiferrei
Copy link
Author

tiferrei commented Jan 7, 2017

Also, which build target should I choose? I don't have any of the codenamed devices, is there a "standard" or generic one?

@error-try-again
Copy link

Did this ever get fixed?

@zoro34
Copy link

zoro34 commented Nov 14, 2019

Did this ever get fixed? Some issues compiling "Java Lang System"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants