From: LBohan@dbc.spam_less..com (Larry D Bohan, Jr)
Subject: Re: VMS library utility differences between Vax and AXP???
Date: 1998/01/29 [thread overview]
Message-ID: <34d1f90a.2194727170@199.217.9.201> (raw)
In-Reply-To: FD90C4387D3CEBCA.4C91F4802548F062.EBD18EE71364B386@library-proxy.airnews.net
On Wed, 28 Jan 1998 11:58:38 -0500, "Bob Young" <rcyoung@groupz.net>
wrote:
>I can generate an object library from 'C' code object files on the VAX Open
>VMS w/out difficulty. When I take the 'C' source code over to AXP and try to
>make an equivalent library from the AXP generated object files, I get error
>messages declaring there are 'duplicate globals'. The error does not show up
>on VAX.
>
>Ideas or workarounds?
>
>The msg is of the form...
>
>%LIBARA-E-DUPGLOBAL Global symbol xxxx from file xxx already in library.
>
>Please respond via email to rcyoung@groupz.net
>Thanks in advance!!!!
>
you're probably working w/ an older compiler on the VAX side;
the default "model" for externs changed within the last
few C compiler releases;
you may be able to dodge around the problem, if on
the Alpha you compile with /EXTERN_MODEL=COMMON
ie, the model traditionally used VAXC C.
at least read up on the (newer) extern models;
on the alphas, start w/ $ help cc /decc /extern
or the manuals and/or doc cd's, if you're lucky
enough to have them ...
sometimes, one get cornered into tricky situations
if linking against old obj libraries, and modules
compiled using the newer extern models; folks
where i worked had some situation like this vis a vis
GKS
lbohan (at) DBC dot Com, voice/fax:719.488.1652
Larry D Bohan, c/o Data Broadcasting Corp
1900 S Norfolk, Ste #150, San Mateo CA 94403-1151
prev parent reply other threads:[~1998-01-29 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-28 5:00 VMS library utility differences between Vax and AXP??? Bob Young
1998-01-29 5:00 ` Larry D Bohan, Jr [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