0

Goal I am new to kernel compile thing. My goal is to build the kernel from source for motoG.

Work Done

Until now I have downloaded following modules.

Also following tutorial I have performed all steps without any error until "final make" command.

Error

However when I try to run make to compile kernel I receive following error:

drivers/gpu/msm/adreno_snapshot.c: In function 'snapshot_ib':
drivers/gpu/msm/adreno_snapshot.c:638: sorry, unimplemented: inlining failed in call to 'parse_ib': recursive inlining
drivers/gpu/msm/adreno_snapshot.c:598: sorry, unimplemented: called from here

Can anybody please suggest me which point I am doing wrong. Thanks for your time.

CryptoKitty
  • 654
  • 4
  • 20
  • Forward declaration for `static inline` function looks unusual. See, e.g., that discussion: http://www.gossamer-threads.com/lists/linux/kernel/2262303. Also, as far as I understand, function's definition in that case should omit `static` keyword, as in the case with non-inline forward declaration. `static inline int parse_ib(...); ` ... `inline int parse_ib(...) {...}`. – Tsyvarev Sep 22 '15 at 14:31
  • I removed inline and error is removed .. not a proper solution though. – CryptoKitty Sep 22 '15 at 16:06

0 Answers0