ICS LGP970 Help needed - Android Software Development

Hi there!
im trying to pot ics for my phone but im stock on this error
Code:
In file included from device/lge/p970/alsa/alsa_omap3.cpp:25:
device/lge/p970/alsa/audio_modem_interface.h: At global scope:
device/lge/p970/alsa/audio_modem_interface.h:38: error: 'DEVICE_OUT_EARPIECE' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:39: error: 'DEVICE_OUT_SPEAKER' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:40: error: 'DEVICE_OUT_WIRED_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:41: error: 'DEVICE_OUT_WIRED_HEADPHONE' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:42: error: 'DEVICE_OUT_AUX_DIGITAL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:43: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:44: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:45: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:158: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:173: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_ALL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:188: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:198: error: 'DEVICE_IN_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:203: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:213: error: 'DEVICE_IN_ALL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:213: error: 'DEVICE_IN_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:218: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
virtual memory exhausted: Cannot allocate memory
make: *** [out/target/product/p970/obj/SHARED_LIBRARIES/alsa.p970_intermediates/alsa_omap3.o] Error 1
tried to increase the swap size but its not working... can somebody help me?

Related

Error while build CM10

Hey guys!
No, I still haven't gotten my CM10 to boot, because I am having a lot of build errors. Now, I need help with the following error while building:
Code:
Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/copybit.msm7x30_intermediates/import_includes
Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libmemalloc_intermediates/import_includes
target thumb C++: libgenlock <= hardware/qcom/display/libgenlock/genlock.cpp
target thumb C: gps.goldfish <= sdk/emulator/gps/gps_qemu.c
sdk/emulator/gps/gps_qemu.c:47:0: warning: "D" redefined [enabled by default]
hardware/libhardware/include/hardware/qemu_pipe.h:29:0: note: this is the location of the previous definition
sdk/emulator/gps/gps_qemu.c:903:5: warning: initialization from incompatible pointer type [enabled by default]
sdk/emulator/gps/gps_qemu.c:903:5: warning: (near initialization for 'qemuGpsInterface.set_position_mode') [enabled by default]
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::perform' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::reserved_proc' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master_base' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers]
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
hardware/qcom/display/libgenlock/genlock.cpp: In function 'int (anonymous namespace)::get_kernel_lock_type(genlock_lock_type)':
hardware/qcom/display/libgenlock/genlock.cpp:53:25: error: 'GENLOCK_WRLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:55:25: error: 'GENLOCK_RDLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t (anonymous namespace)::perform_lock_unlock_operation(native_handle_t*, int, int, int)':
hardware/qcom/display/libgenlock/genlock.cpp:83:13: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:83:26: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:84:13: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:101:43: error: 'GENLOCK_IOC_LOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_create_lock(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:156:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:156:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:157:23: error: 'GENLOCK_IOC_NEW' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:160:45: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:166:27: error: 'GENLOCK_IOC_EXPORT' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:166:48: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:176:30: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_attach_lock(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:243:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:243:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:244:9: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:245:23: error: 'GENLOCK_IOC_ATTACH' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_unlock_buffer(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:306:56: error: 'GENLOCK_UNLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_wait(native_handle_t*, int)':
hardware/qcom/display/libgenlock/genlock.cpp:335:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:335:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:336:9: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:338:39: error: 'GENLOCK_IOC_WAIT' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_write_to_read(native_handle_t*, int)':
hardware/qcom/display/libgenlock/genlock.cpp:368:56: error: 'GENLOCK_RDLOCK' was not declared in this scope
make: *** [/home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/cm10$
Ok, so I can see that genlock (and probably gralloc), but I don't know what is wrong and how to fix it.
Please, I need someone to help me with this!
Thanks.
Which dece source are you using?

compile errors

i seem to have hit a road block making jellybean rom for tcc8920st here the last part of compile log it saying about LOGE AND LOGV
host C++: wdsclient <= external/webkit/Source/WebKit/android/wds/client/main.cpp
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::connect()':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:56:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:66:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::sendRequest(char const*, ...) const':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:81:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:92:52: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:100:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:106:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In function 'void printFailureMessage(int)':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:118:70: error: 'LOG_ASSERT' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:130:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:133:74: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:139:46: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::checkOkayResponse() const':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:148:57: error: 'LOG_ASSERT' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:153:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:159:28: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:166:58: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'const DeviceList& AdbConnection::getDeviceList()':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:181:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:187:50: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:195:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:210:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:213:74: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:227:52: error: 'LOGV' was not declared in this scope
make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/AdbConnection.o] Error 1
make: *** Waiting for unfinished jobs....
external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int wds_open()':
external/webkit/Source/WebKit/android/wds/client/main.cpp:53:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:58:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int main(int, char**)':
external/webkit/Source/WebKit/android/wds/client/main.cpp:77:51: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:97:40: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:112:75: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:115:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:134:32: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:140:49: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:144:50: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:150:59: error: 'LOGE' was not declared in this scope
make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/main.o] Error 1
jez! im looking at main.cpp and adbconnection.cpp so anyone shed light on it i added telechips892x android source tree to it and edited to reflect the telechips

Omni compile error

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
[email protected]:~/android/omni$
sickkside13 said:
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
[email protected]:~/android/omni$
Click to expand...
Click to collapse
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.
Yeah mb886 it not a supported device. ok i found the problem i guess
android/system/core/mkbootimg unpackbootimg.c was missing
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..
sickkside13 said:
Yeah mb886 it not a supported device. ok i found the problem i guess
android/system/core/mkbootimg unpackbootimg.c was missing
Click to expand...
Click to collapse
That's odd... unpackbootimg is there at https://github.com/omnirom/android_system_core/tree/android-4.4/mkbootimg
sickkside13 said:
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..
Click to expand...
Click to collapse
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.
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.
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....
Build error
Can someone point me in the right direction to fix this one, http://pastebin.com/q2tDdE2W.
it's for lg g2 d800. Unsupported device.
Update: Now building. Hardware_qcom_display-mdss was missing from omni repo.
Recon Freak said:
Can someone point me in the right direction to fix this one, http://pastebin.com/q2tDdE2W.
it's for lg g2 d800. Unsupported device.
Click to expand...
Click to collapse
i belive you are missing some files in frameworks
sickkside13 said:
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....
Click to expand...
Click to collapse
Something is really weird with your build environment.
Please try to build for a supported device just to verify your build environment is OK.
camera compile error
Have a new error. I thought I had it fixed but it popped up again. http://pastebin.com/m60aRi0g
Update Got it fixed

Chromium_org gives error all the time

Hello, I'm trying to compile OmniRom but after last repo sync I'm getting this error:
Code:
In file included from external/chromium_org/content/common/android/hash_set.cc:5:0:
/home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:24:20: error: expected initializer before '<' token
/home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:26:17: error: expected initializer before '<' token
/home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected '{' before '<' token
/home/lozohcum/OmniRom/out/target/product/jlo/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected unqualified-id before '<' token
external/chromium_org/content/common/android/hash_set.cc:30:1: error: expected '}' at end of input
cc1plus: all warnings being treated as errors
I have tried with chromium_org from CM11 (which compile without any errors) and the same thing appear.
cc1plus: all warnings being treated as errors
Click to expand...
Click to collapse
So I suppose adding a flag somewhere will fix that error but I'm not sure which flag and where.
Do you have any clue how to solve it?

why can't I build for hammerhead?

Did a repo sync yesterday and tried to brunch hammerhead but this is what I got back...
external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/V8DocumentCustom.cpp:61:86: error: no 'void WebCore::V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&)' member function declared in class 'WebCore::V8Document'
make: *** [/home/mark/Source/omni/out/target/product/hammerhead/obj/STATIC_LIBRARIES/third_party_WebKit_Source_core_webcore_derived_gyp_intermediates/third_party/WebKit/Source/bindings/v8/custom/V8DocumentCustom.o] error 1
Can someone help me?

Categories

Resources