Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* LGP help, Link errors.
@ 1994-03-28 13:23 Brainwave Surfer
  1994-03-28 15:44 ` Steve Lionel
  0 siblings, 1 reply; 2+ messages in thread
From: Brainwave Surfer @ 1994-03-28 13:23 UTC (permalink / raw)


Dear Netters,

	I have a problem that's been slowly driving me batty.

	Basically, we have a ICU monitoring system that the graphics
	run off of VAXlab, or DEC Realtime Test Integrator.  We are 
	using the subset that only has the A/D I/O routines, and the
	graphics lib that depends on runtime GKS. We have a FORTRAN
	program that uses the LGP$ calls that make graphics.  Now,
	after a system upgrade to VMS, the FORTRAN complies still
	run perfectly, but the LINK step that puts it all together
	fails with this exact message:

	NOTE THAT THE MESSAGES ARE REFORMATTED TO NARROW THEM DOWN,
	NO OTHER EDITING PERFORMED.


LINK /MAP/FULL/TRACEBACK OBJECTS:V6ROTO_GRAPH_LGP.OBJ,  
	OBJECTS:CML_BINARY.OBJ,   OBJECTS:CML_FIND_EOF.OBJ,  
	OBJECTS:CML_SIGNAL.OBJ,   OBJECTS:TIME_TUNNEL.OBJ
%LINK-E-MULSHRPSC, psect ERRNO defined in shareable image 
	SYS$COMMON:[SYSLIB]LGPSHR.EXE;5
	is multiply defined in shareable image 
	SYS$COMMON:[SYSLIB]VAXCRTL.EXE;6
-LINK-E-NOIMGFIL, image file not created
%LINK-E-MULSHRPSC, psect STDERR defined in shareable image
	SYS$COMMON:[SYSLIB]LGPSHR.EXE;5
	is multiply defined in shareable image 
	SYS$COMMON:[SYSLIB]VAXCRTL.EXE;6
-LINK-E-NOIMGFIL, image file not created
%LINK-E-MULSHRPSC, psect STDIN defined in shareable image 
	SYS$COMMON:[SYSLIB]LGPSHR.EXE;5
	is multiply defined in shareable image 
	SYS$COMMON:[SYSLIB]VAXCRTL.EXE;6
-LINK-E-NOIMGFIL, image file not created
%LINK-E-MULSHRPSC, psect STDOUT defined in shareable image 
	SYS$COMMON:[SYSLIB]LGPSHR.EXE;5
	is multiply defined in shareable image 
	SYS$COMMON:[SYSLIB]VAXCRTL.EXE;6
-LINK-E-NOIMGFIL, image file not created
%MMS-F-ABORT, For target V6ROTO_GRAPH_LGP.EXE, CLI returned 
	abort status: %X106482B2.


	Versions involved:

	VMS		V5.5-2
	FORTRAN		V5.8-155
	VAXLAB		V1.4

	
Many thanks if someone could help!

Jim

         /^^^\   \ /   Jim Agnew         | AGNEW@RUBY.VCU.EDU  (Internet)
        /      >  ||   Neurosurgery,     | AGNEW@VCUVAX        (Bitnet)
   /\_/     '   \  /   MCV-VCU           | This disc will self destruct in
 /________________>    Richmond, VA, USA | five seconds.  Good luck, Jim..."



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: LGP help, Link errors.
  1994-03-28 13:23 LGP help, Link errors Brainwave Surfer
@ 1994-03-28 15:44 ` Steve Lionel
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Lionel @ 1994-03-28 15:44 UTC (permalink / raw)



In article <1994Mar28.092321.1174@gems.vcu.edu>, agnew@gems.vcu.edu 
(Brainwave Surfer) writes:
{> [text omitted]
|>	run perfectly, but the LINK step that puts it all together
|>	fails with this exact message:
|>
|>	NOTE THAT THE MESSAGES ARE REFORMATTED TO NARROW THEM DOWN,
|>	NO OTHER EDITING PERFORMED.
|>
|>
|>LINK /MAP/FULL/TRACEBACK OBJECTS:V6ROTO_GRAPH_LGP.OBJ,  
|>	OBJECTS:CML_BINARY.OBJ,   OBJECTS:CML_FIND_EOF.OBJ,  
|>	OBJECTS:CML_SIGNAL.OBJ,   OBJECTS:TIME_TUNNEL.OBJ
|>%LINK-E-MULSHRPSC, psect ERRNO defined in shareable image 
|>	SYS$COMMON:[SYSLIB]LGPSHR.EXE;5
|>
[more text omitted]

The linker is now complaining about an error it didn't notice before; that
two shareable images try to "define" the same GBL,OVR PSECT.  The two
images are LGPSHR and VAXCRTL.  It suggests that LGPSHR was linked against
the VAX C RTL objects rather than the shareable image, which is bad news,
but then if it was, and you had no C code in your application, how are you
pulling in VAXCRTL.EXE?

Do you have LNK$LIBRARY defined?  If so, as what?  Try adding the following
linker options file:

	SYS$LIBRARY:VAXCRTL/SHARE

and see what happens.

If that doesn't help, use the following options file instead:

	PSECT_ATTR=ERRNO,LCL
	PSECT_ATTR=STDIN,LCL
	PSECT_ATTR=STDOUT,LCL
	PSECT_ATTR=STDERR,LCL

If this doesn't help, please relink the application with /MAP/FULL/CROSS
and mail me the map so I can see what's going on.
-- 

Steve Lionel                         Mail: lionel@quark.enet.dec.com
SDT Languages Group                  WWW:  http://www.digital.com/pub/
Digital Equipment Corporation               Digital/info/html/slionel.html
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698                "Free advice is worth every cent"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-03-28 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-28 13:23 LGP help, Link errors Brainwave Surfer
1994-03-28 15:44 ` Steve Lionel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox