[Android Q&A, Help & Troubleshooting] Atifbaig786:
,I am trying to build my first kernel and ran into an erro.I do not understand what went wrong and need your help.Here is the output:

LD .tmp_vmlinux1 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 21 of lib/built-in.o is not in EXIDX output section /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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 /root/kernel/android_kernel_samsung_msm8974-cm-14.1/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' /root/kernel/android_kernel_samsung_msm8974-cm-14.1/Makefile:889: recipe for target '.tmp_vmlinux1' failed make[1]: *** [.tmp_vmlinux1] Error 1 Makefile:130: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 make: Leaving directory '/root/kernel/android_kernel_samsung_msm8974-cm-14.1' cp: cannot stat 'output/arch/arm/boot/Image': No such file or directory

+:A note that I am trying to build an android kernel because of a sound mod patch that will enable sound modification.I requested on xda to build it and after 6 months I thought I had the hardware and I should have a shot at it.

I have the latest GCC toolchain.