Skip to content

Difficulty Configuring Mineos on Windows with Cygwin #15

@yfcai666

Description

@yfcai666

Description:​​
I'm attempting to install Mineos on Windows 11 using Cygwin following the official manual's instructions (Sections 2.2 and 2.3). After successfully running ./configure --prefix=$HOME/cig, the make command fails with the following error:

[make all-am
make[1]: Entering directory '/cygdrive/d/mineos'
f77 -g -c -o minos_bran.o minos_bran.f
minos_bran.f:
MAIN:
wtable:
rotspl:
modout:
model:
detqn:
sprpmn:
fprpmn:
derms:
dermf:
eifout:
gauslv:
sdepth:
sfbm:
fsbm:
zknt:
baylis:
grav:
startl:
steps:
drspln:
dsplin:
rprop:
tprop:
rkdot:
intgds:
fpsm:
spsm:
rps:
tps:
bfs:
remedy:
fprop:
sprop:
sfbdry:
fsbdry:
match:
ortho:
svd:
f77 -g -o minos_bran.exe minos_bran.o
/usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: minos_bran.o: in function MAIN__': /cygdrive/d/mineos/minos_bran.f:119:(.text+0x94): undefined reference to lnblnk_'
/usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /cygdrive/d/mineos/minos_bran.f:124:(.text+0x1ab): undefined reference to lnblnk_' /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /cygdrive/d/mineos/minos_bran.f:131:(.text+0x2fa): undefined reference to lnblnk_'
collect2: error: ld returned 1 exit status
f77 -g -c -o syndat.o syndat.f
syndat.f:
MAIN syndat:
udc:
f77 -g -c -o fdb_eigen.o test -f 'fdb/fdb_eigen.f' || echo './'fdb/fdb_eigen.f
fdb/fdb_eigen.f:
open_eigen:
close_eigen:
write_eigen:
Cannot open file fdb_eigen.h
/usr/bin/f77: aborting compilation
make[1]: *** [Makefile:554: fdb_eigen.o] Error 255
make[1]: Leaving directory '/cygdrive/d/mineos'
make: *** [Makefile:313: all] Error 2
]

​​Environment:​​
Windows 11 Build 22H2
Cygwin version [ 3.6.0-1 ]
gcc version: gcc (GCC) 12.4.0
Fortran compiler: GNU Fortran (GCC) 12.4.0
​​Request:​​
Could the community help identify what might be causing this build failure? I've attached the full config.log and complete make output for reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions