I am using Ubuntu 14.04 docker in Ubuntu 18.04. From inside Ubuntu 14.04 docker if I run "uname -r" command then it is showing same output, when I ran the same command in Ubuntu 18.04. I want to use Ubuntu 14.04 to cross compile package for the target, but at the beginning of configuration, it is checking for confiuration and it is failing with the following error.
checking for the kernel version... unsupported (5.4.0-generic)
configure: error: Valgrind works on kernel 2.4, 2.6