[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #ZQT-710878]: NetCDF Fortran install error: "error: Could not link conftestf.o and conftest.o"



Hello,

I'm not certain what the cyglto_plugin.dll library is, although it appears to 
be specific to cygwin.  A search on Google returns nothing specific, other than 
it is related to gfortran under Cygwin, but you already knew that.   This error 
doesn't appear to be related specifically to netcdf-fortran; are you able to 
compile other fortran programs?  If you provide the config.log generated by 
configure, I will take a look and see if anything else pops out.  

Alternatively, you might try the pre-built netcdf fortran libraries provided 
via the cygwin installer.  

I hope this helps,

-Ward

> Full Name: Chistopher Roach
> Email Address: address@hidden
> Organization: Geophysical Fluid Dynamics Institute, Florida State University
> Package Version: NetCDF Fortran v4.4.0
> Operating System: Cygwin 6.3, 64 bit  (running under Windows 8)
> Hardware:
> Description of problem:
> 
> Hi,
> 
> I installing NetCDF Fortran v4.4.0. Started ./configure, runs for awhile
> then I go an error message:
> 
> "checking if Fortran "byte" is C "signed char"... configure: error: Could not 
> link conftestf.o and conftest.o"
> 
> Of cause, it goes belly up then.
> 
> Reading the config.log file (attached) it looks like I may be missing a dll...
> 
> "configure:19425: checking if Fortran "byte" is C "signed char"
> configure:19435: gcc -c  -g -O2 conftest.c
> conftest.c: In function 'sub_':
> conftest.c:4:3: warning: incompatible implicit declaration of built-in 
> function 'exit'
> exit(values[1] != -2 || values[2] != -3);
> ^
> configure:19438: $? = 0
> configure:19441: gfortran -g -O2 -c conftestf.f
> configure:19444: $? = 0
> configure:19447: gfortran -o conftest -g -O2  conftestf.o conftest.o
> gfortran: fatal error: -fuse-linker-plugin, but cyglto_plugin.dll not found
> compilation terminated.
> configure:19450: $? = 1
> configure:19473: error: Could not link conftestf.o and conftest.o"
> 
> I'm certain I've got all other libraries etc. required for NetCDF
> fortran installed and gfortran configured properly, so not sure why this
> is happening.
> 
> -Chris
> 
> 

Ticket Details
===================
Ticket ID: ZQT-710878
Department: Support netCDF
Priority: Normal
Status: Closed