Compile error
I try to compile kernel using UBERTC 4.9 for my redmi3 but i stuck on this error
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/soc/qcom/subsystem_restart.o
drivers/soc/qcom/subsystem_restart.c: In function 'subsys_register':
drivers/soc/qcom/subsystem_restart.c:1480:19: error: 'WT_SUBSYSTEM_REASTART_LEVEL' undeclared (first use in this function)
if (0 == strncmp(WT_SUBSYSTEM_REASTART_LEVEL, "SYSTEM", 6)) {
^
drivers/soc/qcom/subsystem_restart.c:1480:19: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [drivers/soc/qcom/subsystem_restart.o] Error 1
make[2]: *** [drivers/soc/qcom] Error 2
make[1]: *** [drivers/soc] Error 2
make: *** [drivers] Error 2
Still stuck on the same error
don' build it now the source code has errors
forget my last comment.it can be built with a correct config
sorry…i misunderstood you… it seems the source code really having errors i think this problem happens because it is missing header files. @hehao @MiCode
Waiting for update
@cleverior clever!?… I found a way out! in your .config found CONFIG_MSM_SUBSYSTEM_RESTART=y change to =n or just # drop it. enjoy building or you can still wait for update…😂
Hi Guys,
You mentioned wrong person.
same nickname"😱"
@eebssk1 : thanks for your info. I'll try it later.
stuck on new error
make[1]: Nothing to be done for `dtbs'.
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
CC drivers/video/msm/msm_fb.o
CC drivers/video/msm/mdp.o
CC drivers/video/msm/mdp_ppp.o
drivers/video/msm/msm_fb.c:30:24: fatal error: mach/board.h: No such file or directory
#include <mach/board.h>
^
compilation terminated.
make[3]: *** [drivers/video/msm/msm_fb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
drivers/video/msm/mdp.c:28:27: fatal error: mach/hardware.h: No such file or directory
#include <mach/hardware.h>
^
compilation terminated.
make[3]: *** [drivers/video/msm/mdp.o] Error 1
drivers/video/msm/mdp_ppp.c:29:27: fatal error: mach/hardware.h: No such file or directory
#include <mach/hardware.h>
^
compilation terminated.
make[3]: *** [drivers/video/msm/mdp_ppp.o] Error 1
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
maybe it's gcc's problem i use android ndk r10e system environment's problem is possibe too…
@cleverior, you need to resync the code. Mine builds fine but doesnt boot...
Which gcc u use ?
4.9 UberTC
compile finished! but touchscreen didn't work…
how about you?…
@cleverior
How you got it to boot @eebssk1?
@webhaikal yes
Still stuck bro On Jun 2, 2016 7:37 AM, "eebssk1" [email protected] wrote:
@webhaikal https://github.com/webhaikal yes
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/47#issuecomment-223165601, or mute the thread https://github.com/notifications/unsubscribe/AEGXB7NGeWfwwyWNu6m9TpVptiZWxh31ks5qHiW-gaJpZM4Ijvji .
@eebssk1 How you compile it? What defconfig used and what changes? @cleverior Same here...
android r10e wtbalabala-perf-defconfig config_msm_subsystem_restart=n silly batter states touchscreen does't work data doesn't work
so the code is trash…
don't care about my english and i'm lazy………