[Galaxy Note 3 Q&A, Help & Troubleshooting] J_viix__:
Hello. I'm trying to build a kernel for N9005, but build-kernel.sh gives me this error:

LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 11 of arch/arm/crypto/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 28 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 55 of mm/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 37 of fs/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 22 of security/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 11 of crypto/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 36 of block/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 22 of lib/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of drivers/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of arch/arm/oprofile/built-in.o is not in EXIDX output section
/home/javi/RR/kernel/samsung/msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 34 of net/built-in.o is not in EXIDX output section
arch/arm/mach-msm/built-in.o:msm8974-thermistor.c:function msm8974_init: error: undefined reference to 'msm_8974_init_gpiomux'
arch/arm/mach-msm/built-in.o:msm8974-thermistor.c:function pil_boot: error: undefined reference to 'poweroff_charging'
arch/arm/mach-msm/built-in.o:msm8974-thermistor.c:function msm_restart: error: undefined reference to 'poweroff_charging'
drivers/built-in.o:sii8240.c:function of_sii8240_probe_dt: error: undefined reference to 'acc_register_notifier'
make[1]: *** [/home/javi/RR/kernel/samsung/msm8974/Makefile:889: .tmp_vmlinux1] Error 1
make: *** [Makefile:130: sub-make] Error 2

Any solution for this?