help [building kernel] for mido redmi note 4x - Xiaomi Redmi 4X Questions & Answers

hello my friend
i need some help please
when i build kernel it's give me error as :
include/trace/define_trace.h:83:43: fatal error: /rndis_ipa_trace.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'drivers/net/ethernet/msm/rndis_ipa.o' failed
make[4]: *** [drivers/net/ethernet/msm/rndis_ipa.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/net/ethernet/msm' failed
make[3]: *** [drivers/net/ethernet/msm] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse

Need Help
Hello Friend me too facing the same issue in Redmi 3s with UBERTC 4.9 did solve this issue

akino553 said:
hello my friend
i need some help please
when i build kernel it's give me error as :
Click to expand...
Click to collapse
You need to add current directory address at last drivers/net/ethernet/msm/rndis_ipa_trace.h

Related

[Q] Error in "make clean"

Doing a make clean in any sourcebase (official samsung or voodoo) produces the following error:
scripts/Makefile.clean:17: /home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile'. Stop.
make[1]: *** [drivers/fsr] Error 2
make: *** [_clean_drivers] Error 2
I can see that there is no fsr directory in the tree. What's wrong with this?
huxflux2003 said:
Doing a make clean in any sourcebase (official samsung or voodoo) produces the following error:
scripts/Makefile.clean:17: /home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile'. Stop.
make[1]: *** [drivers/fsr] Error 2
make: *** [_clean_drivers] Error 2
I can see that there is no fsr directory in the tree. What's wrong with this?
Click to expand...
Click to collapse
those are closed source modules. Create the fsr and rfs directories and put an empty Makefile there.
OK, that worked, thanks. When you make and flash a zImage, you only flash the kernel and not the modules, right?
How can you flash a module?

/third_party_WebKit Error

So this is the latest error I am recieving while compiling Omni Rom:
target thumb C++: third_party_WebKit_Source_core_webcore_svg_gyp <= external/chromium_org/third_party/WebKit/Source/core/rendering/svg/RenderSVGForeignObject.cpp
make: *** [/home/kunal/android/omni/out/target/product/d2att/obj/STATIC_LIBRARIES
/third_party_WebKit_Source_core_webcore_svg_gyp_intermediates/third_party/WebKit/Source/core/rendering/svg/RenderSVGEllipse.o] Error 1
make: *** Waiting for unfinished jobs......
Please help
Someone please help
More detailed error log:
http://hastebin.com/malugopiqo.pl

[Q]

Export includes file: bootable/recovery/voldclient/Android.mk -- /home/thewhisp/android/omni/out/target/product/nypon/obj/STATIC_LIBRARIES/libvoldclient_intermediates/export_includes
make: *** No rule to make target `/home/thewhisp/android/omni/out/target/product/nypon/obj/STATIC_LIBRARIES/libminipigz_intermediates/export_includes', needed by `/home/thewhisp/android/omni/out/target/product/nypon/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
I am getting this error when compiling omni rom for my device xperia p

ninja error on compiling rr

Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/kunwar/RR/out/target/product/s2/obj_arm/SHARED_LIBRARIES/libtfa9890_intermediates/export_includes', needed by '/home/kunwar/RR/out/target/product/s2/obj_arm/SHARED_LIBRARIES/audio_amplifier.msm8952_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/kunwar/RR'
You missed Vendor Tree
How to solve that issue

msm_fb kernel error

Hi,
I'm trying to compile my first kernel, more specifically for nethunter on cm13. I've grabbed (what I think is) the source files from github: https://github.com/CyanogenMod/android_kernel_htc_m7/tree/cm-13.0
I've then applied the mac802 patch from the nethuner wiki and have just managed to place the HID patch. When i tried to compile I get the below error, I had a quick Google and it seems to be related to video drivers which seem pretty important to me. Anyone have any ideas how to fix please or point me in the right direction? I've tried searching for the specific warning: info may blah blah blah but that didn't retrieve anything useful.
Code:
drivers/video/msm/msm_fb.c: In function 'msm_fb_commit_thread':
drivers/video/msm/msm_fb.c:2637: warning: 'info' may be used uninitialized in this function
error, forbidden warning: msm_fb.c:2637
scripts/Makefile.build:307: recipe for target 'drivers/video/msm/msm_fb.o' failed
make[3]: *** [drivers/video/msm/msm_fb.o] Error 1
scripts/Makefile.build:443: recipe for target 'drivers/video/msm' failed
make[2]: *** [drivers/video/msm] Error 2
scripts/Makefile.build:443: recipe for target 'drivers/video' failed
make[1]: *** [drivers/video] Error 2
Makefile:951: recipe for target 'drivers' failed
make: *** [drivers] Error 2
EDIT: Worked it out, 'info' was a variable that wasn't being assigned in the source.

Categories

Resources