ads

mardi 8 septembre 2015

Compiling kernel issue



im trying to compile a stock lollipop sprint samsung note 2 kernel but its throwing an error. I thought it was just another "file not found error" (like the numerous ones that dont stop it from compiling) but it stops compiling so i look and i see that the file is right where it should be. the error is this
CC drivers/video/msm/mdss/logo.o
CC drivers/video/msm/mdss/mdss_samsung_tft_video_dual_dsi_panel.o
CC drivers/video/msm/mdss/LP8556-backlight.o
CC drivers/video/msm/mdss/msm_mdss_io_8974.o
CC drivers/video/msm/mdss/mdss_mdp.o
In file included from drivers/video/msm/mdss/mdss_mdp_trace.h:255:0,
from drivers/video/msm/mdss/mdss_mdp.c:60:
include/trace/define_trace.h:79:43: fatal error: ./mdss_mdp_trace.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/video/msm/mdss/mdss_mdp.o] Error 1
make[3]: *** [drivers/video/msm/mdss] Error 2
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

I thought mabye it was an issue in the file "mdss_mdp_trace.h" so i looked for anything out of the ordinary and tried even giving full paths to called files which resulted in nothing.
i thought it might be a pointer issue to the actual file mdss_mdp_trace.h so i did "grep -r " to search for all files with the string containing "mdss_mdp_trace.h" and made sure they were naming and calling it correctly aaaaand nothing.
last i thought mabye its define_trace.h but i couldn't find anything when looking at it. I do not program in C so mabye i am missing something because at line 79 i see
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
which isn't color coded is this calling a function? idk where to look.

i got the most recent kernel source sm-n900p from the samsung website ide link but i am a new xda member.

why is it that of the 5 kernel sources (either cyanogenmod or stock) I got for 2 different devices don't even work either by some obscure error
or the most common "file not found" why don't they test it to make sure it compiles before they zip it up for download because these are not
environment based errors. This really frustrates me. And if you download and try it and it compiles then i will truely be baffled.



Aucun commentaire:

Enregistrer un commentaire