From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,68b8596023d0a034 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,68b8596023d0a034 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-28 07:44:52 PST Xref: gmd.de comp.os.vms:43466 comp.sys.dec:14695 Path: gmd.de!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!sgiblab!sgigate.sgi.com!olivea!decwrl!pa.dec.com!jac.zko.dec.com!quark.enet.dec.com!lionel From: lionel@quark.enet.dec.com (Steve Lionel) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: LGP help, Link errors. Date: 28 Mar 1994 15:44:52 GMT Organization: Digital Equipment Corporation, Nashua NH Distribution: world Message-ID: <2n6u1k$d9@jac.zko.dec.com> References: <1994Mar28.092321.1174@gems.vcu.edu> Reply-To: lionel@quark.enet.dec.com (Steve Lionel) NNTP-Posting-Host: QUARK X-Newsreader: mxrn 6.18-13 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"