Amazon Linux AMD64 Ubuntu 22.04 Compatibility Issues

The package for Ubuntu 22.04 has been revoked so am trying 525.105.17 but the kernel build give an error message. Is there a better configuration please?