This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: can't link fortran executable
- To: 'Andrey Khavryuchenko' <akhavr at kds dot com dot ua>, cygwin at cygwin dot com
- Subject: RE: can't link fortran executable
- From: "Robinow, David" <drobinow at dayton dot adroit dot com>
- Date: Mon, 5 Nov 2001 10:37:41 -0500
You are using g77 as a linker. Are you also using it as a compiler?
If not, where did your object files come from?
[This looks suspiciously like 'f2c' output, which
requires -lf2c on the link command.]
-----Original Message-----
From: Andrey Khavryuchenko [mailto:akhavr@kds.com.ua]
Sent: Monday, November 05, 2001 5:55 AM
To: cygwin@cygwin.com
Subject: can't link fortran executable
Administrator@MUSTIDE ~/src/chngc/src
$ g77 -o chngc.exe *.o
[...]
wrtrasmol.o: In function `wrtrasmol_':
wrtrasmol.o(.text+0x35): undefined reference to `s_wsfe'
wrtrasmol.o(.text+0x3d): undefined reference to `e_wsfe'
wrtrasmol.o(.text+0x4a): undefined reference to `s_wsfe'
wrtrasmol.o(.text+0x61): undefined reference to `do_fio'
...
What's set up wrong? What's missing?
--
Andrey V Khavryuchenko http://www.kds.com.ua/
Offshore Software Development
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/