I installed this kernel on a Rock 5B. Although the above fixed the issue for the original poster the failure of configure stage is not addressed. I think there is something wrong with this kernel. On my Home Assistant server some containers were failing to start and the errors pointed towards some resource/limits issue even for processes running as root. The errors were something like - fork failed, resource temporarily not available.
I think update-initramfs ran into this issue producing the errors in the post.
I don't have any logs since it has hard to do anything at this point, commands failing when trying to diagnose. I rolled back to 5.10 manually to get my server up and running.
I think the maximum number of processes was being limited artificially low despite nothing being in /etc/security/limits* - I did see for not root users this limited to around 2k processes via ulimit -u - cant remember the exact number.
If anyone is running this kernel you can check the limits for various processes - user and root alike by looking at /proc/<PID>/limits On my rolled back 5.10 legacy kernel this is 61790