dostana
You should know that Solus doesn't target people who want the "bleeding edge" its an opinionated, curated, rolling release with sane defaults. If something breaks on your unsupported setup, pretty sure official Solus support won't care (If you didn't know, changing the kernel is kinda a big deal, you need to understand things such as the nvidia driver for example if you need it, is built against the kernel, change the kernel and don't rebuild the driver against it, you boot to a blank screen).
I take no responsibility if you brick you system.
But having said that, your errors are because gcc isn't installed. If you're going to mess around you'll want some build tools, this is Solus equivalent of debian build essentials:
sudo eopkg install -c system.devel
Also replace sudo update-grub
with sudo clr-boot-manager update
On UEFI installs grub won't even be there and on legacy boot installs, you still update in this manor as far as I'm aware.
I don't know beyond that, havn't built a kernel myself since slackware 8 maybe? You are now ready to brick your system 😛