Re: MPB configuration problem
"Steven G. Johnson" <[email protected]>
| Newsgroups | gmane.comp.science.photonic-bands |
|---|---|
| Message-ID | <[email protected]> |
There is a known bug in the version of autoconf used for MPB that causes ifc linking detection to fail. This will be fixed in the next release, but for now you can use the workaround of setting the FLIBS variable explicitly: ./configure CC=icc F77=ifc FLIBS="<flags from configure output>" Where <flags from configure output> are the flags from the "checking for Fortran 77 libraries" line, but without the -lm" item. Steven On Sun, 5 Nov 2006, Baudilio Tejerina wrote: > checking for Fortran 77 libraries... -lm" -L/usr -limf -lm > -L/opt/intel/fce/9.0/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/ > -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64 -lsvml -lifport > -lifcore -lirc -lgcc_s -lirc_s -ldl > checking for dummy main to link with Fortran 77 libraries... unknown > configure: error: linking to Fortran libraries from C fails