Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: cygwin@cygwin.com
Subject: can't link fortran executable
From: Andrey Khavryuchenko <akhavr@kds.com.ua>
Organization: KDS Software Group
X-Attribution: AVK
Content-Type: text/plain; charset=US-ASCII
Date: 05 Nov 2001 12:55:09 +0200
Message-ID: <m3zo614hde.fsf@netmaster.kds.com.ua>
Lines: 35
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
MIME-Version: 1.0

Hi!

This well might be a FAQ, but I've not found one.

Freshly installed cygwin.  

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'
wrtrasmol.o(.text+0x69): undefined reference to `e_wsfe'
wrtrasmol.o(.text+0x76): undefined reference to `s_wsfe'
wrtrasmol.o(.text+0x8d): undefined reference to `do_fio'
wrtrasmol.o(.text+0xa4): undefined reference to `do_fio'
wrtrasmol.o(.text+0xac): undefined reference to `e_wsfe'
wrtrasmol.o(.text+0xb9): undefined reference to `s_wsfe'
wrtrasmol.o(.text+0xc1): undefined reference to `e_wsfe'
wrtrasmol.o(.text+0x10c): undefined reference to `s_copy'
wrtrasmol.o(.text+0x11c): undefined reference to `s_wsfe'
wrtrasmol.o(.text+0x133): undefined reference to `do_fio'
wrtrasmol.o(.text+0x154): undefined reference to `e_wsfe'
wrtrasmol.o(.text+0x191): undefined reference to `do_fio'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(main.o)(.text+0x38):main.c: undefined reference to `MAIN__'
collect2: ld returned 1 exit status

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/

