This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: can't link fortran executable


 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]