Dear all,

I'd like to submit to our f2py crew here for a seemingly trivial problem
that has been bugging me for a while. I am trying to compile a Fortran
library (SLICOT [1] ) on windows with MinGW UCRT 64 interface. But let me
simplify the issue.

Let say I have a fortran file, MB01OE.f. It is a standalone code with only
extenal dependency of bunch of LAPACK routines and I'd like to compile this
into a module (if I can pull this off, I can include the rest) Hence I
thought I can just link it with the existing OpenBLAS on my computer.

Hence I use the following command

 f2py -L/opt/64/lib/ -lopenblas -c --verbose
.\SLICOT-Reference\src\MB01OE.f --lower -m slicot

which then gives me the output below. My original plan was to use meson for
this but I can't even make the manual route work so that would wait until I
fix this issue. I'd be grateful if someone can spot the mistake I'm making.


[1] : https://github.com/SLICOT/SLICOT-Reference




running build
running config_cc
INFO: unifing config_cc, config, build_clib, build_ext, build commands
--compiler options
running config_fc
INFO: unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_src
INFO: build_src
INFO: building extension "slicot" sources
INFO: f2py options: ['--lower']
INFO: f2py:>
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicotmodule.c
creating C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
Reading fortran codes...
        Reading file '.\\SLICOT-Reference\\src\\MB01OE.f'
(format:fix,strict)
Line #107 in .\SLICOT-Reference\src\MB01OE.f:"      PARAMETER         (
ZERO = 0.0D0, ONE = 1.0D0, TWO = 2.0D0 )"
        get_parameters: got "eval() arg 1 must be a string, bytes or code
object" on 4
Line #107 in .\SLICOT-Reference\src\MB01OE.f:"      PARAMETER         (
ZERO = 0.0D0, ONE = 1.0D0, TWO = 2.0D0 )"
        get_parameters: got "eval() arg 1 must be a string, bytes or code
object" on 4
Line #107 in .\SLICOT-Reference\src\MB01OE.f:"      PARAMETER         (
ZERO = 0.0D0, ONE = 1.0D0, TWO = 2.0D0 )"
        get_parameters: got "eval() arg 1 must be a string, bytes or code
object" on 4
rmbadname1: Replacing "max" with "max_bn".
Post-processing...
        Block: slicot
                        Block: mb01oe
In: :slicot:.\SLICOT-Reference\src\MB01OE.f:mb01oe
get_parameters: got "eval() arg 1 must be a string, bytes or code object"
on 4
In: :slicot:.\SLICOT-Reference\src\MB01OE.f:mb01oe
get_parameters: got "eval() arg 1 must be a string, bytes or code object"
on 4
In: :slicot:.\SLICOT-Reference\src\MB01OE.f:mb01oe
get_parameters: got "eval() arg 1 must be a string, bytes or code object"
on 4
Applying post-processing hooks...
  character_backward_compatibility_hook
Post-processing (stage 2)...
Building modules...
    Building module "slicot"...
    Generating possibly empty wrappers"
    Maybe empty "slicot-f2pywrappers.f"
        Constructing wrapper function "mb01oe"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          mb01oe(uplo,trans,n,alpha,beta,r,h,e,[ldr,ldh,lde])
    Wrote C/API module "slicot" to file
