From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27910 invoked from network); 1 Oct 1999 17:17:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 1 Oct 1999 17:17:13 -0000 Received: from ares.cs.Virginia.EDU (ftp.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA23773 for ; Fri, 1 Oct 1999 13:17:10 -0400 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id NAA08793; Fri, 1 Oct 1999 13:17:00 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id NAA14648; Fri, 1 Oct 1999 13:16:59 -0400 (EDT) Message-Id: <199910011716.NAA14648@adder.cs.Virginia.EDU> Subject: Re: CCC and FORT To: jochen@hurlebaus.de Date: Fri, 1 Oct 1999 13:16:59 -0400 (EDT) Cc: axp-list@redhat.com In-Reply-To: from "hurlebau@hurlebaus.de" at Oct 1, 99 07:14:35 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > While trying to link C-code compiled with Compaq CCC and Fortran > Code compiled with Fortran FORT for Alpha I get undefined references, e.g. > > :17: undefined reference to `for_write_seq_fmt' > :14: undefined reference to `for_open' > :25: undefined reference to `for_write_seq_fmt_xmit' > :25: undefined reference to `for_stop' > > Is it a problem that it is old Fortran 77 code I compiled with FORT, > or did I just forget one of the libraries that needs to be included? Your problem is that you used ccc to link, not fort. If you link using fort, everything will be OK. (So yes, it's a missing library. If you really want to link with ccc, use fort -v to find out what the libraries are.) -- g