FORUMS

Analysis & Opinion

Top Forum Discussions

[GUIDE]Compile AOKP and CyanogenMod for HTC Sensation on Ubuntu (ONLY 64-bit)

5,600 posts
Thanks Meter: 1,625
 
Post Reply Subscribe to Thread Email Thread
10th March 2012, 06:57 AM |#571  
mpmilestogo's Avatar
Senior Member
Flag Union City California
Thanks Meter: 66
 
More
Seems like the error 41 persists for me. On a AMD64 ubuntu server box with 4g of memory. I lowered the Xmx java setting to 1024 but I am seeing this ever since the last repo sync this evening.

http://pastebin.com/EREcLfX6

This only started occurring after syncing this evening and seeing a lot of changes to apps and framework from CM9.
 
 
10th March 2012, 09:25 AM |#572  
kmmxracer's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 67
 
More
I'm getting the same issues. interesting???
10th March 2012, 03:47 PM |#573  
hawkeyexp's Avatar
Senior Member
Thanks Meter: 35
 
More
sampe problem here
10th March 2012, 03:53 PM |#574  
blahbl4hblah's Avatar
OP Recognized Developer
Flag Los Angeles, CA
Thanks Meter: 1,625
 
Donate to Me
More
I haven't had the issue ever that I could remember
But for me to find out more about this error can you tell me if your using virtual machine or dual boot or something else. Whether your using 64bit or 32bit

I've only compiled on a 64bit so I wouldn't know how this goes with 32bit

Sent from my HTC Sensation using Tapatalk
10th March 2012, 04:13 PM |#575  
seadersn's Avatar
Recognized Developer
Thanks Meter: 1,889
 
More
very nice, it's possible now, thx to commits @ gerrit, to switch on flashlight per statusbar/notification area buttons
10th March 2012, 04:20 PM |#576  
mpmilestogo's Avatar
Senior Member
Flag Union City California
Thanks Meter: 66
 
More
Quote:
Originally Posted by blahbl4hblah

I haven't had the issue ever that I could remember
But for me to find out more about this error can you tell me if your using virtual machine or dual boot or something else. Whether your using 64bit or 32bit

I've only compiled on a 64bit so I wouldn't know how this goes with 32bit

Sent from my HTC Sensation using Tapatalk

Hi. I'm running this on real hardware. Its a AMD64 Shuttle system with Ubuntu 11.10 64bit server with 4gb of memory and all the packages installed necessary to compile. I have been successfully compiling ROMs until late last night when after a repo sync it all fell apart with the symbol errors and the error 41.

I tried backing off the java virtual machine memory to 1024 since initially I believed that perhaps I had been too aggressive with the -j switch for the system and it failed. There are a few causes of this I found online so tried those and the one posted a few posts up from here.

Nothing has really resolved this problem. Kinda considering just redoing the entire thing all over again since I have a decent internet connection. I have never had problems compiling although it does take about 2 hours on this sytem after doing a make clobber.
10th March 2012, 04:29 PM |#577  
kmmxracer's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 67
 
More
Quote:
Originally Posted by blahbl4hblah

I haven't had the issue ever that I could remember
But for me to find out more about this error can you tell me if your using virtual machine or dual boot or something else. Whether your using 64bit or 32bit

I've only compiled on a 64bit so I wouldn't know how this goes with 32bit

Sent from my HTC Sensation using Tapatalk

I'm building on a dedicated machine, no VM. Running 64-bit Ubuntu 11.10. So I was thrown of by the suggestion to try the fix for 32-bit. I didn't make any changes, followed the guide exactly, I have even had successful build in the past, before the switch to the OpenSensation repo.

I just woke us, so I'm trying
#make cobbler
#repo sync
#make -j4 bacon

to see how it goes. I'll post all errors if I get any.

---------- Post added at 06:29 PM ---------- Previous post was at 06:21 PM ----------

Quote:
Originally Posted by mpmilestogo

Kinda considering just redoing the entire thing all over again since I have a decent internet connection. I have never had problems compiling although it does take about 2 hours on this sytem after doing a make clobber.

I did start from a fresh install of Ubuntu and followed the newest guide, and I'm getting errors for the first time.
10th March 2012, 04:34 PM |#578  
blahbl4hblah's Avatar
OP Recognized Developer
Flag Los Angeles, CA
Thanks Meter: 1,625
 
Donate to Me
More
Quote:
Originally Posted by seadersn

very nice, it's possible now, thx to commits @ gerrit, to switch on flashlight per statusbar/notification area buttons

You mean toggle button? Do you have the Gerrit ljnk for it to be enabled? I want to add it xD

Thanks

Sent from my HTC Sensation using Tapatalk
10th March 2012, 04:57 PM |#579  
seadersn's Avatar
Recognized Developer
Thanks Meter: 1,889
 
More
http://review.cyanogenmod.com/13422

i think it was only this one, and enabling it @ framework / device tree (link from v.) and adding it @ manifest.
The Following User Says Thank You to seadersn For This Useful Post: [ View ]
10th March 2012, 04:59 PM |#580  
blahbl4hblah's Avatar
OP Recognized Developer
Flag Los Angeles, CA
Thanks Meter: 1,625
 
Donate to Me
More
Quote:
Originally Posted by seadersn

http://review.cyanogenmod.com/13422

i think it was only this one, and enabling it @ framework / device tree (link from v.) and adding it @ manifest.

Thanks let's hope it gets merged Haha if not then at least we can add it back xD

Sent from my HTC Sensation using Tapatalk
10th March 2012, 05:19 PM |#581  
kmmxracer's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 67
 
More
Here is a link to pastbin of my error 41

http://pastebin.com/JhrSzePT


Here is what I get in the start of the build:

http://pastebin.com/UHwBpyGB


Pastbin didn't let me upload the whole think LOL


***EDIT***
I feel like an idiot righ about now, because I cought a mistake that is so obvious and I didn't miss it before. Dumb, dumb, dumb

"4g. Add Toolchain PATH if you plan on Compiling Kernels"

#Android Toolchain PATH
export ARCH=arm
export CCOMPILE=$CROSS_COMPILE
export CROSS_COMPILE=arm-eabi-
export PATH=$PATH:/home/YOUR-USERNAME/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin


***I forgot to change "YOUR-USERNAME" ***

Not sure if this will effect a general build since I don't think I'm compiling the kernel, but I hope that's all it was???
Last edited by kmmxracer; 10th March 2012 at 06:46 PM.

Read More
Post Reply Subscribe to Thread

Tags
cm9, guide, ics, pyramid, sensation
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes