FORUMS

[Q] Fail to compile kernel.

3 posts
Thanks Meter: 0
 
By secondsen, Junior Member on 7th February 2014, 04:07 AM
Post Reply Subscribe to Thread Email Thread
I download the code from htcdev.But it looks like failed to compile it.

root@ubuntu:/opt/CM-11.0/kernel/htc/m7ul# export PATH=$PATH:/opt/CM-11.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin
root@ubuntu:/opt/CM-11.0/kernel/htc/m7ul# make m7_defconfig
root@ubuntu:/opt/CM-11.0/kernel/htc/m7ul# make ARCH=arm CROSS_COMPILE=arm-eabi- -j5

CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/gpu/msm/adreno_snapshot.o
drivers/gpu/msm/adreno_snapshot.c: In function 'snapshot_rb':
drivers/gpu/msm/adreno_snapshot.c:498: sorry, unimplemented: inlining failed in call to 'parse_ib': recursive inlining
drivers/gpu/msm/adreno_snapshot.c:469: sorry, unimplemented: called from here
make[3]: *** [drivers/gpu/msm/adreno_snapshot.o] Error 1
make[2]: *** [drivers/gpu/msm] Error 2
make[1]: *** [drivers/gpu] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
root@ubuntu:/opt/CM-11.0/kernel/htc/m7ul#

How to solve it?
THX.
 
 
8th February 2014, 12:50 PM |#2  
OP Junior Member
Thanks Meter: 0
 
More
Unhappy
Nobody knows?
12th April 2015, 07:53 AM |#3  
Aung Thiha's Avatar
Senior Member
Flag Mandalay
Thanks Meter: 51
 
More
Well, I'm having the same error. have you got it fixed?

---------- Post added at 07:53 AM ---------- Previous post was at 07:41 AM ----------

Ok, I change the inline method by remove the "inline" at "static int parse_ib(struct kgsl_device *device, phys_addr_t ptbase, unsigned int gpuaddr, unsigned int dwords)".

Then, it doesn't show the error anymore but not sure if it will works. gotta find out.
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