I had the same issue. The problem seems the variable FC (Fortran Compiler) is not properly setup (in meta/conf/bitbake.conf).
The libtool-cross recipe shows QA problems with wrong include paths when uses x86_64-poky-linux-gfortran tests. This workaround works for me: recipes-devtools/gcc └── gcc-cross_4.7.bbappend recipes-devtools/libtool/ └── libtool-cross_2.4.2.bbappend With: $ cat recipes-devtools/gcc/gcc-cross_4.7.bbappend FORTRAN = ",fortran" $ cat recipes-devtools/libtool/libtool-cross_2.4.2.bbappend export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH} --sysroot=${STAGING_DIR_HOST}" Javi Roman On Wed, Jul 24, 2013 at 1:39 PM, Marcelo Valle <mvalleav...@gmail.com> wrote: > Dat Tran <dtran11@...> writes: > > > >> >> This is the error I get: >> >> configure: WARNING: unrecognized options: --disable-silent-rules, --with- >> sysroot >> DEBUG: Shell function do_configure finished >> DEBUG: Executing python function do_qa_configure >> NOTE: Checking autotools environment for common misconfiguration >> ERROR: This autoconf log indicates errors, it looked at host include > and/or >> library paths while determining system capabilities. >> Rerun configure task after fixing this. The path was >> '/home/appusr/poky/build/tmp/work/armv7a-vfp-neon-poky-linux- >> gnueabi/libtool-cross-2.4.2-r5.1/libtool-2.4.2' >> DEBUG: Python function do_qa_configure finished >> ERROR: Function failed: do_qa_configure >> >> Thanks >> >> > > Hello, > > I followed the same steps to use fortran with Yocto, but get a similar > error: > > ERROR: This autoconf log indicates errors, it looked at host include and/or > library paths while determining system capabilities. > Rerun configure task after fixing this. The path was '/home/mvalle/poky- > dylan-9.0.0/build/tmp/work/x86_64-poky-linux/gcc-runtime/4.7.2-r19/gcc- > 4.7.2/build.x86_64-poky-linux.x86_64-poky-linux/x86_64-poky- > linux/libgfortran' > ERROR: Function failed: do_qa_configure > > You finally could fix this error? > > Thanks in advance. > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto