* VMS library utility differences between Vax and AXP???
@ 1998-01-28 5:00 Bob Young
1998-01-29 5:00 ` Larry D Bohan, Jr
0 siblings, 1 reply; 2+ messages in thread
From: Bob Young @ 1998-01-28 5:00 UTC (permalink / raw)
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!!!!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: VMS library utility differences between Vax and AXP???
1998-01-28 5:00 VMS library utility differences between Vax and AXP??? Bob Young
@ 1998-01-29 5:00 ` Larry D Bohan, Jr
0 siblings, 0 replies; 2+ messages in thread
From: Larry D Bohan, Jr @ 1998-01-29 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-29 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox