Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: "Arne Vajhøj" <avajhoej@gtech.com>
To: "Steve Kulpa (remove N*O*_S*P*A*M_ before replying)" 
	<N*O_S*P*A*M_skulpa@usit.net>
Subject: Re: I need some linker help!
Date: 1999/06/21	[thread overview]
Message-ID: <376E4827.70940F02@gtech.com> (raw)
In-Reply-To: 376a55b5.590364339@news.usit.net

"Steve Kulpa (remove N*O*_S*P*A*M_ before replying)" wrote:
> I have an application that I've ported from a VMS-VAX to a VMS-Alpha.
> The application involves both C modules and FORTRAN modules.  There is
> a FORTRAN common in the program with various structures and variables.
> There are various EXTERNS in the C modules which relate to the
> structures in the FORTRAN common.
> The program compiles, links, and runs on a VAX just fine.  On the
> Alpha, the program will compile OK, but the linker complains about
> some undefined symbols, which happen to be structures in the
> FORTRAN common.  This program was written by myself (a FORTRAN
> programmer) and a co-worker (a C programmer) who is no longer here.  I
> dragged another C programmer into my office and he took a look at the
> source code with me.  He says the problem is that the EXTERNS in the C
> modules that I'm linking with the FORTRAN modules are not seeing the
> symbols declared in the FORTRAN common.

I think you are looking for:

$ CC /EXTERNAL=COMMON

Arne



  parent reply	other threads:[~1999-06-21  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-18  4:00 I need some linker help! Steve Kulpa (remove N*O*_S*P*A*M_ before replying)
1999-06-18  4:00 ` Fred Zwarts
1999-06-21  4:00 ` Arne Vajhøj [this message]
1999-06-25  4:00 ` Hoff Hoffman
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