i am trying to compile 2.6.32.9 kernel . but when i do " make " after a while it cames with an error like this
"mm/page-writeback.c: in function 'write_cache_pages':
"mm/page-writeback.c:820: internal compiler error : segmentation fault"
i can't find mistake on that line , and google is not giving me the answer i am looking for .
if anybody knows something , plz help me
facing same error
compiling galaxy s I9000 kernel from sources "/GT-I9000_OpenSource_Froyo_update2"
Cross compiler used: export PATH=$PATH:/home/xx/bin/u/android-ndk-r5/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin
please correct me if something is wrong
Related
I'm trying to build a custom rom using custom device Kernel and Vendor directories of my device that have been ported to android 4.0.4
and was wondering how to get aosp to recognise them.
When I run build/envsetup.sh it loads my device and the lunch command recognised it. ( iv added my device dirs everywhere I can think of in the system folder.)
when I go to build it says my device must be defined and I'm unsure of how to do this. this is my first time trying to build a from from source and any help will be greatly appreciated.
Could someone in detail explain how to add my device properly?
The name of my device is ancora_tmo
Sent from my Galaxy Exhibit running Jocala's CM9
IRX120 said:
I'm trying to build a custom rom using custom device Kernel and Vendor directories of my device that have been ported to android 4.0.4
and was wondering how to get aosp to recognise them.
When I run build/envsetup.sh it loads my device and the lunch command recognised it. ( iv added my device dirs everywhere I can think of in the system folder.)
when I go to build it says my device must be defined and I'm unsure of how to do this. this is my first time trying to build a from from source and any help will be greatly appreciated.
Could someone in detail explain how to add my device properly?
The name of my device is ancora_tmo
Sent from my Galaxy Exhibit running Jocala's CM9
Click to expand...
Click to collapse
Maybe you can trie to use this
Put you device tree in the [RED](working[/RED] directory)/device/samsung/ancora_tmo
[RED]. Build/envsetup.sh [/RED]
Then
[RED]lunch full_ancora_tmo-userdebug[/RED]
Then proceed with the build
hi everyone ,this is my first post here...BTW,i tried to compile wayland's source for ace(link herehttp://forum.xda-developers.com/showthread.php?t=1868121 ) today,but it seems i came across some problem...one of them is this:
Code:
error: ui/Overlay.h: No such file or directory
i check cm source dirctory /frameworks/base/include/ui ,but the header is not there...and then i check the source code from waylang's github,find nothing...did i do something wrong ? or the header should be in the source?thx~
I am trying to compile perf tool for arm. I have followed the instructions provided in the tool (tools/perf in the linux kernel and also tried compiling it in external/linux-tools-perf). I am getting errors like:
make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
Makefile:409: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev
Makefile:424: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop.
But, when I try to compile it for x86 in linux kernel, there are no issues for x86. Why is that it is very hard for building this tool for arm ?
If anybody has successfully built it, please provide me tips of how to built perf tool for arm.
Thanks,
Malarand
I am also having the same problem
i tried to follow the instructions showed in perf/documentation/android.txt
but i failed with a error saying
Android NDK: NDK_TOOLCHAIN is defined to the unsupported value android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-
Android NDK: Please use one of the following values: arm-linux-androideabi-4.6 arm-linux-androideabi-4.8 arm-linux-androideabi-clang3.2 arm-linux-androideabi-clang3.3 mipsel-linux-android-4.6 mipsel-linux-android-4.8 mipsel-linux-android-clang3.2 mipsel-linux-android-clang3.3 x86-4.6 x86-4.8 x86-clang3.2 x86-clang3.3
build/core/init.mk:555: * Android NDK: Aborting . Stop.
Click to expand...
Click to collapse
then later i though this is not gona work like this, as the perf is part of kernel the perf should be built while the kernel source is being compiled so i tried to go to kernel directory there i have run
make -C tools/ perf_install ARCH=arm CROSS_COMPILE=arm-eabi-
Click to expand...
Click to collapse
which again resulted an error saying like yours
Makefile:592: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop.
Click to expand...
Click to collapse
my kernel version 3.10.65
i am struggling with this error from days not able build perf for android, i am urgently in need of it
Any solutions?
Any solutions?
shyam.sunder91 said:
i tried to follow the instructions showed in perf/documentation/android.txt
but i failed with a error saying
then later i though this is not gona work like this, as the perf is part of kernel the perf should be built while the kernel source is being compiled so i tried to go to kernel directory there i have run
which again resulted an error saying like yours
my kernel version 3.10.65
i am struggling with this error from days not able build perf for android, i am urgently in need of it
Click to expand...
Click to collapse
someone could help me with this error from already thank
ERROR: /media/jbcdroid/Backup/CyanPop/vendor/cmsdk/cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java:311: The method isSelfManaged() is undefined for the type SunlightEnhancement
full log: http://hastebin.com/iyotixifox.vhdl:crying:
CM Version: 12.1
I have the same problem and got around by doing a "return false" for the method in CMHardwareService.isSunlightEnhancementSelfManaged (instead of the check that happens there, which is
Code:
public boolean isSunlightEnhancementSelfManaged() {
return SunlightEnhancement.isSelfManaged();
}
The code seems to have been introduced as part of this commit ( 49a1ddcf1f90765b1326f6808f227bcf59e446bd on the cm_platform_sdk repo) but I cant find any references of this being implemented in the osprey specific repositories. Only the core implementation (in android_frameworks_opt_hardware/src/org/cyanogenmod/hardware/SunlightEnhancement.java) seems to have this implemented but none of the device specific ones.
Im quite a newbie to building, so please let me know if Im missing something or doing something wrong, but for now, Ive bypassed this to have a successful build.
Note: Cannot post links yet , which is why I had to provide a hash to the commit that lead to this behaviour.
Thanks
raja
Hello guys ,
Please help me to fix this error : error: only position independent executables (PIE) are supported.
I am using DOOGEE X5S Rooted android 5.1 I have this problem when I was following this guide :
android.stackexchange.com/a/55701/171994 ( I can't post outside links yet , sorry about that ).
Anyway , I already installed the cURL on my android phone , but I'm receiving this error on Terminal emulator error : position independence executables (PIE) are supported. Please guys help me to fix this error , Thank you guys for your help and your time