Re: Help linking f77 libraries into gfortran
- From: "FX" <coudert@xxxxxxxxxxxxx>
- Date: Fri, 27 Jul 2007 19:30:08 +0000 (UTC)
This produces many errors similar to:
/cygdrive/c/Devel/MinGW/lib/libSLATEC.a(xersve.o):xersve.f:(.text+0x206):
undefined reference to `_s_copy'
If you're linking to a static library (like your libSLATEC.a) you need to
also link in the libraries that it depends on: in your case, I think
you'd need to add a libg2c.a library to your linker command.
--
FX
.
- Follow-Ups:
- Re: Help linking f77 libraries into gfortran
- From: deltaseq0
- Re: Help linking f77 libraries into gfortran
- References:
- Help linking f77 libraries into gfortran
- From: deltaseq0
- Help linking f77 libraries into gfortran
- Prev by Date: Help linking f77 libraries into gfortran
- Next by Date: Re: forall and do loop
- Previous by thread: Help linking f77 libraries into gfortran
- Next by thread: Re: Help linking f77 libraries into gfortran
- Index(es):
Relevant Pages
|