• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Discussion - Developers _ONLY_] Building ICS from source (Isaac's github).

Alright, I ran update manager, rebooted, and I got the same error. :(

It may sound lame but bounce your internet. Since I stream a lot of content on my XBOX 360 I had some issues pulling down the files and after a reboot I could sync the files fine.
 
I think I figured out the problem.
The genlock part in the .config is not set so I turned it on.

still didnt work

E/libgenlock( 249): genlock_create_lock: open genlock device failed (err=No such file or directory)
E/msm7x30.gralloc( 249): alloc_impl: genlock_create_lock failed

Im getting the same error even with the stock kernel. I dont think that the driver is being built correctly.

Alright, I'll be looking into this. I'll build a new kernel and let you try it out.
 
Alright, I'll be looking into this. I'll build a new kernel and let you try it out.

Also the new adreno libs dont work very well with cm7.
I copied all the ones that were in there originally and i get
E/RenderScript( 313): GL Error, 0x500, from VertexArray::setupGL
like a thousand times.
 
Also Do you have a fix for the sd card mounting and the radio? I mean I could use it if it werent for those 2 things
 
Code:
Fetching projects:  99% (241/243)  fatal: Not a git repository: '/home/sean/android/system/.repo/projects/abi/cpp.git'
error: Cannot fetch platform/abi/cpp

That's what happened right after I rebooted my internet. I went back in, deleted it, and started the sync again. It turns out that the file I deleted didn't have anything in it, and once I did a sync, it came up with all the files. (Odd isn't it?) It hanged one more time, and it finally completed. :D

Once it finishes checking out the files, I think I will move on to trying to build tonight. (Or I'll hold off until Issac has a new kernel.)
 
Code:
Fetching projects:  99% (241/243)  fatal: Not a git repository: '/home/sean/android/system/.repo/projects/abi/cpp.git'
error: Cannot fetch platform/abi/cpp
That's what happened right after I rebooted my internet. I went back in, deleted it, and started the sync again. It turns out that the file I deleted didn't have anything in it, and once I did a sync, it came up with all the files. (Odd isn't it?) It hanged one more time, and it finally completed. :D

Once it finishes checking out the files, I think I will move on to trying to build tonight. (Or I'll hold off until Issac has a new kernel.)

He does have a new kernel you can build it or I can post it for ya. Just let me know
 
This is driving me up a wall.

I CAN'T freaking get RomManager... WHY?! The sync completed, the propitiatory files are in place (I think)

Code:
bash: /home/sean/android/system/vendor/cyanogen/get-rommanager: No such file or directory

Why is it not there? Did I mess a step? I've followed this to a T and now I can't build. I'm not mad at one single person on this forum. You guys have been the greatest. But I think I need to call it quits, unless someone knows how to get me headed in the right direction.
 
This is driving me up a wall.

I CAN'T freaking get RomManager... WHY?! The sync completed, the propitiatory files are in place (I think)

Code:
bash: /home/sean/android/system/vendor/cyanogen/get-rommanager: No such file or directory

Why is it not there? Did I mess a step? I've followed this to a T and now I can't build. I'm not mad at one single person on this forum. You guys have been the greatest. But I think I need to call it quits, unless someone knows how to get me headed in the right direction.


You missed this post:
Also, if you're following the instructions in Isaac's build cm7 thread, at the point where it says to do this:

~/android/system/vendor/cyanogen/get-rommanager
Instead of running that, the new script is:

~/android/system/vendor/cm/get-prebuilts
 
No, donate to the people who do the real work.

I plan on it.

One last thing:
Code:
make: *** No rule to make target `vendor/motorola/triumph/proprietary/libaudio.so', needed by `out/target/product/triumph/obj/lib/libaudio.so'.  Stop.
make: *** Waiting for unfinished jobs....

And it stops. What did I not do right?
 
I plan on it.

One last thing:
Code:
make: *** No rule to make target `vendor/motorola/triumph/proprietary/libaudio.so', needed by `out/target/product/triumph/obj/lib/libaudio.so'.  Stop.
make: *** Waiting for unfinished jobs....

And it stops. What did I not do right?

That is because one of the proprietary so files (libaudio.so) is missing. This file should have been grabbed when you use the extract-files script, but if you did it before this commit (on Dec 5th) then that's why its missing. Or if you downloaded the tar that was posted in the building cm7 thread, like I did, then you run into the same problem. Give me about 2 minutes, and I'll upload my proprietary folder for you.

Edit: http://www.mediafire.com/?925xby6j5kc0uh1

I've successfully build with that package of proprietary files.
Unzip to /builddirectory/vendor/motorola/trumph
You still need to run the extract-files script afterwards, just ignore the adb errors. You'll know it works if you see the following file:
/builddirectory/vendor/motorola/trumph/triumph-vendor-blobs.mk
 
That is because one of the proprietary so files (libaudio.so) is missing. This file should have been grabbed when you use the extract-files script, but if you did it before this commit (on Dec 5th) then that's why its missing. Or if you downloaded the tar that was posted in the building cm7 thread, like I did, then you run into the same problem. Give me about 2 minutes, and I'll upload my proprietary folder for you.

I add your link into my post about the files if you want, to list them for CM7 and ICS. Might make it cause less confusion in the future.
 
Well... It is building again. I went ahead and did all the stuff to do ADB (worth the time, THANK YOU GOOGLE!) So now I can logcat and ect. However, I know a few files weren't on my phone (errors in the pulling) so I did the same thing using the files NateMckn linked me to.

I hope it builds, otherwise I think I know what to do, what to look out for, all that jazz. I want to thank you for not only with putting up with my somewhat pathetic issues, but fixing every problem I have had.
 
While on the topic of the proprietary files; I've noticed that other devices have the proprietary files hosted in a github. For example, Koush has the following repo for HTC devices on his github:

https://github.com/koush/proprietary_vendor_htc

So if I wanted to build for the Thunderbolt (for example), instead of messing around with adb and the extract-files script, I would just run:

Code:
git clone git://github.com/koush/proprietary_vendor_htc.git ~/android/system/vendor/htc

Much simpler imho. Is there a reason we aren't doing this with the Triumph?
 
While on the topic of the proprietary files; I've noticed that other devices have the proprietary files hosted in a github. For example, Koush has the following repo for HTC devices on his github:

https://github.com/koush/proprietary_vendor_htc

So if I wanted to build for the Thunderbolt (for example), instead of messing around with adb and the extract-files script, I would just run:

Code:
git clone git://github.com/koush/proprietary_vendor_htc.git ~/android/system/vendor/htc
Much simpler imho. Is there a reason we aren't doing this with the Triumph?

I was wondering the same, the OV devs have the same similar setup. I think somebody should just host it. Technically it's proprietary, but it's not like we have access to the source, or people can do much with it without a real phone.
 
You're welcome to host the files if you want. Personally, I don't find it very onerous to just flash back to froyo and pull the needed files. Heck, I'm flashing back and forth between different roms every other day anyways, testing this or that.

I usually take the few minutes to flash back to FROYO while I'm waiting for the 10+ GB of the repo to download if/when I need to do pull the files again. Which, for the most part, you should only have to do once unless more files are needed.
 
Alright, gentlemen (and any ladies trying to build ICS). I've built a new kernel with the backported genlock driver. I've prepped the device repo with the new changes. This means you don't have to build a new kernel. The prebuilt one is updated. All header and init perms were updated too.

If you've made changes to your local triumph folder, you need to delete it before you repo sync. NOTE: You have to clean the build dir. So make sure to:

Code:
make clobber
...before you give it a shot.

There's something funky with CM's qcom_display repo. After you repo sync, make sure to edit this file: https://github.com/ikarosdev/android_hardware_qcom_display/blob/ics/Android.mk

This line:

Code:
display-hals := libhwcomposer liboverlay libgralloc libcopybit
...should be:
Code:
display-hals := libhwcomposer liboverlay libgralloc libcopybit libgenlock
...so that it gets picked up during the build. I'm not going to fork and fix it as I'm sure the somebody will fix it soon and send it downstream.

Also, if gralloc.msm7x30.so does not get built, just run:

Code:
mmm hardware/qcom/display/libgralloc/
...after you've already built. Then, simply run 'brunch triumph' to build a new package like usual. Don't ask me why it's not getting picked up. Our device makefile is calling to it, but for whatever reason it's getting ignored.

EDIT: I've also added ABS_MT_PRESSURE to the ICS kernel. It's suppose to make 4.0 happier (something to do with the new input method or whatever). You're welcome to try it: https://github.com/ikarosdev/triumph-kernel-msm7x30/commit/989162770d227ee864861b93a52093223c9f603e
 
Stopped for me :(

target thumb C: gps.goldfish <= development/tools/emulator/system/gps/gps_qemu.c
development/tools/emulator/system/gps/gps_qemu.c:47:1: warning: "D" redefined
In file included from hardware/libhardware/include/hardware/qemud.h:21,
from development/tools/emulator/system/gps/gps_qemu.c:37:
hardware/libhardware/include/hardware/qemu_pipe.h:29:1: warning: this is the location of the previous definition
development/tools/emulator/system/gps/gps_qemu.c:903: warning: initialization from incompatible pointer type
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'hw_module_t::dso'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'hw_module_t::reserved'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'gralloc_module_t::perform'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'gralloc_module_t::reserved_proc'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::pmem_master'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::pmem_master_base'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::info'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::finfo'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::xdpi'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::ydpi'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::fps'
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/framebuffer.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gpu.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gralloc.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/mapper.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/ashmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmem_bestfit_alloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/alloc_controller.cpp
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:956: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:957: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int fb_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libgralloc/framebuffer.cpp:1088: error: 'struct framebuffer_device_t' has no member named 'lockBuffer'
hardware/qcom/display/libgralloc/framebuffer.cpp:1116: error: 'struct framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/gralloc.msm7x30_intermediates/framebuffer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::info'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::finfo'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::xdpi'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::ydpi'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::fps'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::swapInterval'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::disp'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::currentIdx'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::avail'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::qlock'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::qpost'
shane@shane-TA990FXE:~/ICS$
 
isaac said:
Code:
There's something funky with CM's qcom_display repo. After you repo sync, make sure to edit this file: [URL]https://github.com/ikarosdev/android_hardware_qcom_display/blob/ics/Android.mk[/URL]
I'm assuming you meant ~/android/system/hardware/qcom/display/Android.mk, right?

I think I followed the rest of the instructions as best as I could. And I got this:

Code:
target thumb C++: libfwdlockengine <= frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp
target thumb C++: libdrmutility <= frameworks/base/drm/libdrmframework/plugins/common/util/src/MimeTypeUtil.cpp
frameworks/base/drm/libdrmframework/plugins/common/util/src/MimeTypeUtil.cpp:118:60: warning: "/*" within comment
target thumb C: libfwdlock-common <= frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/FwdLockGlue.c
target thumb C: libfwdlock-converter <= frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c
target thumb C: libfwdlock-decoder <= frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/FwdLockFile.c
target asm: libGLES_android <= frameworks/base/opengl/libagl/fixed_asm.S
target asm: libGLES_android <= frameworks/base/opengl/libagl/iterators.S
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/array.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/fp.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/light.cpp
frameworks/base/opengl/libagl/light.cpp: In function 'void android::validate_light_mvi(android::gl::ogles_context_t*)':
frameworks/base/opengl/libagl/light.cpp:232: warning: missing braces around initializer for 'android::gl::vec4_t::<anonymous union>'
frameworks/base/opengl/libagl/light.cpp:232: warning: missing braces around initializer for 'android::gl::vec4_t::<anonymous union>::<anonymous struct>'
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/matrix.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/mipmap.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/primitives.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/vertex.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/egl.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/state.cpp
frameworks/base/opengl/libagl/egl.cpp: In function 'EGLBoolean eglChooseConfig(void*, const EGLint*, void**, EGLint, EGLint*)':
frameworks/base/opengl/libagl/egl.cpp:1489: warning: comparison of unsigned expression < 0 is always false
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/texture.cpp
frameworks/base/opengl/libagl/texture.cpp: In function 'void glCompressedTexImage2D(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*)':
frameworks/base/opengl/libagl/texture.cpp:1147: warning: comparison between signed and unsigned integer expressions
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/Tokenizer.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/TokenManager.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/TextureObjectManager.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/BufferObjectManager.cpp
target arm C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/android_audio_hw.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/liba2dp.c
external/bluetooth/bluez/audio/liba2dp.c: In function 'a2dp_write':
external/bluetooth/bluez/audio/liba2dp.c:1210: warning: passing argument 6 of 'sbc_encode' from incompatible pointer type
external/bluetooth/bluez/audio/../sbc/sbc.h:94: note: expected 'ssize_t *' but argument is of type 'unsigned int *'
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/ipc.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc_primitives.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc_primitives_neon.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc_primitives_armv6.c
target thumb C: libpower <= hardware/libhardware_legacy/power/power.c
target thumb C: audio.primary.default <= hardware/libhardware/modules/audio/audio_hw.c
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/AudioHardwareInterface.cpp
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/audio_hw_hal.cpp
target thumb C++: audio_policy.default <= hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/audio_policy_hal.cpp
target thumb C++: audio_policy.triumph <= device/motorola/triumph/audio_policy/AudioPolicyManager.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCameraHal.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCameraFactory.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCamera.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCameraDevice.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedQemuCamera.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedQemuCameraDevice.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedFakeCamera.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedFakeCameraDevice.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/Converters.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/PreviewWindow.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/CallbackNotifier.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/QemuClient.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/JpegCompressor.cpp
target thumb C: gps.goldfish <= development/tools/emulator/system/gps/gps_qemu.c
development/tools/emulator/system/gps/gps_qemu.c:47:1: warning: "D" redefined
In file included from hardware/libhardware/include/hardware/qemud.h:21,
                 from development/tools/emulator/system/gps/gps_qemu.c:37:
hardware/libhardware/include/hardware/qemu_pipe.h:29:1: warning: this is the location of the previous definition
development/tools/emulator/system/gps/gps_qemu.c:903: warning: initialization from incompatible pointer type
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'hw_module_t::dso'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'hw_module_t::reserved'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'gralloc_module_t::perform'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'gralloc_module_t::reserved_proc'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::pmem_master'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::pmem_master_base'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::info'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::finfo'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::xdpi'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::ydpi'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::fps'
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/framebuffer.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gpu.cpp
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:956: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:957: warning: comparison between signed and unsigned integer expressions
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gralloc.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/mapper.cpp
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::info'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::finfo'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::xdpi'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::ydpi'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::fps'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::swapInterval'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::disp'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::currentIdx'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::avail'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::qlock'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::qpost'
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/ashmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmem_bestfit_alloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/alloc_controller.cpp
target thumb C++: libgenlock <= hardware/qcom/display/libgenlock/genlock.cpp
Notice file: hardware/qcom/display/libgralloc/NOTICE -- out/target/product/triumph/obj/NOTICE_FILES/src//system/lib/hw/gralloc.msm7x30.so.txt
Notice file: hardware/qcom/display/libgralloc/NOTICE -- out/target/product/triumph/obj/NOTICE_FILES/src//system/lib/libmemalloc.so.txt
target thumb C++: hwcomposer.default <= hardware/libhardware/modules/hwcomposer/hwcomposer.cpp
target thumb C++: hwcomposer.msm7x30 <= hardware/qcom/display/libhwcomposer/hwcomposer.cpp
hardware/libhardware/modules/hwcomposer/hwcomposer.cpp:53: warning: missing initializer for member 'hw_module_t::dso'
hardware/libhardware/modules/hwcomposer/hwcomposer.cpp:53: warning: missing initializer for member 'hw_module_t::reserved'
target thumb C++: liboverlay <= hardware/qcom/display/liboverlay/overlayLib.cpp
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::dso'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::reserved'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'bool isValidDestination(const framebuffer_device_t*, const hwc_rect_t&)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int hwc_prepare(hwc_composer_device_t*, hwc_layer_list_t*)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:937: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:939: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:121:1: warning: "LOG_TAG" redefined
In file included from hardware/qcom/display/liboverlay/overlayLib.h:21,
                 from hardware/qcom/display/liboverlay/overlayLib.cpp:18:
system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int drawLayerUsingCopybit(hwc_composer_device_t*, hwc_layer_t*, void*, void*)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1086: error: 'struct hwc_layer' has no member named 'alpha'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int hwc_set(hwc_composer_device_t*, void*, void*, hwc_layer_list_t*)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1180: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1201: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1362: error: 'struct hwc_composer_device_t' has no member named 'enableHDMIOutput'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwcomposer.o] Error 1
 
isaac said:
Code:
There's something funky with CM's qcom_display repo. After you repo sync, make sure to edit this file: [URL]https://github.com/ikarosdev/android_hardware_qcom_display/blob/ics/Android.mk[/URL]
I'm assuming you meant ~/android/system/hardware/qcom/display/Android.mk, right?

I think I followed the rest of the instructions as best as I could. And I got this:

Code:
target thumb C++: libfwdlockengine <= frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp
target thumb C++: libdrmutility <= frameworks/base/drm/libdrmframework/plugins/common/util/src/MimeTypeUtil.cpp
frameworks/base/drm/libdrmframework/plugins/common/util/src/MimeTypeUtil.cpp:118:60: warning: "/*" within comment
target thumb C: libfwdlock-common <= frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/FwdLockGlue.c
target thumb C: libfwdlock-converter <= frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/FwdLockConv.c
target thumb C: libfwdlock-decoder <= frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/FwdLockFile.c
target asm: libGLES_android <= frameworks/base/opengl/libagl/fixed_asm.S
target asm: libGLES_android <= frameworks/base/opengl/libagl/iterators.S
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/array.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/fp.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/light.cpp
frameworks/base/opengl/libagl/light.cpp: In function 'void android::validate_light_mvi(android::gl::ogles_context_t*)':
frameworks/base/opengl/libagl/light.cpp:232: warning: missing braces around initializer for 'android::gl::vec4_t::<anonymous union>'
frameworks/base/opengl/libagl/light.cpp:232: warning: missing braces around initializer for 'android::gl::vec4_t::<anonymous union>::<anonymous struct>'
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/matrix.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/mipmap.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/primitives.cpp
target arm C++: libGLES_android <= frameworks/base/opengl/libagl/vertex.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/egl.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/state.cpp
frameworks/base/opengl/libagl/egl.cpp: In function 'EGLBoolean eglChooseConfig(void*, const EGLint*, void**, EGLint, EGLint*)':
frameworks/base/opengl/libagl/egl.cpp:1489: warning: comparison of unsigned expression < 0 is always false
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/texture.cpp
frameworks/base/opengl/libagl/texture.cpp: In function 'void glCompressedTexImage2D(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*)':
frameworks/base/opengl/libagl/texture.cpp:1147: warning: comparison between signed and unsigned integer expressions
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/Tokenizer.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/TokenManager.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/TextureObjectManager.cpp
target thumb C++: libGLES_android <= frameworks/base/opengl/libagl/BufferObjectManager.cpp
target arm C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/android_audio_hw.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/liba2dp.c
external/bluetooth/bluez/audio/liba2dp.c: In function 'a2dp_write':
external/bluetooth/bluez/audio/liba2dp.c:1210: warning: passing argument 6 of 'sbc_encode' from incompatible pointer type
external/bluetooth/bluez/audio/../sbc/sbc.h:94: note: expected 'ssize_t *' but argument is of type 'unsigned int *'
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/ipc.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc_primitives.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc_primitives_neon.c
target thumb C: audio.a2dp.default <= external/bluetooth/bluez/audio/../sbc/sbc_primitives_armv6.c
target thumb C: libpower <= hardware/libhardware_legacy/power/power.c
target thumb C: audio.primary.default <= hardware/libhardware/modules/audio/audio_hw.c
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/AudioHardwareInterface.cpp
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/audio_hw_hal.cpp
target thumb C++: audio_policy.default <= hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/audio_policy_hal.cpp
target thumb C++: audio_policy.triumph <= device/motorola/triumph/audio_policy/AudioPolicyManager.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCameraHal.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCameraFactory.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCamera.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedCameraDevice.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedQemuCamera.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedQemuCameraDevice.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedFakeCamera.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/EmulatedFakeCameraDevice.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/Converters.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/PreviewWindow.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/CallbackNotifier.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/QemuClient.cpp
target thumb C++: camera.goldfish <= development/tools/emulator/system/camera/JpegCompressor.cpp
target thumb C: gps.goldfish <= development/tools/emulator/system/gps/gps_qemu.c
development/tools/emulator/system/gps/gps_qemu.c:47:1: warning: "D" redefined
In file included from hardware/libhardware/include/hardware/qemud.h:21,
                 from development/tools/emulator/system/gps/gps_qemu.c:37:
hardware/libhardware/include/hardware/qemu_pipe.h:29:1: warning: this is the location of the previous definition
development/tools/emulator/system/gps/gps_qemu.c:903: warning: initialization from incompatible pointer type
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'hw_module_t::dso'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'hw_module_t::reserved'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'gralloc_module_t::perform'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'gralloc_module_t::reserved_proc'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::pmem_master'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::pmem_master_base'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::info'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::finfo'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::xdpi'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::ydpi'
hardware/libhardware/modules/gralloc/gralloc.cpp:100: warning: missing initializer for member 'private_module_t::fps'
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/framebuffer.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gpu.cpp
hardware/qcom/display/libgralloc/framebuffer.cpp: In function 'int mapFrameBufferLocked(private_module_t*)':
hardware/qcom/display/libgralloc/framebuffer.cpp:956: warning: comparison of unsigned expression < 0 is always false
hardware/qcom/display/libgralloc/framebuffer.cpp:957: warning: comparison between signed and unsigned integer expressions
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/gralloc.cpp
target thumb C++: gralloc.msm7x30 <= hardware/qcom/display/libgralloc/mapper.cpp
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::info'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::finfo'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::xdpi'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::ydpi'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::fps'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::swapInterval'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::disp'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::currentIdx'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::avail'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::qlock'
hardware/qcom/display/libgralloc/gralloc.cpp:94: warning: missing initializer for member 'private_module_t::qpost'
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/ashmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmem_bestfit_alloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/alloc_controller.cpp
target thumb C++: libgenlock <= hardware/qcom/display/libgenlock/genlock.cpp
Notice file: hardware/qcom/display/libgralloc/NOTICE -- out/target/product/triumph/obj/NOTICE_FILES/src//system/lib/hw/gralloc.msm7x30.so.txt
Notice file: hardware/qcom/display/libgralloc/NOTICE -- out/target/product/triumph/obj/NOTICE_FILES/src//system/lib/libmemalloc.so.txt
target thumb C++: hwcomposer.default <= hardware/libhardware/modules/hwcomposer/hwcomposer.cpp
target thumb C++: hwcomposer.msm7x30 <= hardware/qcom/display/libhwcomposer/hwcomposer.cpp
hardware/libhardware/modules/hwcomposer/hwcomposer.cpp:53: warning: missing initializer for member 'hw_module_t::dso'
hardware/libhardware/modules/hwcomposer/hwcomposer.cpp:53: warning: missing initializer for member 'hw_module_t::reserved'
target thumb C++: liboverlay <= hardware/qcom/display/liboverlay/overlayLib.cpp
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::dso'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::reserved'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'bool isValidDestination(const framebuffer_device_t*, const hwc_rect_t&)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int hwc_prepare(hwc_composer_device_t*, hwc_layer_list_t*)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:937: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:939: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLib.cpp:121:1: warning: "LOG_TAG" redefined
In file included from hardware/qcom/display/liboverlay/overlayLib.h:21,
                 from hardware/qcom/display/liboverlay/overlayLib.cpp:18:
system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int drawLayerUsingCopybit(hwc_composer_device_t*, hwc_layer_t*, void*, void*)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1086: error: 'struct hwc_layer' has no member named 'alpha'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int hwc_set(hwc_composer_device_t*, void*, void*, hwc_layer_list_t*)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1180: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1201: error: 'HWC_SKIP_COMPOSITION' was not declared in this scope
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:1362: error: 'struct hwc_composer_device_t' has no member named 'enableHDMIOutput'
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwcomposer.o] Error 1

@konspiracy and rb64:

Both compile time errors should be fixed now. Just repo sync and continue.

@rb64:

Judging by your output, you made the appropriate changes to libhardware. If repo sync complains that you have local changes, simply delete the offending folder (e.g. ~/android/system/hardware/libhardware). You can do the same thing for any other folder. Repo will re-populate the source tree even if the folder is missing.

Relevant commit: https://github.com/ikarosdev/androi...mmit/52a158d7185a440aaa5d6fc8c2c37f29339ec689
 
ATING' has a previous declaration as '<anonymous enum> HWC_LAYER_NOT_UPDATING'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::dso'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::reserved'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'bool isValidDestination(const framebuffer_device_t*, const hwc_rect_t&)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
target arm C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Math.c
target thumb C++: libFFTEm <= external/neven/FaceDetector_jni.cpp
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwcomposer.o] Error 1
make: *** Waiting for unfinished jobs....
 
ATING' has a previous declaration as '<anonymous enum> HWC_LAYER_NOT_UPDATING'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::dso'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:146: warning: missing initializer for member 'hw_module_t::reserved'
hardware/qcom/display/libhwcomposer/hwcomposer.cpp: In function 'bool isValidDestination(const framebuffer_device_t*, const hwc_rect_t&)':
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libhwcomposer/hwcomposer.cpp:728: warning: comparison between signed and unsigned integer expressions
target arm C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Math.c
target thumb C++: libFFTEm <= external/neven/FaceDetector_jni.cpp
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwcomposer.o] Error 1
make: *** Waiting for unfinished jobs....

I can't see the error, you cut it off.

EDIT: Fixed, https://github.com/ikarosdev/androi...mmit/828cd48d171f6249090d927536630ddde684d032

Run repo sync and try again.

EDIT: I'll fix it properly after you finish the build.
 
I can't see the error, you cut it off.

EDIT: Fixed, https://github.com/ikarosdev/androi...mmit/828cd48d171f6249090d927536630ddde684d032

Run repo sync and try again.

EDIT: I'll fix it properly after you finish the build.

Ya i noticed that my bad.



EDIT: well its building pretty good so far im making a nandroid of my miui.

Also while your here I have a question when using a boot image to install a freshly built kernel what module is needed for the wifi?
Sometimes when i try a few little things in a kernel one cant turn the wifi on.
 
Back
Top Bottom