AnsweredAssumed Answered

recompile the kernel for mfgtools

Question asked by Rote Chen on Jul 28, 2015


I has porting the android L5.0.0 into customer board.

In customer board, i using the eMMC 5.0. so i need recompile the kernel for mfgtools.

But it has some error when i using the config "imx_v7_mfg_defconfig".


kernel/power/earlysuspend.c: In function 'early_suspend':

kernel/power/earlysuspend.c:109:3: error: implicit declaration of function 'android_wake_unlock' [-Werror=implicit-function-declaration]

kernel/power/earlysuspend.c: In function 'request_suspend_state':

kernel/power/earlysuspend.c:173:3: error: implicit declaration of function 'android_wake_lock' [-Werror=implicit-function-declaration]

cc1: some warnings being treated as errors


make[2]: *** [kernel/power/earlysuspend.o] Error 1

make[1]: *** [kernel/power] Error 2

make: *** [kernel] Error 2


Can anyone give me some suggestion, thank you!

Original Attachment has been moved to: