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

Root [ALPHA] ICS for Optimus M (NOW COMPILED AND BOOTING)

lol
Code:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
host C++: liboprofile_pp <= external/oprofile/libpp/symbol_sort.cpp
host C++: liboprofile_pp <= external/oprofile/libpp/xml_utils.cpp
host C++: liboprofile_pp <= external/oprofile/libpp/populate_for_spu.cpp
In file included from external/oprofile/libpp/op_header.cpp:34:0:
external/oprofile/libpp/format_output.h:94:22: error: reference &#8216;counts&#8217; cannot be declared &#8216;mutable&#8217; [-fpermissive]
In file included from external/oprofile/libpp/format_output.cpp:26:0:
external/oprofile/libpp/format_output.h:94:22: error: reference &#8216;counts&#8217; cannot be declared &#8216;mutable&#8217; [-fpermissive]
true
host C: liboprofile_db <= external/oprofile/libdb/db_debug.c
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/op_header.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/format_output.o] Error 1
In file included from external/oprofile/libpp/xml_utils.h:15:0,
                 from external/oprofile/libpp/xml_utils.cpp:14:
external/oprofile/libpp/format_output.h:94:22: error: reference &#8216;counts&#8217; cannot be declared &#8216;mutable&#8217; [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/xml_utils.o] Error 1
target StaticLib: libc (out/target/product/generic/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
target StaticLib: libc_nomalloc (out/target/product/generic/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)

And yall are my first line of searching the issues out to help me save time n still work on other stuff too lol. So much appreciated.
 
i have the corerewct answer for you PG, lol.. let me switch back to windows.. as i believe that page is still open lol

frameworks/base/libs/utils/Android.mk
- LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS)

+
LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS) -fpermissive

external/oprofile/pp/Android.mk

-
LOCAL_CFLAGS := $(common_host_cflags)
+
LOCAL_CFLAGS := $(common_host_cflags) -fpermissive
there are a few places you need to change this within that file i believe

build/core/combo/HOST_linux-x86.mk
+
HOST_GLOBAL_CFLAGS := -fpermissive

may need to learn chinese.. lol but here
http://liuju1234.blog.163.com/blog/static/16228152011101813615351/
and here http://blog.csdn.net/flydream0/article/details/7046612
 
#625060 - oprofile: FTBFS: format_output.h:94:22: error: reference 'counts' cannot be declared 'mutable' [-fpermissive] - Debian Bug report logs

maybe this will help you@playfulgods

thats why i build on 10.04 not as many problems. :) but ill do what i can to help you all out. As my experience in all this is very low. i only been doing this for about 3 weeks and learning something new everyday. Google helped me out and as many of you as well have helped me out :)
didnt help lol
 
i did find this.

Migrating to Android Ice Cream Sandwich 4.0

In Ice Cream Sandwich 4.0, we changed the device driver requirements for touch screens to follow the standard Linux multitouch input protocol and added support for protocol "B". We also support digitizer tablets and stylus-based touch devices.
You will probably need to update your input device driver to implement the Linux multitouch input protocol correctly according to the standard.
You will also need to update your input device configuration files because some properties have been changed to be simpler and more systematic.
 
i really like the looks of this rom so i put it on my vortex, I got it to boot up but the touch screen wouldnt work and the buttons have diff. funtions. Can you make a modified version to fit the specs of the vortex?
 
Only one thing to do right now. We are working as well as we can. the touchscreen will be working once we find out how "ICS" is laid out.
 
new error for me.. but when doing make again its goes fine... wierd

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002b5d29797163, pid=28946, tid=47679113225984
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v ~BufferBlob::getPsrInfo_stub
#
# An error report file with more information is saved as:
# /home/tripdoc/android/system/hs_err_pid28946.log
#
# If you would like to submit a bug report, please visit:
# HotSpot Virtual Machine Error Reporting Page
#
make: *** [out/target/common/obj/APPS/HoneycombGallery_intermediates/classes-full-debug.jar] Aborted

hey trip, are you using open-jdk or sun-jdk? i have had better results with sun-jdk. hope that helps
 
Ok so I syced up with AOSP last night and compiled full-eng error free in Ubuntu 11.1. I also got my laptop in a state of kernel building. I wil try and work on getting some updated drivers into the kernel tonight when I get home from work.