"C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicotmodule.c"
INFO:   adding
'C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\fortranobject.c'
to sources.
INFO:   adding
'C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10' to
include_dirs.
copying
C:\Users\ilhan\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\f2py\src\fortranobject.c
-> C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
copying
C:\Users\ilhan\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\f2py\src\fortranobject.h
-> C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
INFO:   adding
'C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicot-f2pywrappers.f'
to sources.
INFO: build_src: building npy-pkg config files
running build_ext
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils;
trying from distutils
DEBUG: new_compiler returns <class 'distutils._msvccompiler.MSVCCompiler'>
INFO: customize MSVCCompiler
INFO: customize MSVCCompiler using build_ext
********************************************************************************
<class 'distutils._msvccompiler.MSVCCompiler'>
libraries     = []
library_dirs  =
['C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\libs',
'C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\PCbuild\\amd64']
include_dirs  =
['C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\include',
'C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\Include']
********************************************************************************
Unable to find productdir in registry
Env var VS140COMNTOOLS is not set or invalid
No productdir found
INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft',
'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
INFO: customize GnuFCompiler
DEBUG: find_executable('g77')
WARN: Could not locate executable g77
DEBUG: find_executable('f77')
WARN: Could not locate executable f77
DEBUG: _find_existing_fcompiler: compiler_type='gnu' not found
INFO: customize IntelVisualFCompiler
DEBUG: find_executable('ifort')
WARN: Could not locate executable ifort
DEBUG: find_executable('ifl')
WARN: Could not locate executable ifl
DEBUG: _find_existing_fcompiler: compiler_type='intelv' not found
INFO: customize AbsoftFCompiler
DEBUG: find_executable('f90')
WARN: Could not locate executable f90
DEBUG: _find_existing_fcompiler: compiler_type='absoft' not found
INFO: customize CompaqVisualFCompiler
DEBUG: find_executable('DF')
WARN: Could not locate executable DF
DEBUG: _find_existing_fcompiler: compiler_type='compaqv' not found
INFO: customize IntelItaniumVisualFCompiler
DEBUG: find_executable('efl')
WARN: Could not locate executable efl
DEBUG: _find_existing_fcompiler: compiler_type='intelev' not found
INFO: customize Gnu95FCompiler
DEBUG: find_executable('gfortran')
INFO: Found executable C:\msys64\ucrt64\bin\gfortran.exe
INFO: customize Gnu95FCompiler
INFO: customize Gnu95FCompiler using build_ext
********************************************************************************
<class 'numpy.distutils.fcompiler.gnu.Gnu95FCompiler'>
version_cmd     = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-dumpversion']
compiler_f77    = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-Wall', '-g',
'-ffixed-form', '-fno-second-underscore', '-O3', '-funroll-loops']
compiler_f90    = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-Wall', '-g',
'-fno-second-underscore', '-O3', '-funroll-loops']
compiler_fix    = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-Wall', '-g',
'-ffixed-form', '-fno-second-underscore', '-Wall', '-g',
'-fno-second-underscore', '-O3', '-funroll-loops']
linker_so       = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-Wall', '-g',
'-Wall', '-g', '-shared']
archiver        = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-cr']
ranlib          = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe']
linker_exe      = ['C:\\msys64\\ucrt64\\bin\\gfortran.exe', '-Wall',
'-Wall']
version         = LooseVersion ('12.2.0')
libraries       = []
library_dirs    =
['C:\\msys64\\ucrt64\\lib\\gcc\\x86_64-w64-mingw32\\12.2.0',
'C:\\msys64\\ucrt64\\lib',
'C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\libs',
'C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\PCbuild\\amd64']
object_switch   = '-o '
compile_switch  = '-c'
include_dirs    =
['C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\include',
'C:\\Users\\ilhan\\AppData\\Local\\Programs\\Python\\Python310\\Include']
********************************************************************************
INFO: building 'slicot' extension
INFO: compiling C sources
creating C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users
creating C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
INFO: C:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe /c
/nologo /Ox /W3 /GL /DNDEBUG /MD -DNPY_DISABLE_OPTIMIZATION=1
-IC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\include
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\include
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\Include
-IC:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include -IC:\Program Files
(x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include
-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt
/TcC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicotmodule.c
/FoC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicotmodule.obj
INFO: C:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe /c
/nologo /Ox /W3 /GL /DNDEBUG /MD -DNPY_DISABLE_OPTIMIZATION=1
-IC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\include
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\include
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\Include
-IC:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include -IC:\Program Files
(x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include
-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt
-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt
/TcC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\fortranobject.c
/FoC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\fortranobject.obj
INFO: compiling Fortran sources
INFO: Fortran f77 compiler: C:\msys64\ucrt64\bin\gfortran.exe -Wall -g
-ffixed-form -fno-second-underscore -O3 -funroll-loops
Fortran f90 compiler: C:\msys64\ucrt64\bin\gfortran.exe -Wall -g
-fno-second-underscore -O3 -funroll-loops
Fortran fix compiler: C:\msys64\ucrt64\bin\gfortran.exe -Wall -g
-ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -O3
-funroll-loops
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\SLICOT-Reference
creating
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\SLICOT-Reference\src
INFO: compile options:
'-IC:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\include
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\include
-IC:\Users\ilhan\AppData\Local\Programs\Python\Python310\Include -c'
INFO: gfortran.exe:f77: .\SLICOT-Reference\src\MB01OE.f
INFO: gfortran.exe:f77:
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicot-f2pywrappers.f
copying /opt/64/lib/libopenblas.a ->
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\openblas.lib
INFO: C:\msys64\ucrt64\bin\gfortran.exe -Wall -g -Wall -g -shared
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\SLICOT-Reference\src\MB01OE.o
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicot-f2pywrappers.o
-LC:\msys64\ucrt64\lib\gcc\x86_64-w64-mingw32\12.2.0 -LC:\msys64\ucrt64\lib
-LC:\Users\ilhan\AppData\Local\Programs\Python\Python310\libs
-LC:\Users\ilhan\AppData\Local\Programs\Python\Python310\PCbuild\amd64 -o
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\.libs\libMB01OE.DXZN47X6Y45EGFXXLWVMKQJVOVWVDJOZ.gfortran-win_amd64.dll
-Wl,--allow-multiple-definition
-Wl,--output-def,C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\libMB01OE.DXZN47X6Y45EGFXXLWVMKQJVOVWVDJOZ.gfortran-win_amd64.def
-Wl,--export-all-symbols -Wl,--enable-auto-import -static -mlong-double-64
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\SLICOT-Reference\src\MB01OE.o:
in function `mb01oe_':
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:138:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:139:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:144:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:176:
undefined reference to `dlascl_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:142:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:156:
undefined reference to `xerbla_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:139:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:144:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:142:
undefined reference to `lsame_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:196:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:206:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:209:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:210:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:248:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:248:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:256:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:226:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:227:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:230:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:231:
undefined reference to `daxpy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:220:
undefined reference to `dcopy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:222:
undefined reference to `dscal_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:268:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:278:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:278:
undefined reference to `ddot_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:201:
undefined reference to `dcopy_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:203:
undefined reference to `dscal_'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\ilhan\Documents\pydump\mesonslicot/./SLICOT-Reference/src/MB01OE.f:170:
undefined reference to `dlaset_'
collect2.exe: error: ld returned 1 exit status
error: Command "C:\msys64\ucrt64\bin\gfortran.exe -Wall -g -Wall -g -shared
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\SLICOT-Reference\src\MB01OE.o
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\src.win-amd64-3.10\slicot-f2pywrappers.o
-LC:\msys64\ucrt64\lib\gcc\x86_64-w64-mingw32\12.2.0 -LC:\msys64\ucrt64\lib
-LC:\Users\ilhan\AppData\Local\Programs\Python\Python310\libs
-LC:\Users\ilhan\AppData\Local\Programs\Python\Python310\PCbuild\amd64 -o
C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\.libs\libMB01OE.DXZN47X6Y45EGFXXLWVMKQJVOVWVDJOZ.gfortran-win_amd64.dll
-Wl,--allow-multiple-definition
-Wl,--output-def,C:\Users\ilhan\AppData\Local\Temp\tmpr1ct3ys_\Release\libMB01OE.DXZN47X6Y45EGFXXLWVMKQJVOVWVDJOZ.gfortran-win_amd64.def
-Wl,--export-all-symbols -Wl,--enable-auto-import -static -mlong-double-64"
failed with exit status 1
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to