raja pavan, now i get the error is : root@soumen-laptop:/home/soumen/Desktop/android/common# make /home/soumen/Desktop/android/common/arch/x86/Makefile:81: stack protector enabled but no compiler support CHK include/linux/version.h CHK include/generated/utsrelease.h CC kernel/bounds.s cc1: error: unrecognized command line option "-mregparm=3" kernel/bounds.c:1: error: bad value (i586) for -march= switch make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2
please help me how can I solve... On Wed, Feb 16, 2011 at 5:04 PM, raja pavan <rajain...@gmail.com> wrote: > give CROSS_COMPILE=/usr/local/arm/MYTC/bin/arm-linux- (no need to specify > full name of the gcc binary) , > > make -j1 alone will not suffice. MYTC is the root directory of arm tool > chain setup. > > Full command will be like > > make ARCH=arm CROSS_COMPILE=/usr/local/arm/MYTC/bin/arm-linux- Image -j2 > (customize for your setup of Cross Compiler) > > NDK has the cross compiler which can build the android kernel as kernel > needs only a C compiler. > > Ensure that your NDK is installed in the path : > /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/ > > On Wed, Feb 16, 2011 at 3:51 PM, Soumen Debnath < > soumendebnath....@gmail.com> wrote: > >> can any body tell me when we compile kernel at that time what are >> parameters should be given to the CROSS COMPILER. >> because when i try to compile the android kernel I get the following >> errors: >> >> soumen@soumen-laptop:~/Desktop/android/common$ make -j2 >> /home/soumen/Desktop/android/common/scripts/gcc-version.sh: line 25: >> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >> No such file or directory >> /home/soumen/Desktop/android/common/scripts/gcc-version.sh: line 26: >> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >> No such file or directory >> /home/soumen/Desktop/android/common/arch/x86/Makefile:81: stack protector >> enabled but no compiler support >> /bin/sh: >> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >> not found >> CHK include/linux/version.h >> CC scripts/mod/empty.o >> /bin/sh: >> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >> not found >> make[2]: *** [scripts/mod/empty.o] Error 127 >> make[1]: *** [scripts/mod] Error 2 >> make[1]: *** Waiting for unfinished jobs.... >> CHK include/generated/utsrelease.h >> make: *** [scripts] Error 2 >> make: *** Waiting for unfinished jobs.... >> >> >> >> >> On Wed, Feb 16, 2011 at 12:12 PM, Aldrin Montana >> <drinmont...@gmail.com>wrote: >> >>> Hey man, >>> >>> So I tried for awhile to compile the custom kernel on ubuntu... 9.04? And >>> here's what I've come up with so far. if you do a checkout of >>> http://android.git.kernel.org/?p=kernel/common.git;a=summary and you >>> checkout either goldfish branch (both are archived) then what you can do is >>> do a make goldfishdef_config, make -j2. I have a website that explains it >>> well, and I'll respond with that website when I use my laptop (that's where >>> it is bookmarked). Also there are a bunch of flags you need to set... damn, >>> alright I'll just fetch my laptop and link you that website, but here's the >>> main thing I learned. goldfish branches are ridiculously easy to get to >>> compile. other branches are a bit tougher. >>> >>> However, if you want to just customize the kernel then launch it, it may >>> be easier to work from the goldfish branches. I imagine that you can use >>> these as a base, then when you need to move to a newer branch just figure >>> out how to compile those and it's a simple migration of your code. I'll send >>> another email in about 20 min. good luck! >>> >>> -Aldrin >>> >>> On Mon, Feb 14, 2011 at 9:26 PM, Soumen Debnath < >>> soumendebnath....@gmail.com> wrote: >>> >>>> I want to study the android OS's kernel, and also want to modify it. >>>> On that regard send some useful material if u have.. >>>> >>>> On Mon, Feb 14, 2011 at 2:07 AM, Aldrin Montana <drinmont...@gmail.com >>>> > wrote: >>>> >>>>> any particulars as to what your problem was and what procedure you >>>>> followed? >>>>> >>>>> On Wed, Feb 9, 2011 at 3:33 AM, SD <soumendebnath....@gmail.com>wrote: >>>>> >>>>>> Hello Every Android Lover, >>>>>> I am new to android . I want to study android operating system very >>>>>> closely, for that I want to build the whole android OS on my ubantu >>>>>> 10.04LTS. I try to follow the android site. But I am not able to do >>>>>> so. Can any one please help me regarding this. >>>>>> >>>>>> -- >>>>>> unsubscribe: android-kernel+unsubscr...@googlegroups.com >>>>>> website: http://groups.google.com/group/android-kernel >>>>> >>>>> >>>>> -- >>>>> unsubscribe: android-kernel+unsubscr...@googlegroups.com >>>>> website: http://groups.google.com/group/android-kernel >>>>> >>>> >>>> >>>> >>>> -- >>>> *Thanks & Regards, >>>> Soumen Debnath. >>>> Master of Technology (By Research), B.Tech In Computer Science >>>> Bangalore,India. >>>> Voice: +91 9620002132* >>>> >>>> -- >>>> unsubscribe: android-kernel+unsubscr...@googlegroups.com >>>> website: http://groups.google.com/group/android-kernel >>>> >>> >>> -- >>> unsubscribe: android-kernel+unsubscr...@googlegroups.com >>> website: http://groups.google.com/group/android-kernel >>> >> >> >> >> -- >> *Thanks & Regards, >> Soumen Debnath. >> Master of Technology (By Research), B.Tech In Computer Science >> Bangalore,India. >> Voice: +91 9620002132* >> >> -- >> unsubscribe: android-kernel+unsubscr...@googlegroups.com >> website: http://groups.google.com/group/android-kernel >> > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- *Thanks & Regards, Soumen Debnath. Master of Technology (By Research), B.Tech In Computer Science Bangalore,India. Voice: +91 9620002132* -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel