I need to compile my own android kernel for research. I did excactly the things written down in the developer section and then tried to compile the kernel.
But every build i try fails because of some errors.. I thought that when i use a stable version i should compile the kernel without any problem…
Is it possible that my gcc and stuff is too new due I’m using Debian Sid and not as recommended Ubuntu 10.04? The Problem is i only have Debian Servers with LXC, so creating a ubuntu Jail seems possible but i dont want to if i didnt need to.
I allready compiled my own Android-x86 Kernel on a Debian Machine and it worked very well!
I tried to compile 2.4.6_r1, 4.0.1_r1, 4.0.4_r1, 4.0.4_r1.2 in different buildsets (full, crespo) but always got some error in C or Java Files.
I have installed sun-java6-jdk and gcc/g++ Debian 4.6.3-5
edit: first it seems like this problem: https://groups.google.com/forum/#!topic/android-building/UrluVAdRTkU
when i did, it actually builds further but even then errors occured…
It seems that on Debian more then just installing the dependecies is required to successfully build a kernel. The Library Versions and Paths seems to differ from them in Ubuntu so much that its nearly impossible to create a stable build environment in small time.
So I’m switching to Ubuntu 10.04 and since then i can build a kernel without any error.