edit: and when i said error free, i mean error free. Not one error, not even an xml error.
 
Ok so I syced up with AOSP last night and compiled full-eng error free in Ubuntu 11.1. I also got my laptop in a state of kernel building. I wil try and work on getting some updated drivers into the kernel tonight when I get home from work.

edit: and when i said error free, i mean error free. Not one error, not even an xml error.
ok bro what did u do to get it setup for it and does others builds still build?
 
ok bro what did u do to get it setup for it and does others builds still build?

I installed gcc 4.4 (4.4.6 to be exact) and sun-jdk. I made sure my system was using gcc 4.4. repo sync to get rid of any edits i made while trying to build the first time. . build/envsetup.sh; lunch full-eng; make -j8. ran without one hiccup. Dont know about other builds as this is the first time i've tried to build anything in a while. Hope that helps. Lemme know if you have any specific problems.
 
I'm still getting
Code:
external/oprofile/libpp/format_output.h:94:22: error: reference &#8216;counts&#8217; cannot be declared &#8216;mutable&#8217; [-fpermissive]
host C++: liboprofile_pp <= external/oprofile/libpp/populate.cpp
host C++: liboprofile_pp <= external/oprofile/libpp/profile.cpp
host C++: liboprofile_pp <= external/oprofile/libpp/profile_container.cpp
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/format_output.o] Error 1
In file included from external/oprofile/libpp/op_header.cpp:34:0:
external/oprofile/libpp/format_output.h:94:22: error: reference &#8216;counts&#8217; cannot be declared &#8216;mutable&#8217; [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/op_header.o] Error 1

I will resync n see if it helps...
 
i really like the looks of this rom so i put it on my vortex, I got it to boot up but the touch screen wouldnt work and the buttons have diff. funtions. Can you make a modified version to fit the specs of the vortex?
dopnt own a vortex.. working on this phone now.. when its functional for this phone, it may be possible, but no promisses lol
 
hey trip, are you using open-jdk or sun-jdk? i have had better results with sun-jdk. hope that helps
was using sun-jdk, installed open-jdk on top of it, still got java errors, they were wierd, it would eror out, and then i wwould make again without changing anything and it would go through.. going to remove open-jdk
 
had missed em and have added em now, but getting another one now lol. Beginning to think today isnt a coding day lol
 
todays not working for me either.. lol.. updated ubuntu through the update manager.. still at 10.04 thankfully.. but kernel was updated and now my video drivers are broken.. only 1 screen turns on... desktop is tiny... like 800x600.. i boot into the old kernel, and only have 1 screen.. cant get the other to turn on.. tried about 10 fixes.. nothing.. wouldnt mind so much if it was my big monitor working, but its my smaller one.. not that 21 is bad. but im spoiled.. lol.. gonna play some skyrim.. take a break.. and ill get back to it.. i finished a compile last night, going to see if it boots when i log back into ubuntu
 
I believe cyanogenmods github has a updated driver for synatic_i2c_rmi it just needs some editing. I I'm going to try and compile the kernel again. And try and fix these errors.
 
this is infuriating.... been at this for hours.. nothing friggin works.. kernel updated.. nvidia drivers broke, was looking around, nvidia kernel need to be recompiled with new linux kernel headers.. one problem.. when i go to install the drivers, it says "these drivers are already installed, would you like to uninstall and re-install?" YES i would, ok done, load up gdm, guess what.. still dotnw ork, try to uninstall drivers through terminal, sudo apt-get remove --purge nvidia* "E: no packages selected" blacklist, nothing, blacklist nouvea drivers, nothing, install nouvea drivers.. nothing, not a single change, nvidia settings is still there, both of my monitors are showing up in settings, but my second one shows up as not being connected to a video card, now how on earth would you know it was there if it wasnt connected? its just in its own place, not as an xscreen, just chillin, heres your 8500GT with xscreen0 connected to it, heres your GTX460, with nothing connected to it, heres your 24inch acer display, not connected. REALLY????????


Try webchat.freenode.net

And go to Ubuntu. If you already have a account just identify yourself. And got to Ubuntu they might be able to give you some help.
 
Back
Top Bottom