This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: undefined symbol
- To: Robert Schweikert <rjschwei at mindspring dot com>
- Subject: Re: undefined symbol
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Sun, 03 Dec 2000 19:32:47 +0100
- CC: gcc help <gcc-help at gcc dot gnu dot org>
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <3A2A5D4B.C9E909D9@mindspring.com>
Robert Schweikert wrote:
> The message from the linker is as follows:
>
> undefined symbol: s_wsfe
>
> but this does not appear to be mangled.
>
> c++filt s_wsfe
> s_wsfe
This symbol comes from the Fortran run-time library - link with -lg2c to
get the routine that's indicated by this symbol.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)