compillation problem in Cygwin environment
Posted: Tue Nov 21, 2017 6:03 pm
Dear Sir
Greetings
Recently, i have tried the yambo installation on a cygwin based linux environment. first i did configuration using 1) ./configure command and next i have issued 2) make all. The complilation went on well except the yambo linking. I have serched the fouram for the possible clarification for this kind of errors and unable to find the same. I have attached the config.log file for your persual. This is the error message on the machine
---------------------------------------------------------------------------------------------
">>>[Linking yambo]<<<
make[2]: Entering directory '/cygdrive/f/NNV/SOFT/YM/driver'
/cygdrive/f/NNV/SOFT/YM/driver/driver.c: In function ‘main’:
/cygdrive/f/NNV/SOFT/YM/driver/driver.c:117:13: warning: ‘optind’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern int optind;
^
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lxcf90
collect2: error: ld returned 1 exit status
Makefile:84: recipe for target 'yambo' failed
make[2]: *** [yambo] Error 1
make[2]: Leaving directory '/cygdrive/f/NNV/SOFT/YM/driver'
Makefile:191: recipe for target 'yambo' failed
make[1]: *** [yambo] Error 2
make[1]: Leaving directory '/cygdrive/f/NNV/SOFT/YM'
yambo build failed
--------------------------------------------------------------------
I have also tried with the older version Yambo-3.4.1. It has installed witout any error.
Please helpme to solve this issue.
With best regards
Venkat
CSIR-CLRI, India.
Greetings
Recently, i have tried the yambo installation on a cygwin based linux environment. first i did configuration using 1) ./configure command and next i have issued 2) make all. The complilation went on well except the yambo linking. I have serched the fouram for the possible clarification for this kind of errors and unable to find the same. I have attached the config.log file for your persual. This is the error message on the machine
---------------------------------------------------------------------------------------------
">>>[Linking yambo]<<<
make[2]: Entering directory '/cygdrive/f/NNV/SOFT/YM/driver'
/cygdrive/f/NNV/SOFT/YM/driver/driver.c: In function ‘main’:
/cygdrive/f/NNV/SOFT/YM/driver/driver.c:117:13: warning: ‘optind’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern int optind;
^
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lxcf90
collect2: error: ld returned 1 exit status
Makefile:84: recipe for target 'yambo' failed
make[2]: *** [yambo] Error 1
make[2]: Leaving directory '/cygdrive/f/NNV/SOFT/YM/driver'
Makefile:191: recipe for target 'yambo' failed
make[1]: *** [yambo] Error 2
make[1]: Leaving directory '/cygdrive/f/NNV/SOFT/YM'
yambo build failed
--------------------------------------------------------------------
I have also tried with the older version Yambo-3.4.1. It has installed witout any error.
Please helpme to solve this issue.
With best regards
Venkat
CSIR-CLRI, India.