From: Greg Lindahl <lindahl@cs.virginia.edu>
To: jochen@hurlebaus.de
Cc: axp-list@redhat.com
Subject: Re: CCC and FORT
Date: Fri, 1 Oct 1999 13:16:59 -0400 (EDT) [thread overview]
Message-ID: <199910011716.NAA14648@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <Pine.LNX.4.04.9910011912040.20264-100000@ibt013.ibt.kfa-juelich.de> from "hurlebau@hurlebaus.de" at Oct 1, 99 07:14:35 pm
> 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
prev parent reply other threads:[~1999-10-01 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-01 17:14 CCC and FORT hurlebau
1999-10-01 17:16 ` Greg Lindahl [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox