'Linker errors, when compiling Linux (AOSP-Linux) Kernel

I have been compiling the AOSP Linux Kernel for a while now, but just recently I have been stopped by a unusual error.

aarch64-none-linux-gnu-ld: drivers/built-in.o: in function wait_for_pll': clk-alpha-pll.c:(.text+0x8633ac): undefined reference to clk_debug_print_hw' aarch64-none-linux-gnu-ld: drivers/built-in.o: in function update_config': clk-rcg2.c:(.text+0x86710c): undefined reference to clk_debug_print_hw' aarch64-none-linux-gnu-ld: drivers/built-in.o: in functionclk_branch_toggle': clk-branch.c:(.text+0x86795c): undefined reference to clk_debug_print_hw' make[1]: *** [/home/mysteriouslog6/kernul/Makefile:1021: vmlinux] Error 1 make[1]: Leaving directory make: *** [Makefile:152: sub-make] Error 2

I checked the mentioned files for the "undefined" references, however the file doesn't seem to mention the function. Any idea as to how I can fix this? Any kind of help is appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source