Android OS Forum banner
41 - 60 of 78 Posts

·
Noob Developer
Joined
·
568 Posts
Perhaps your sync didn't go well? You should have this file, can you confirm if it's there or not?

[background=rgb(245, 245, 245)]/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: No such file or directory[/background]
Yeah, I did a manual check, the file is there. Doing another repo sync now.

Edit: Just going to do a clean install since I messed up somewhere.
 

·
Android Beginner
Joined
·
109 Posts
FYI for anyone having this issue compiling

Code:
frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]<br />
cc1plus: all warnings being treated as errors
try this

Code:
Fix/Workaround:<br />
frameworks/compile/slang/Android.mk<br />
-local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -Werror<br />
+local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter
 

·
? - ???
Joined
·
1,158 Posts
If you search on that its a problem with 4.7 having unknown
That why im diging up gcc-4.4.3 and starting to chase deps now

Sent from my Galaxy Nexus using RootzWiki

Xd man Im tired.
I mixed the long dump w/error that @masterchung7 pasted and what @drdrewdown pasted right under it.
xD

i will get all pkgs needed for 4.4, will ease the pain.
working on getting just enough i can install and remove 4.7
 

·
? - ???
Joined
·
1,158 Posts
Wow i just successfully compiled CM9 in Arch Linux without downgrading any of the packages. Had to symlink python2 to python & then use this workaround above
what java are you using?
thats the only thing that foils me on a fresh install
 

·
? - ???
Joined
·
1,158 Posts

·
? - ???
Joined
·
1,158 Posts
Wow i just successfully compiled CM9 in Arch Linux without downgrading any of the packages. Had to symlink python2 to python & then use this workaround above
Code:
<br />
#!/bin/bash<br />
<br />
<br />
WHATPYTHON=$(ls -l /usr/bin/python | cut -d ">" -f2)<br />
<br />
if [ $WHATPYTHON == python3 ]; then<br />
    echo "changing python symlnk"<br />
    cd /usr/bin/<br />
    sudo rm python<br />
    sudo ln -s python2 python<br />
    echo "python2 symlnk for python created"<br />
    echo "ready to build for android"<br />
elif [ $WHATPYTHON == python2 ]; then<br />
    echo "python is ready to build android"<br />
else<br />
    echo "python2 nor python3 is symlnk for python"<br />
fi<br />
<br />
and just reverse it at the end of your build scripts.
 

·
? - ???
Joined
·
1,158 Posts
my crap builds scripts.
I forgot I even started one for AOKP script
and this one is back in when I was using the thunderbolt and OMFGB script
second I did a litle more with, it would mirror the new build and md5sum on my ftp and email info
 

·
? - ???
Joined
·
1,158 Posts
i'm not going to share how many stupid mistakes i made before i got to this point :D
Hey atleast you didn't give up and installed Ubuntu. XD
Sent from my Galaxy Nexus using RootzWiki
 

·
Android Beginner
Joined
·
109 Posts
This thread is kinda quiet. For those who have gotten a rom to compile, what gcc are you on, I know 4.4 builds but I heard that 4.6.3 works. I think I might have found older gcc Libs here http://mirror.iprimu...ting/os/x86_64/

Sent from my DROIDX using RootzWiki
using gcc 4.7 works fine, i never downgraded it all. Being on x64 i had to use gcc-multilib
 

·
? - ???
Joined
·
1,158 Posts
W
Thanks

Sent from my DROIDX using RootzWiki
Java is the only real issue.
You can use the latest Java if you edit the checks.

I'm same as @drdrewdowns everything I used is up to date except Java.

Clean install in a VM Virtualbox.
Just core no GUI, if I ever need to use the emulator I use my workstation.
Only real reason I use the VM is I never update it.
Only did it to see how hard it was and issues it causes due to some users statements.
I've seen people from many distro's who had problems mostly just user error. xD

I will put together a newer list of everything you need between main and aur.
And see about getting the OP updated. Or make a new thread.

Off topic I went thru a fucking nightmare this weekend because the switch of /lib to /usr/lib and glibc.
Following the developers wiki totally did not work b0rked my workstation. Had to reinstall.
on My workstation this is what I followed and it did not work
DeveloperWiki:usrlib
After that failed I picked thru the forums and just got myself into deeper shit following various users *this worked for me*
On my server I took a different approach.
Using the ArchLiveCD
After boot to prompt
Code:
<br />
aif -p partial-configure-network<br />
pacman -Syy<br />
lsmod | grep dm_mod<br />
modprobe dm_mod<br />
mkdir arch/<br />
mount /dev/sda1 arch/<br />
cp /etc/resolv.conf arch/etc/resolv.conf<br />
mv arch/lib arch/lib.bak<br />
mount -t proc proc proc/<br />
mount -t sysfs sys sys/<br />
mount -o bind /dev dev/<br />
mount -t devpts pts dev/pts/<br />
pacman -Syy<br />
pacman -Syr arch/ glibc<br />
mount /dev/sda2 boot/<br />
mount /dev/sda5 var/<br />
mount /dev/sda6 tmp/<br />
mount /dev/sda7 home/<br />
swapon /dev/sda3<br />
cd arch/<br />
chroot . bash<br />
pacman -Syy<br />
pacman -Syu<br />
Let it update keeping a watch for errors.
Make sure mkinitcpio rebuilds for the Kernel you use.
If any errors, then run
Code:
<br />
pacman -Su<br />
pacman -Syy<br />
pacman -Syu<br />
if all goes well reboot and smile.
Sent from my Galaxy Nexus using Tapatalk 2
 

·
? - ???
Joined
·
1,158 Posts
I added the python fix to my build script.

https://bitbucket.or...uild-bot-script

EDIT: I also borked my install on that updated. Did reinstall instead of trying to fix.
XD was a quick fix off the top of my head.
I'm pretty lazy and mostly take easy routes if they work.
Glad to see it helps other sometimes. :)

I was happy on my other tower I managed to update without an issue.
The tower I use the most sadly was the one screwed up. All back to normal now.
Sent from my Galaxy Nexus using Tapatalk 2
 

·
Android Beginner
Joined
·
19 Posts
Yup got me in the right direction at least! Thanks =D

I made a stupid mistake and renamed the lib folder haha. I probably could have fixed it but meh. I had been wanting to start over especially since it seems you don't have to downgrade any packages anymore.
 
41 - 60 of 78 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top