Omni compile error

Search This thread

sickkside13

Senior Member
Jul 15, 2012
1,076
1,013
Chicago
well i been tryng to compile Omni rom and i cant get past this error need help.
Code:
Export includes file: bootable/recovery/updater/Android.mk -- /home/chava/android/omni/out/target/product/mb886/obj/EXECUTABLES/updater_intermediates/export_includes
APK certs list: /home/chava/android/omni/out/target/product/mb886/obj/PACKAGING/apkcerts_intermediates/omni_mb886-apkcerts-eng.chava.txt
Import includes file: /home/chava/android/omni/out/host/linux-x86/obj/EXECUTABLES/fs_config_intermediates/import_includes
make: *** No rule to make target `/home/chava/android/omni/out/host/linux-x86/bin/unpackbootimg', needed by `/home/chava/android/omni/out/target/product/mb886/omni_mb886-ota-eng.chava.zip'.  Stop.
make: *** Waiting for unfinished jobs....
Export includes file: build/tools/fs_config/Android.mk -- /home/chava/android/omni/out/host/linux-x86/obj/EXECUTABLES/fs_config_intermediates/export_includes
# In case value of PACKAGES is empty.

real	4m5.351s
user	4m41.026s
sys	0m15.305s
chava@chava-Satellite-L875D:~/android/omni$
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,088
25,086
Owego, NY
well i been tryng to compile Omni rom and i cant get past this error need help.
Code:
Export includes file: bootable/recovery/updater/Android.mk -- /home/chava/android/omni/out/target/product/mb886/obj/EXECUTABLES/updater_intermediates/export_includes
APK certs list: /home/chava/android/omni/out/target/product/mb886/obj/PACKAGING/apkcerts_intermediates/omni_mb886-apkcerts-eng.chava.txt
Import includes file: /home/chava/android/omni/out/host/linux-x86/obj/EXECUTABLES/fs_config_intermediates/import_includes
make: *** No rule to make target `/home/chava/android/omni/out/host/linux-x86/bin/unpackbootimg', needed by `/home/chava/android/omni/out/target/product/mb886/omni_mb886-ota-eng.chava.zip'.  Stop.
make: *** Waiting for unfinished jobs....
Export includes file: build/tools/fs_config/Android.mk -- /home/chava/android/omni/out/host/linux-x86/obj/EXECUTABLES/fs_config_intermediates/export_includes
# In case value of PACKAGES is empty.

real	4m5.351s
user	4m41.026s
sys	0m15.305s
chava@chava-Satellite-L875D:~/android/omni$
Strange... We added most of what was needed to implement unpackbootimg weeks ago and it's working fine for general building.

Although I've never seen it brought in from a device tree before and I'm fairly sure mb886 is not one of our officially supported devices. Perhaps there's a missing patch from the Makefiles (probably in build/core/Makefile but I'm not sure) to make it build properly when required by the device tree.
 

sickkside13

Senior Member
Jul 15, 2012
1,076
1,013
Chicago
Yeah mb886 it not a supported device. ok i found the problem i guess
android/system/core/mkbootimg unpackbootimg.c was missing
 
Last edited:
  • Like
Reactions: desalesouche

sickkside13

Senior Member
Jul 15, 2012
1,076
1,013
Chicago
now i got this error
Code:
frameworks/native/opengl/libs/EGL/../trace.in:522:436: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib1f(GLuint, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:523:406: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib1fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:524:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib2f(GLuint, GLfloat, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:525:420: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib2fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:526:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib3f(GLuint, GLfloat, GLfloat, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:527:434: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib3fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:528:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib4f(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:529:448: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib4fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:530:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribDivisor(GLuint, GLuint)':
frameworks/native/opengl/libs/EGL/../trace.in:531:434: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4i(GLuint, GLint, GLint, GLint, GLint)':
frameworks/native/opengl/libs/EGL/../trace.in:532:445: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4iv(GLuint, const GLint*)':
frameworks/native/opengl/libs/EGL/../trace.in:533:419: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4ui(GLuint, GLuint, GLuint, GLuint, GLuint)':
frameworks/native/opengl/libs/EGL/../trace.in:534:452: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4uiv(GLuint, const GLuint*)':
frameworks/native/opengl/libs/EGL/../trace.in:535:423: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribIPointer(GLuint, GLint, GLenum, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:536:505: error: 'class android::CallStack' has no member named 'log'
In file included from frameworks/native/opengl/libs/EGL/trace.cpp:457:0:
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribPointer(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:537:526: error: 'class android::CallStack' has no member named 'log'
In file included from frameworks/native/opengl/libs/EGL/trace.cpp:457:0:
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexPointer(GLint, GLenum, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:538:463: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glViewport(GLint, GLint, GLsizei, GLsizei)':
frameworks/native/opengl/libs/EGL/../trace.in:539:425: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glWaitSync(GLsync, GLbitfield, GLuint64)':
frameworks/native/opengl/libs/EGL/../trace.in:540:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glWeightPointerOES(GLint, GLenum, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:541:472: error: 'class android::CallStack' has no member named 'log'
make: *** [/home/chava/android/omni/out/target/product/mb886/obj/SHARED_LIBRARIES/libEGL_intermediates/EGL/trace.o] Error 1
make: *** Waiting for unfinished jobs..
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,088
25,086
Owego, NY
Yeah mb886 it not a supported device. ok i found the problem i guess
android/system/core/mkbootimg unpackbootimg.c was missing
That's odd... unpackbootimg is there at https://github.com/omnirom/android_system_core/tree/android-4.4/mkbootimg

now i got this error
Code:
frameworks/native/opengl/libs/EGL/../trace.in:522:436: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib1f(GLuint, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:523:406: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib1fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:524:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib2f(GLuint, GLfloat, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:525:420: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib2fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:526:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib3f(GLuint, GLfloat, GLfloat, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:527:434: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib3fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:528:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib4f(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)':
frameworks/native/opengl/libs/EGL/../trace.in:529:448: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttrib4fv(GLuint, const GLfloat*)':
frameworks/native/opengl/libs/EGL/../trace.in:530:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribDivisor(GLuint, GLuint)':
frameworks/native/opengl/libs/EGL/../trace.in:531:434: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4i(GLuint, GLint, GLint, GLint, GLint)':
frameworks/native/opengl/libs/EGL/../trace.in:532:445: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4iv(GLuint, const GLint*)':
frameworks/native/opengl/libs/EGL/../trace.in:533:419: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4ui(GLuint, GLuint, GLuint, GLuint, GLuint)':
frameworks/native/opengl/libs/EGL/../trace.in:534:452: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribI4uiv(GLuint, const GLuint*)':
frameworks/native/opengl/libs/EGL/../trace.in:535:423: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribIPointer(GLuint, GLint, GLenum, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:536:505: error: 'class android::CallStack' has no member named 'log'
In file included from frameworks/native/opengl/libs/EGL/trace.cpp:457:0:
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexAttribPointer(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:537:526: error: 'class android::CallStack' has no member named 'log'
In file included from frameworks/native/opengl/libs/EGL/trace.cpp:457:0:
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glVertexPointer(GLint, GLenum, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:538:463: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glViewport(GLint, GLint, GLsizei, GLsizei)':
frameworks/native/opengl/libs/EGL/../trace.in:539:425: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glWaitSync(GLsync, GLbitfield, GLuint64)':
frameworks/native/opengl/libs/EGL/../trace.in:540:426: error: 'class android::CallStack' has no member named 'log'
frameworks/native/opengl/libs/EGL/../trace.in: In function 'void android::ErrorTrace_glWeightPointerOES(GLint, GLenum, GLsizei, const GLvoid*)':
frameworks/native/opengl/libs/EGL/../trace.in:541:472: error: 'class android::CallStack' has no member named 'log'
make: *** [/home/chava/android/omni/out/target/product/mb886/obj/SHARED_LIBRARIES/libEGL_intermediates/EGL/trace.o] Error 1
make: *** Waiting for unfinished jobs..
I have no idea what happened there, I've never seen any error like that... I'm wondering if your build environment is broken somehow.
 

sickkside13

Senior Member
Jul 15, 2012
1,076
1,013
Chicago
yeah sorry about that it was my environment i got it now lol but not without another error wich i am looking into it right now .
Code:
frameworks/av/media/libstagefright/ExtendedUtils.cpp:545:24: error: 'kKeyInterlace' was not declared in this scope
frameworks/av/media/libstagefright/ExtendedUtils.cpp: In static member function 'static int32_t android::ExtendedUtils::checkIsInterlace(android::sp<android::MetaData>&)':
frameworks/av/media/libstagefright/ExtendedUtils.cpp:553:24: error: 'kKeyInterlace' was not declared in this scope
make: *** [/home/chava/android/omni/out/target/product/mb886/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedUtils.o] Error 1
make: *** Waiting for unfinished jobs....
edit: fixed problem i edited ExtendedUtils.cpp i used Cyanfox ExtendedUtils.cpp as a guide since the Atrix HD/mb886 is an official device for Cyanfox. now compiling nicely for and hour now.
 
Last edited:

sickkside13

Senior Member
Jul 15, 2012
1,076
1,013
Chicago
great lol god lord another error omni is hard to compile
Code:
frameworks/base/core/jni/android_net_wifi_WifiNative.cpp: In function 'jboolean android::android_net_wifi_setMode(JNIEnv*, jobject, jint)':
frameworks/base/core/jni/android_net_wifi_WifiNative.cpp:87:23: error: '::wifi_set_mode' has not been declared
frameworks/base/core/jni/android_net_wifi_WifiNative.cpp:88:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make: *** [/home/chava/android/omni/out/target/product/mb886/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_net_wifi_WifiNative.o] Error 1
make: *** Waiting for unfinished jobs....
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,088
25,086
Owego, NY
great lol god lord another error omni is hard to compile
Code:
frameworks/base/core/jni/android_net_wifi_WifiNative.cpp: In function 'jboolean android::android_net_wifi_setMode(JNIEnv*, jobject, jint)':
frameworks/base/core/jni/android_net_wifi_WifiNative.cpp:87:23: error: '::wifi_set_mode' has not been declared
frameworks/base/core/jni/android_net_wifi_WifiNative.cpp:88:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make: *** [/home/chava/android/omni/out/target/product/mb886/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_net_wifi_WifiNative.o] Error 1
make: *** Waiting for unfinished jobs....

Something is really weird with your build environment.

Please try to build for a supported device just to verify your build environment is OK.
 

Top Liked Posts