delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <021901c16612$83afde30$6dec85ce@amr.corp.intel.com> |
From: | "Tim Prince" <tprince AT computer DOT org> |
To: | <cygwin AT cygwin DOT com>, "Andrey Khavryuchenko" <akhavr AT kds DOT com DOT ua> |
References: | <m3zo614hde DOT fsf AT netmaster DOT kds DOT com DOT ua> |
Subject: | Re: can't link fortran executable |
Date: | Mon, 5 Nov 2001 07:26:23 -0800 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4522.1200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
This looks like the result you would get if you attempted to link with gcc instead of g77. The libg2c.a must be bad, as g77 should give you a message if it failed to find it. ----- Original Message ----- From: "Andrey Khavryuchenko" <akhavr AT kds DOT com DOT ua> To: <cygwin AT cygwin DOT com> Sent: Monday, November 05, 2001 2:55 AM Subject: can't link fortran executable > Hi! > > This well might be a FAQ, but I've not found one. > > Freshly installed cygwin. > > Administrator AT 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):mai n.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/ > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |