Skip to content

Instantly share code, notes, and snippets.

@Alexpux
Created August 2, 2019 11:15
Show Gist options
  • Save Alexpux/6e279acca1db921c1bd8b27f9f4a9b34 to your computer and use it in GitHub Desktop.
Save Alexpux/6e279acca1db921c1bd8b27f9f4a9b34 to your computer and use it in GitHub Desktop.
-- The Fortran compiler identification is GNU 9.1.0
-- The C compiler identification is GNU 9.1.0
-- Check for working Fortran compiler: C:/building/msys64/mingw32/bin/gfortran.exe
-- Check for working Fortran compiler: C:/building/msys64/mingw32/bin/gfortran.exe -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether C:/building/msys64/mingw32/bin/gfortran.exe supports Fortran 90
-- Checking whether C:/building/msys64/mingw32/bin/gfortran.exe supports Fortran 90 -- yes
-- Check for working C compiler: C:/building/msys64/mingw32/bin/gcc.exe
-- Check for working C compiler: C:/building/msys64/mingw32/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for Python greater than 2.6 -
-- Found PythonInterp: C:/building/msys64/mingw32/bin/python2.7.exe (found suitable version "2.7.16", minimum required is "2.7")
-- Using Python version 2.7.16
-- 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 - found
-- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function.
-- Build deprecated routines: ON
-- 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 - Found GLOBAL and MODULE mangling
-- Verifying Fortran/C Compiler Compatibility
-- Verifying Fortran/C Compiler Compatibility - Failed
CMake Error at C:/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface.cmake:383 (message):
The Fortran compiler:
C:/building/msys64/mingw32/bin/gfortran.exe
and the C compiler:
C:/building/msys64/mingw32/bin/gcc.exe
failed to compile a simple test project using both languages. The output
was:
Change Dir: E:/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC
Run Build Command(s):C:/building/msys64/usr/bin/make.exe VerifyFortranC && /C/building/msys64/mingw32/bin/cmake.exe -S/C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify -B/E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC
make[1]: Entering directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
/C/building/msys64/mingw32/bin/cmake.exe -S/C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify -B/E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
/C/building/msys64/mingw32/bin/cmake.exe -E cmake_progress_start /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles 5
make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all
make[2]: Entering directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
make[3]: Entering directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
/C/building/msys64/mingw32/bin/cmake.exe -E cmake_depends "MSYS Makefiles" /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortran
make[3]: Leaving directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
make[3]: Entering directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
[ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.obj
/C/building/msys64/mingw32/bin/gfortran.exe -I/E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC -O2 -DNDEBUG -O2 -c /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.obj
[ 40%] Linking Fortran static library libVerifyFortran.a
/C/building/msys64/mingw32/bin/cmake.exe -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
/C/building/msys64/mingw32/bin/cmake.exe -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
C:/building/msys64/mingw32/bin/ar.exe qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.obj
C:/building/msys64/mingw32/bin/ranlib.exe libVerifyFortran.a
make[3]: Leaving directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
[ 40%] Built target VerifyFortran
make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend
make[3]: Entering directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
/C/building/msys64/mingw32/bin/cmake.exe -E cmake_depends "MSYS Makefiles" /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC /E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortranC
make[3]: Leaving directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build
make[3]: Entering directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
[ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.obj
/C/building/msys64/mingw32/bin/gcc.exe -I/E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC -march=i686 -mtune=generic -O2 -pipe -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.obj -c /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify/main.c
[ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.obj
/C/building/msys64/mingw32/bin/gcc.exe -I/E/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC -march=i686 -mtune=generic -O2 -pipe -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.obj -c /C/building/msys64/mingw32/share/cmake-3.15/Modules/FortranCInterface/Verify/VerifyC.c
[100%] Linking C executable VerifyFortranC.exe
/C/building/msys64/mingw32/bin/cmake.exe -E remove -f CMakeFiles/VerifyFortranC.dir/objects.a
/C/building/msys64/mingw32/bin/ar.exe cr CMakeFiles/VerifyFortranC.dir/objects.a "CMakeFiles/VerifyFortranC.dir/main.c.obj" "CMakeFiles/VerifyFortranC.dir/VerifyC.c.obj"
/C/building/msys64/mingw32/bin/gcc.exe -march=i686 -mtune=generic -O2 -pipe -O3 -DNDEBUG -pipe -Wl,--whole-archive CMakeFiles/VerifyFortranC.dir/objects.a -Wl,--no-whole-archive -o VerifyFortranC.exe -Wl,--major-image-version,0,--minor-image-version,0 libVerifyFortran.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
libVerifyFortran.a(VerifyFortran.f.obj):VerifyFortran.f:(.text+0x2f): undefined reference to `_gfortran_st_write'
libVerifyFortran.a(VerifyFortran.f.obj):VerifyFortran.f:(.text+0x47): undefined reference to `_gfortran_transfer_character_write'
libVerifyFortran.a(VerifyFortran.f.obj):VerifyFortran.f:(.text+0x4f): undefined reference to `_gfortran_st_write_done'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/VerifyFortranC.dir/build.make:104: VerifyFortranC.exe] Error 1
make[3]: Leaving directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
make[2]: Leaving directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
make[2]: *** [CMakeFiles/Makefile2:108: CMakeFiles/VerifyFortranC.dir/all] Error 2
make[1]: Leaving directory '/scripts/mingw-w64-lapack/src/build-i686/CMakeFiles/FortranCInterface/VerifyC'
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/VerifyFortranC.dir/rule] Error 2
make: *** [Makefile:134: VerifyFortranC] Error 2
Call Stack (most recent call first):
CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY)
-- Configuring incomplete, errors occurred!
See also "E:/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/CMakeOutput.log".
See also "E:/mingwbuild/mingw-w64-lapack/src/build-i686/CMakeFiles/CMakeError.log".
==> ERROR:(B A failure occurred in build().(B
 Aborting...(B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment