Question
How to enable libgfortran in yocto scarthgap (stm32mpu157f-dk2)
I want to enable libgfortran on OpenSTLinux distribution package. Based on the information that i found on the internet I added the following lines to the local.conf
IMAGE_FEATURES += "tools-sdk" FORTRAN = ",fortran" FORTRAN_forcevariable = ",fortran" RUNTIMETARGET += " libquadmath libgfortran" IMAGE_INSTALL += " gfortran gfortran-symlinks libgfortran libgfortran-dev"
But i am getting the following error
bitbake st-image-weston NOTE: Started PRServer with DBfile: /home/user/Desktop/Testing/Ashish/02_STM32MCU/OpenSTLinux2/build-openstlinuxweston-stm32mp1/cache/prserv.sqlite3, Address: 127.0.0.1:44813, PID: 2068707 Loading cache: 100% |##########################################################################################################| Time: 0:00:01 Loaded 4984 entries from dependency cache. Parsing recipes: 100% |########################################################################################################| Time: 0:00:00 Parsing of 3033 .bb files complete (3024 cached, 9 parsed). 4984 targets, 635 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'libgfortran' (but /home/user/Desktop/Testing/Ashish/02_STM32MCU/OpenSTLinux2/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb RDEPENDS on or otherwise requires it) nativesdk-libgfortran RPROVIDES libgfortran but was skipped: libgfortran needs fortran support to be enabled in the compiler libgfortran was skipped: libgfortran needs fortran support to be enabled in the compiler NOTE: Runtime target 'libgfortran' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libgfortran'] ERROR: Required build target 'st-image-weston' has no buildable providers. Missing or unbuildable dependency chain was: ['st-image-weston', 'libgfortran']
