The fastest solution is to search this thread or Google, you would have gained 3 hours !hi all.
if someone have a solution/explanation to fix?
home/desalesouche/cm2/kernel/huawei/honor/arch/arm/mach-msm/rpc_server_handset.c:111:12: warning: ‘get_current_machine’ defined but not used [-Wunused-function]
error, forbidden warning: rpc_server_handset.c:111
/home/desalesouche/cm2/kernel/huawei/honor/scripts/Makefile.build:307: recipe for target 'arch/arm/mach-msm/rpc_server_handset.o' failed
make: *** [arch/arm/mach-msm/rpc_server_handset.o] Error 1
kernel source: https://github.com/desteam/huawei-kernel-3.4