Hi everyone,
I am trying to compile Yocto 6.1.36_2.10 version with imx-image-full. When I use Ubuntu 22.04, it goes okay but with Ubuntu 20.04 it gives the error during qtbase: do_install_ptest_base at the attachment.
I installed all the necessary packages according to Yocto manuel of nxp. Why does the error occurs?
I have to compile it in Ubuntu 20.04 and the manual says Ubuntu 20.04 is fine for it.
Regards,
According to the log:
FAILED: tests/auto/testlib/selftests/cmptest/CMakeFiles/cmptest.dir/tst_cmptest.cpp.o
/Linux_6.1.36_2.1.0/imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/qtbase/6.5.0-r0/recipe-sysroot/usr/include/c++/12.3.0/cmath:45:15: fatal error: math.h: No such file or directory
45 | #include_next <math.h>
| ^~~~~~~~ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
Solved! Go to Solution.
Hi @muhammedk97
It seems that there is no math library on Ubuntu20.04 host. Please install it and try again.
Hi @muhammedk97
It seems that there is no math library on Ubuntu20.04 host. Please install it and try again.