Hello
I am trying to install hdf5 1.8 using the PGI cygwin environment. I am
getting an error during the configuration.
I have done the configuration using the following command:
PGI$ CC=pgcc FC=pgf90 CXX=pgcpp CFFLAGS=-Mmpi=msmpi CPPFLAGS=-Mmpi=msmpi
FCFLAGS
=-Mmpi=msmpi ./configure --enable-fortran --with-default-api-version=v16
tee c
onfigure.log
I am getting the following error:
···
---------------------------------------------------------
checking for Fortran libraries of pgf90...
-libpath:c:\PROGRA~1\PGI/win64/10.5/lib
checking for dummy main to link with Fortran libraries... unknown
configure: error: in `/c/Users/Administrator/Desktop/Downloads/hdf5-1.8.5':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
--------------------------------------------------------
and my config.log contains:
---------------------------------------------------------
configure:4655: checking whether we are using the GNU C compiler
configure:4674: pgcc -c -Mmpi=msmpi conftest.c >&5
NOTE: your trial license will expire in 6 days, 5.43 hours.
PGC-S-0040-Illegal use of symbol, choke (conftest.c: 16)
PGC-W-0156-Type not specified, 'int' assumed (conftest.c: 16)
PGC/x86-64 Windows 10.5-0: compilation completed with severe errors
configure:4674: $? = 2
configure: failed program was:
/* confdefs.h */
--------------------------------------------------------
Kindly let me know how to resolve it.
Thanks & Regards,
Kunal