FORUMS
Remove All Ads from XDA

HOWTO: Compile your own kernel from source (WIP)

10,950 posts
Thanks Meter: 6,568
 
By adrynalyne, Inactive Recognized Developer on 18th April 2011, 04:06 AM
Post Reply Email Thread
7th September 2011, 07:31 PM |#71  
smokin1337's Avatar
Retired Recognized Developer
Flag Virginia
Thanks Meter: 1,615
 
Donate to Me
More
Quote:
Originally Posted by vladnosferatu

i have this error:

anyone knows why ?


scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/dma-mapping.h:93,
from arch/arm/kernel/asm-offsets.c:15:
/usr/src/pyramid-2.6.35_mr/arch/arm/include/asm/dma-mapping.h: In function 'dma_cache_post_ops':
/usr/src/pyramid-2.6.35_mr/arch/arm/include/asm/dma-mapping.h:442: error: implicit declaration of function 'arch_has_speculative_dfetch'
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Did you get this fixed ? I have the same error.
7th September 2011, 07:57 PM |#72  
yareally's Avatar
Senior Member
Thanks Meter: 228
 
Donate to Me
More
Are you using the toolchain that the OP linked or a different one?
7th September 2011, 08:11 PM |#73  
yareally's Avatar
Senior Member
Thanks Meter: 228
 
Donate to Me
More
Quote:
Originally Posted by pablo1010

I was wonder on how to decide the number after the j im using a xoom and i ran that line and lets just say in the end i got in a boot loop and i was wondering if it had to do with the number after the j any help is apperciated, thanks

http://stackoverflow.com/questions/3.../373158#373158

It all depends on how many cpus/cores your computer has and if it has something like hyperthreading or not.
7th September 2011, 08:53 PM |#74  
smokin1337's Avatar
Retired Recognized Developer
Flag Virginia
Thanks Meter: 1,615
 
Donate to Me
More
Yes i am using that toolchain, any suggestions ?
8th September 2011, 07:22 AM |#75  
yareally's Avatar
Senior Member
Thanks Meter: 228
 
Donate to Me
More
Quote:
Originally Posted by smokin1337

Yes i am using that toolchain, any suggestions ?

wish i did, but i haven't encountered that error. ive had other vague ones before and they really suck. try running make in verbose/debug mode. it may at least give you a better idea of what it is doing right before it has that error.
4th November 2011, 11:47 AM |#76  
Simonas0's Avatar
Senior Member
Flag Vilnius
Thanks Meter: 15
 
More
Hello, need help. I have a WinMo device and I want to run Android on it. I compiled kernel 2.6.34 (lastest supported on similar devices: Pocket Loox 710, 718 and 720) and I can't make zImage. Please help!
I have Pocket Loox T830.
Info about Pocket Loox 7xx port http://code.google.com/p/loox7xxport/
If you can make zImage for me, write here and I will upload .config file. Toolchain can be downloaded from http://code.google.com/p/loox7xxport/downloads/list
Thank you
4th November 2011, 06:48 PM |#77  
adrynalyne's Avatar
OP Inactive Recognized Developer
Thanks Meter: 6,568
 
More
bumpity. Update on first post.
15th December 2011, 10:59 AM |#78  
Senior Member
Flag Melbourne
Thanks Meter: 46
 
More
Quote:
Originally Posted by smokin1337

Did you get this fixed ? I have the same error.

Quote:
Originally Posted by vladnosferatu

i have this error:

anyone knows why ?


scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/dma-mapping.h:93,
from arch/arm/kernel/asm-offsets.c:15:
/usr/src/pyramid-2.6.35_mr/arch/arm/include/asm/dma-mapping.h: In function 'dma_cache_post_ops':
/usr/src/pyramid-2.6.35_mr/arch/arm/include/asm/dma-mapping.h:442: error: implicit declaration of function 'arch_has_speculative_dfetch'
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Anyone have a fix for this? I have the same error. Tried 3 different toolchains from code sorcery and Hikari to no avail. Using Ubuntu 11.10 64 bit and trying to compile Sensation kernels, Leedroid, offical HTC 2.6.35 and also Bricked by Showp1984... Same error regardless of which source I use,
3rd October 2012, 12:04 PM |#79  
Jwtiyar's Avatar
Senior Member
Flag Sulaymanyah
Thanks Meter: 197
 
Donate to Me
More
during doing this command:
Code:
make mecha-lte_defconfig
give this :
http://paste.ubuntu.com/1257741/

thank you.
12th March 2016, 08:40 AM |#80  
Junior Member
Thanks Meter: 0
 
More
Hi! It's been four days that I can not sleep trying to compile the kernel of my smartphone. They appeared several errors , but i got to solve them alone. But I'm stuck in one, and i would appreciate your help . The problem is that after changing the required settings in the menu, I can not create the file " zImage". I run the command : "make -j4 ARCH=arm CROSS_COMPILE=arm-linux-androideabi-", the compiling process starts but in the end, the terminal does not convert the files. From what I saw on the internet, in the final lines should appear:
"#OBJCOPY arch/arm/boot/zImage
#Kernel: arch/arm/boot/zImage is ready".
Like in the image:


But in my appears:


I really think that is some command missing, to order the terminal create the zImage. If someone knows what is happening, i would be greateful.
I think that im in the right topic session. If i dont, sorry, im new here.
30th March 2017, 06:29 PM |#81  
Member
Thanks Meter: 2
 
More
My device repositories are not available on github, But I got device tree and vendor blobs by making changes in similar device repo. That reference device's kernel's lineageos_defconfig is situated in htc msm8974 kernel repo. So how can I get lineageos_defconfig for my device, and which other my device related kernel files(.dtsi or any other) I have to push in htc msm8974 repo and get those files to make things ready for build?
Please help......
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes