Please try this patch here https://github.com/kraj/intel-iot-refkit/commit/04cd5afec0c41deeb5e1a48b43a0a31e708295c1
On Wed, Mar 21, 2018 at 11:51 AM, Matthias Schöpfer <matthias.schoep...@identpro.de> wrote: > Hi Peter, > > I got some progress using: > >> export BLAS=/path/to/libblas.so >> export LAPACK=/path/to/liblapack.so >> export ATLAS=/path/to/libatlas.so > > like: > > export BLAS=${STAGING_LIBDIR} > > turns out, my lapack does not have cblas, when I enable CBLAS, I have an > Issue with Fortran C > > ERROR: lapack-3.8.0-r0 do_configure: Function failed: do_configure (log > file is located at > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/temp/log.do_configure.4609) > ERROR: Logfile of failure stored in: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/temp/log.do_configure.4609 > Log data follows: > | DEBUG: Executing shell function do_configure > | -- The Fortran compiler identification is GNU 7.3.0 > | -- The C compiler identification is GNU 7.3.0 > | -- Check for working Fortran compiler: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gfortran > | -- Check for working Fortran compiler: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gfortran > -- works > | -- Detecting Fortran compiler ABI info > | -- Detecting Fortran compiler ABI info - done > | -- Checking whether > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gfortran > supports Fortran 90 > | -- Checking whether > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gfortran > supports Fortran 90 -- yes > | -- Check for working C compiler: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gcc > | -- Check for working C compiler: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gcc > -- works > | -- Detecting C compiler ABI info > | -- Detecting C compiler ABI info - done > | -- Detecting C compile features > | -- Detecting C compile features - done > | -- Setting build type to 'Release' as none was specified. > | -- Looking for Python greater than 2.6 - > | -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required > is at least version "2.7") > | -- No suitable Python version found, so skipping summary tests. > | -- Build tests: OFF > | -- Reducing RELEASE optimization level to O2 > | -- Looking for Fortran NONE - found > | -- Looking for Fortran INT_CPU_TIME - found > | -- Looking for Fortran EXT_ETIME - not found > | -- Looking for Fortran EXT_ETIME_ - not found > | -- Looking for Fortran INT_ETIME - not found > | -- --> Will use second_INT_CPU_TIME.f and dsecnd_INT_CPU_TIME.f as > timing function. > | -- Build deprecated routines: OFF > | -- Build single precision real: ON > | -- Build double precision real: ON > | -- Build single precision complex: ON > | -- Build double precision complex: ON > | -- Using supplied NETLIB BLAS implementation > | -- CBLAS enable > | -- Detecting Fortran/C Interface > | -- Detecting Fortran/C Interface - Failed to load sample executable > | -- Verifying Fortran/C Compiler Compatibility > | -- Verifying Fortran/C Compiler Compatibility - Failed > | CMake Error at > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface.cmake:383 > (message): > | The Fortran compiler: > | > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gfortran > | > | and the C compiler: > | > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gcc > | > | failed to compile a simple test project using both languages. The > output > | was: > | > | Change Dir: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > | > | Run Build > Command:"/home/mschoepf/identpro/yocto/ros-devel/tmp/hosttools/make" > "VerifyFortranC" > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -H/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify > -B/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > --check-build-system CMakeFiles/Makefile.cmake 0 > | make -f CMakeFiles/Makefile2 VerifyFortranC > | make[1]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -H/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify > -B/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > --check-build-system CMakeFiles/Makefile.cmake 0 > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -E cmake_progress_start > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles > 5 > | make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all > | make[2]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make -f CMakeFiles/VerifyFortran.dir/build.make > CMakeFiles/VerifyFortran.dir/depend > | make[3]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | cd > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > && > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -E cmake_depends "Unix Makefiles" > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake > | Scanning dependencies of target VerifyFortran > | make[3]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make -f CMakeFiles/VerifyFortran.dir/build.make > CMakeFiles/VerifyFortran.dir/requires > | make[3]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make[3]: Nothing to be done for > 'CMakeFiles/VerifyFortran.dir/requires'. > | make[3]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make -f CMakeFiles/VerifyFortran.dir/build.make > CMakeFiles/VerifyFortran.dir/build > | make[3]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | [ 20%] Building Fortran object > CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gfortran > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -std=f2008 > -I/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > -O2 -DNDEBUG -O2 -c > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify/VerifyFortran.f > -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o > | [ 40%] Linking Fortran static library libVerifyFortran.a > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1 > | x86_64-idp-linux-ar qc libVerifyFortran.a > CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-ranlib > libVerifyFortran.a > | make[3]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | [ 40%] Built target VerifyFortran > | make -f CMakeFiles/VerifyFortranC.dir/build.make > CMakeFiles/VerifyFortranC.dir/depend > | make[3]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | cd > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > && > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -E cmake_depends "Unix Makefiles" > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake > | Scanning dependencies of target VerifyFortranC > | make[3]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make -f CMakeFiles/VerifyFortranC.dir/build.make > CMakeFiles/VerifyFortranC.dir/build > | make[3]: Entering directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | [ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gcc > > -I/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -O2 -pipe -g -feliminate-unused-debug-types > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0=/usr/src/debug/lapack/3.8.0-r0 > > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native= > > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot= > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify/main.c > | [ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gcc > > -I/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -O2 -pipe -g -feliminate-unused-debug-types > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0=/usr/src/debug/lapack/3.8.0-r0 > > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native= > > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot= > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify/VerifyC.c > | [100%] Linking C executable VerifyFortranC > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/cmake > -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1 > | > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native/usr/bin/x86_64-idp-linux/x86_64-idp-linux-gcc > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -O2 -pipe -g -feliminate-unused-debug-types > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0=/usr/src/debug/lapack/3.8.0-r0 > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot-native= > -fdebug-prefix-map=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot= > -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -DNDEBUG -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/recipe-sysroot > -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 > -Wl,--hash-style=gnu -Wl,--as-needed > CMakeFiles/VerifyFortranC.dir/main.c.o > CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC > libVerifyFortran.a -lgfortran -lm -lquadmath -lm > | CMakeFiles/VerifyFortranC.dir/main.c.o: In function `main': > | > /usr/src/debug/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC/-native/usr/share/cmake-3.8/Modules/FortranCInterface/Verify/main.c:14: > undefined reference to `VerifyFortran' > | collect2: error: ld returned 1 exit status > | make[3]: *** [CMakeFiles/VerifyFortranC.dir/build.make:125: > VerifyFortranC] Error 1 > | make[3]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make[2]: *** [CMakeFiles/Makefile2:109: > CMakeFiles/VerifyFortranC.dir/all] Error 2 > | make[2]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make[1]: *** [CMakeFiles/Makefile2:121: > CMakeFiles/VerifyFortranC.dir/rule] Error 2 > | make[1]: Leaving directory > '/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/FortranCInterface/VerifyC' > | make: *** [Makefile:134: VerifyFortranC] Error 2 > | > | Call Stack (most recent call first): > | CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY) > | > | > | -- Configuring incomplete, errors occurred! > | See also > "/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/CMakeOutput.log". > | See also > "/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/build/CMakeFiles/CMakeError.log". > | WARNING: > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/temp/run.do_configure.4609:1 > exit 1 from 'cmake $oecmake_sitefile > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/lapack-3.8.0 > -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin > -DCMAKE_INSTALL_SBINDIR:PATH=sbin > -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec > -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc > -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com > -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib > -DCMAKE_INSTALL_INCLUDEDIR:PATH=include > -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 > -DCMAKE_TOOLCHAIN_FILE=/home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/toolchain.cmake > -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 > -DBUILD_SHARED_LIBS=ON -DCBLAS=ON ${PACKAGECONFIG_CONFARGS} -Wno-dev' > | ERROR: Function failed: do_configure (log file is located at > /home/mschoepf/identpro/yocto/ros-devel/tmp/work/core2-64-idp-linux/lapack/3.8.0-r0/temp/log.do_configure.4609) > ERROR: Task > (/home/mschoepf/identpro/yocto/poky/meta-ros/recipes-extended/lapack/lapack_3.8.0.bb:do_configure) > failed with exit code '1 > > On 03/17/2018 02:27 PM, Peter Balazovic wrote: >> >> for now I took openblas recipe from here >> https://github.com/CogentEmbedded/meta-opencl/tree/master/meta-ocl-common/recipes-graphics/openblas >> <https://link.getmailspring.com/link/1521292484.local-966b54e7-d3df-v1.1.5-5834c...@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2FCogentEmbedded%2Fmeta-opencl%2Ftree%2Fmaster%2Fmeta-ocl-common%2Frecipes-graphics%2Fopenblas&recipient=eW9jdG9AeW9jdG9wcm9qZWN0Lm9yZw%3D%3D> >> >> it compiles. >> >> BTW how fortran can be added to yocto build? >> >> Secondly I wanna to use it for scipy build but even though compiles with >> no error but openblas can't be found by this >> >> NOTE: Executing RunQueue Tasks >> ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution failed. >> ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file >> is located at >> /../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/scipy/1.0.0-r0/temp/log.do_compile.12169) >> ERROR: Logfile of failure stored in: >> /../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/scipy/1.0.0-r0/temp/log.do_compile.12169 >> Log data follows: >> | DEBUG: Executing shell function do_compile >> | ERROR: python setup.py build execution failed. >> | >> /../build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py:267: >> UserWarning: Unknown distribution option: 'python_requires' >> | warnings.warn(msg) >> | lapack_opt_info: >> | openblas_lapack_info: >> | libraries openblas not found in >> ['/../build/tmp/sysroots/x86_64-linux/usr/lib'] >> | NOT AVAILABLE >> >> Even openblas has been added still can't be found ... I look at scipy >> built from source guide it says >> >> | >> >> export BLAS=/path/to/libblas.so >> export LAPACK=/path/to/liblapack.so >> export ATLAS=/path/to/libatlas.so >> python setup.py ............ >> >> | >> I wonder if openblas needs to somwhow installed or is it issue of scipy >> build process ... >> >> >> Sent from Mailspring >> <https://link.getmailspring.com/link/1521292484.local-966b54e7-d3df-v1.1.5-5834c...@getmailspring.com/1?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=eW9jdG9AeW9jdG9wcm9qZWN0Lm9yZw%3D%3D>, >> the best free email app for work >> >> >> On Mar 17 2018, at 2:08 pm, Matthias Schöpfer >> <matthias.schoep...@identpro.de> wrote: >> >> >> Hi Peter, >> >> openblas builds for me fine. This seems to be more of an issue with >> hard/softfloat than openBLAS. >> >> If I remember correctly, there was at some point a problem with fortran, >> which might be needed for openBLAS. But this seems not to be the issue >> here. >> >> Maybe try to compile it for qemu-x86 and see, if it works there... >> >> Regards, >> >> Matthias >> >> On 03/17/2018 11:44 AM, Peter Balazovic wrote: >> >> Hello guys, >> >> I tried to use openblas recipe from >> https://layers.openembedded.org/layerindex/recipe/68888/ >> recipes-convnet/openblas/openblas_0.2.19.bb >> >> <http://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-extra/recipes-convnet/openblas/openblas_0.2.19.bb> >> >> Unfortunately got compiling error btw I notice there is further >> openBLAS >> release 0.2.20, is there any update on that recipe? >> >> >> Compiling problems: >> >> NOTE: Executing RunQueue Tasks >> ERROR: openblas-0.2.19-r0 do_compile: oe_runmake failed >> ERROR: openblas-0.2.19-r0 do_compile: Function failed: >> do_compile (log >> file is located at >> >> ../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836) >> ERROR: Logfile of failure stored in: >> >> ../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836 >> Log data follows: >> | DEBUG: Executing shell function do_compile >> | NOTE: make -j 4 HOSTCC=gcc CC=arm-poky-linux-gnueabi-gcc >> --sysroot=../build/tmp/sysroots/ ONLY_CBLAS=1 BINARY=32 TARGET=arm >> | make[1]: warning: -jN forced in submake: disabling jobserver mode. >> | make[1]: Entering directory >> >> '../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface' >> | arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 >> -pipe -g -feliminate-unused-debug-types >> >> -fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0 >> -fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux= >> -fdebug-prefix-map=../build/tmp/sysroots/= -O2 >> -DMAX_STACK_ALLOC=2048 >> -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE >> -DSMP_SERVER >> -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ >> -DCNAME= >> -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2 >> -DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK >> -DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 >> -DASMNAME=cblas_isamax -DASMFNAME=cblas_isamax_ -DNAME=cblas_isamax_ >> -DCNAME=cblas_isamax -DCHAR_NAME=\"cblas_isamax_\" >> -DCHAR_CNAME=\"cblas_isamax\" -DNO_AFFINITY -I.. -I. -UDOUBLE >> -UCOMPLEX >> -DCBLAS -c -DUSE_ABS -UUSE_MIN imax.c -o cblas_isamax.o >> | arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 >> -pipe -g -feliminate-unused-debug-types >> >> -fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0 >> -fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux= >> -fdebug-prefix-map=../build/tmp/sysroots/= -O2 >> -DMAX_STACK_ALLOC=2048 >> -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE >> -DSMP_SERVER >> -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ >> -DCNAME= >> -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2 >> -DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK >> -DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 >> -DASMNAME=cblas_sasum -DASMFNAME=cblas_sasum_ -DNAME=cblas_sasum_ >> -DCNAME=cblas_sasum -DCHAR_NAME=\"cblas_sasum_\" >> -DCHAR_CNAME=\"cblas_sasum\" -DNO_AFFINITY -I.. -I. -UDOUBLE >> -UCOMPLEX >> -DCBLAS -c asum.c -o cblas_sasum.o >> | arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 >> -pipe -g -feliminate-unused-debug-types >> >> -fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0 >> -fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux= >> -fdebug-prefix-map=../build/tmp/sysroots/= -O2 >> -DMAX_STACK_ALLOC=2048 >> -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE >> -DSMP_SERVER >> -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ >> -DCNAME= >> -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2 >> -DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK >> -DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 >> -DASMNAME=cblas_saxpy -DASMFNAME=cblas_saxpy_ -DNAME=cblas_saxpy_ >> -DCNAME=cblas_saxpy -DCHAR_NAME=\"cblas_saxpy_\" >> -DCHAR_CNAME=\"cblas_saxpy\" -DNO_AFFINITY -I.. -I. -UDOUBLE >> -UCOMPLEX >> -DCBLAS -c axpy.c -o cblas_saxpy.o >> | arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 >> -pipe -g -feliminate-unused-debug-types >> >> -fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0 >> -fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux= >> -fdebug-prefix-map=../build/tmp/sysroots/= -O2 >> -DMAX_STACK_ALLOC=2048 >> -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE >> -DSMP_SERVER >> -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ >> -DCNAME= >> -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2 >> -DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK >> -DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 >> -DASMNAME=cblas_scopy -DASMFNAME=cblas_scopy_ -DNAME=cblas_scopy_ >> -DCNAME=cblas_scopy -DCHAR_NAME=\"cblas_scopy_\" >> -DCHAR_CNAME=\"cblas_scopy\" -DNO_AFFINITY -I.. -I. -UDOUBLE >> -UCOMPLEX >> -DCBLAS -c copy.c -o cblas_scopy.o >> | <command-line>:0:0: warning: "ASMNAME" redefined >> | <command-line>:0:0: warning: "ASMNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "ASMFNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "NAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_NAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "ASMNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "ASMFNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "NAME" redefined >> | In file included from >> ../build/tmp/sysroots//usr/include/features.h:392:0, >> | from >> ../build/tmp/sysroots//usr/include/stdio.h:27, >> | from imax.c:39: >> | ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error: >> gnu/stubs-soft.h: No such file or directory >> | # include <gnu/stubs-soft.h> >> | ^ >> | compilation terminated. >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_NAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "ASMFNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "NAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_NAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "ASMNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "ASMFNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "NAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_NAME" redefined >> | In file included from >> ../build/tmp/sysroots//usr/include/features.h:392:0, >> | from >> ../build/tmp/sysroots//usr/include/stdio.h:27, >> | from axpy.c:39: >> | ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error: >> gnu/stubs-soft.h: No such file or directory >> | # include <gnu/stubs-soft.h> >> | ^ >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | <command-line>:0:0: warning: "CHAR_CNAME" redefined >> | <command-line>:0:0: note: this is the location of the previous >> definition >> | ERROR: oe_runmake failed >> | In file included from >> ../build/tmp/sysroots//usr/include/features.h:392:0, >> | from >> ../build/tmp/sysroots//usr/include/stdio.h:27, >> | from asum.c:39: >> | ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error: >> gnu/stubs-soft.h: No such file or directory >> | # include <gnu/stubs-soft.h> >> | ^ >> | compilation terminated. >> | In file included from >> ../build/tmp/sysroots//usr/include/features.h:392:0, >> | from >> ../build/tmp/sysroots//usr/include/stdio.h:27, >> | from copy.c:39: >> | ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error: >> gnu/stubs-soft.h: No such file or directory >> | # include <gnu/stubs-soft.h> >> | ^ >> | compilation terminated. >> | compilation terminated. >> | Makefile:1351: recipe for target 'cblas_isamax.o' failed >> | make[1]: *** [cblas_isamax.o] Error 1 >> | make[1]: *** Waiting for unfinished jobs.... >> | Makefile:1375: recipe for target 'cblas_sasum.o' failed >> | make[1]: *** [cblas_sasum.o] Error 1 >> | Makefile:1447: recipe for target 'cblas_scopy.o' failed >> | make[1]: *** [cblas_scopy.o] Error 1 >> | Makefile:1435: recipe for target 'cblas_saxpy.o' failed >> | make[1]: *** [cblas_saxpy.o] Error 1 >> | make[1]: Leaving directory >> >> '../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface' >> | Makefile:133: recipe for target 'libs' failed >> | make: *** [libs] Error 1 >> | ERROR: Function failed: do_compile (log file is located at >> >> ../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836) >> ERROR: Task >> >> (../sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/openblas/openblas_0.2.19.bb:do_compile) >> failed with exit code '1' >> NOTE: Tasks Summary: Attempted 433 tasks of which 432 didn't >> need to be >> rerun and 1 failed. >> >> >> >> -- >> Dr.-Ing. Matthias Schöpfer >> >> Softwareentwicklung >> >> ____________________________________ >> >> IdentPro GmbH >> Camp-Spich-Str. 4 >> 53842 Troisdorf >> >> Tel: +49 (0)2241 / 866 392 46 >> Fax: +49 (0)2241 / 866 392 99 >> eMail: matthias.schoep...@identpro.de >> >> http://www.identpro.de >> >> identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B. >> über 67.000 EUR pro Jahr bei 500 Transporten täglich! Berechnen Sie das >> Einsparpotenzial für Ihr Lager mit dem identplus® Potenzialrechner. >> >> identplus® live erleben: Vereinbaren Sie jetzt einen Termin! >> >> --------------------------------- >> IdentPro GmbH >> Member of Dr. Wack Holding GmbH & Co.KG >> Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg >> Geschäftsführer: Michael Wack >> Umsatzsteuer-ID-Nr.: DE 254 824 945 >> WEEE-Reg.-Nr. DE 79026890 >> >> Open Tracking > > > -- > Dr.-Ing. Matthias Schöpfer > > Softwareentwicklung > > ____________________________________ > > IdentPro GmbH > Camp-Spich-Str. 4 > 53842 Troisdorf > > Tel: +49 (0)2241 / 866 392 46 > Fax: +49 (0)2241 / 866 392 99 > eMail: matthias.schoep...@identpro.de > > http://www.identpro.de > > identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B. > über 67.000 EUR pro Jahr bei 500 Transporten täglich! Berechnen Sie das > Einsparpotenzial für Ihr Lager mit dem identplus® Potenzialrechner. > > identplus® live erleben: Vereinbaren Sie jetzt einen Termin! > > --------------------------------- > IdentPro GmbH > Member of Dr. Wack Holding GmbH & Co.KG > Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg > Geschäftsführer: Michael Wack > Umsatzsteuer-ID-Nr.: DE 254 824 945 > WEEE-Reg.-Nr. DE 79026890 > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto