Hey Guys,
i don't know, if someone other than me have had this error in the past. I searched on Google and on XDA, but I didn't found something compairing to my Error.
I'm new to kernel compiling, so I don't have some information...please don't hit me that I'm doind something like this as my first time ! I want to learn how a kernel is going to be compiled. And as extra kick, it would be great if i can make my custom kernel for just my needs on my SE 2010 X10 Mini Pro
I read slade_87's Thread http://forum.xda-developers.com/showthread.php?t=1382917
I did all, setting up the Environment. Because of my slow Internet Connection, iI don't want to download the whole Android source, so I'm using this Toolchain https://sourcery.mentor.com/sgpp/lite/arm/portal/subscription3053. I'm doind all in a virtual Ubuntu 10.04 LTS 32bit in Vmware player 3.1.4 build-385536.
I copied the standart config from /arch/arm/configs/semc_mimmi/defconfig to .config, like in the Turtorial. I also made "ARCH=arm make menuconfig", no Problem. I didn't change anythine, because I thought I could make a mistake in the config, i just wanted to build the original source, to see if I can get this to work for some Experiments.
The Problem is when I'm executing the compile-command itself. When I'm entering "ARCH=arm CROSS_COMPILE=/home/android/kernel/arm-cc/bin/arm-none-eabi- make". After some lines....2-5 seconds or so.... i keep getting the error on the last few line in my attachment. I tried the cyanogenmod-kernel source, diffrent kernel source file from SE but i keep getting the same error, not on the same line, but always in linux/include/pagemap.h
I'm not so good in C, I'm some kind of BASIC junkie so i'm having quite a horror with C. But i thought, the Devs here, slade_87/doxian/D4rKn3sSyS/paul-xxx, don't have such simple errors, or they do know a way, how to get through this.
Could someone look at this ? Do you know a way of direction, where the error is coming ? I think, because it's always the same with different kernel source files, the errors on my side... but i can't think of any....
Thanks in Advance,
Lost Prophet
Related
Hiya I am interested in compiling my own version of the android project from the latest sources for Hero but I am having a little bit of trouble, I have been attempting to follow this guide android.modaco.com/index.php?showtopic=301857&view=findpost&p=1179830 but it does not seem to make a lot of sense to me. For instance there is no .repo/local_manifest.xml file only a .repo/manifest.xml file and editing this as outlined gives me an error. Could somebody point me in the direction of a fairly noob friendly guide for this kind of stuff, thanks a lot.
Conb123
P.S Sorry about the dodgy link, newbie restrictions prevented me from formatting it properly
this should be in Q&A Section not development really. But im looking for this too! installed ubuntu using Wubi set up JDK,SDK testsign etc and repo but god knows how to do it all! I only want to port cyanogenROM
follow this: http://source.android.com/download
when you got everything synced you can basically type "make" and watch it compile for a while. i managed to do it with just above zero knowledge about compiling.
if you want the cyanogen sources try it with the according repo. i have zero idea about vendor overlays, as i needed to compile only the recovery (watched two hours of eclair compiling, then was told i need cupcake sources and can compile the recovery only...)
Yes I am aware of how to get sources and how to compile them, I am fairly well versed in linux. But I do not know how I can compile it into a usable rom for hero.
the result of the compiling are image files that can be flashed to the phone: system.img etc. you can extract them using unyaffs.
I ran the make command, but i really have no idea what to do from there. What is the end result of doing the first make command? Im fairly sure that it is not a single .img file you can flash onto your phone. You need to make a kernal if i am correct(anyone know how to do this?)
the result of the compiling is at least a system.img. if you compiled it correctly you can flash that to /system partition. further you need a boot.img, which also contains the kernel. the the rom-cooking howto in dev section how to create one, or just get one from a working rom.
fwiw, the .img files are in out/target/product/generic/ (although there probably is a device specific directory in there if you handled the vendor overlay correctly. <- this is just a guess, i have actually no idea).
Wanna link us to that how to thread? I cant seem to find a complete one with working links.
http://forum.xda-developers.com/showthread.php?t=551711
i couldn't think of any other place to ask this question but ive been at trying to solve this issue for 2 days now and its driving me crazy, im going to try my best to explain it.
so i compiled kernel #1 and it worked ish. had some expected issues.
compiled kernel #2, donest work, mess with it for a few days. no luck. go back to kernel #1
compile kernel #1. the file size is different then the original #1 compile, and when i install it it has graphics issues as in nothing is displayed correctly... its all kinds of messed up.
the issue here is i cannot replicate my original compile of kernel #1.
-what i have tried-
it is not the rom. proven.
nuked kernel dir
tried a different folder with a clean download
restarted the computer
tried different toolchains versions
tried a fresh .config
is there any other cache or something i can clear that will maybe fix this?
thanks guys, im new to kernel work. gotta start somewhere though
other info
ubuntu 11.04
kernel for a tegra based tablet
Ubuntu 11.04, are you sure??
Use 10.04 LTS!
Greets!
mDroidd said:
Ubuntu 11.04, are you sure??
Use 10.04 LTS!
Greets!
Click to expand...
Click to collapse
well i haven't had any issues at all until now :/ do you really think thats the only solution? i only ask because ubuntu is my primary os on my laptop and it would be a real pain to downgrade...
no luck.
tried on an ubuntu 10.04 box. didnt work, same results.
every time i compile each zimage is a few bytes different form the last.
the issues im seeing is horrible graphics artifacting all over the place... and im not sure why.
Hey XDA, no time no speak,
After writing a story about it, I went and purchased the HiSense Sero 7 Pro (I recommend you go buy one), and I decided to do a source build of CM10.1 on it. There is a problem though, the manufacturer is not responding to my request of releasing the kernel source (even though I know that GPL requires it), so an issue there obviously.
Moving on though, I decided to go ahead and sync the repo. The only problem is, I am at the part where I need to make the local_manifest.xml (which I have), but because I don't have kernel source, my directories on github (located here) are empty.
I think it's worth noting that I am on an OS X system (only got 500GB, gave 75 of it to a windows partition and its already slow, couldn't imagine fighting with a Ubuntu partition), and I read the CM wiki top to bottom, spent hours upon hours googling, and no luck. Another issue I have is that when running this command:
$ ./build/tools/device/mkvendor.sh samsung i9300 ~/Desktop/i9300boot.img
I get errors with it questioning whether or not my environment is correctly set up. I also try saw that it said "Create extract-files.sh and setup-makefiles.sh scripts" but I cant run the scripts because they arent available for mac! Sooo im in a rock and a hard place man, any assistance??
Im very much welcome to giving any additional information that you may need Thanks in advance for help
Following many of the excellent CM building guides on xda as well as CM's wiki, I was able to quite smoothly get my virtual Ubuntu to begin building ICS. However, after about 5 minutes of it happily churning out binaries, the build stops complaining about being unable to recognize out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/src/builtins.o while compiling V8. I've googled around but have not been able to find this particular error; also given my limited understaning of the build system on Linux am unable to diagnose this rather cryptic situation.
I've tried removing the entire out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/ folder as well as starting afresh (after make clean) but the error does not go away. From what I've grepped, the recipe for builtins.o is inside builtins.P but not sure if this is where something goes meh.
I'm attaching my current build log as well as the builtins.P file. Will be grateful for any ideas on how to troubleshoot this further.
EDIT: building for Galaxy S i9000, but to me this seems like a more general build error and hence posting here. If you think this thread belongs elsewhere, please do let me know.
I have a few devices lying around; Optimus One-KitKat, Nexus 4-Lollipop 5.1.1, Nexus 5-N/A(waiting on digitizer) and a Zenpad 10-Lollipop 5.0.1.
I'm looking to add wifi driver(s) to the kernel of one, or all of them.. but I'm not sure where even to start.
I have Android Studio installed on Windows, I've got a Kali Boot laptop.
I can install anything on either that are required, I'm assuming the Kali would be best suited.
If you guys could get me started with something base.. like source files? I'm more than willing to attempt this mission myself...
Maybe come back here with small questions or "Ohshi- I broke it, what do I do?!"(honestly don't think that'd happen, but you never know)
Right now, all I'm looking for is what I need to install, and where I can find source files and such.
Please and thank you guys.
Edit: Currently my mission is to take a driver's .bin from linux and change it to .ko or equivalent for android so I can insert it in and have my external dongle work... any ideas?
Edit2: Turns out I can't do it that way, But now I've got the Source for both Kernels. My Tablet, and the Linux I'm running with the drivers built into it. So I have access to the drivers themselves. I'm just trying to figure out how to recompile them for Android.