🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.misc
Article #86

Re: Referencing a globaldef'd variable thru macro rtn

#86
From: Dick Munroe
Date: Sat, 29 Aug 1992 11:26
28 lines
1319 bytes
In article <l9t8nqINNodn@news.bbn.com>, mjensen@BBN.COM (Martin Jensen) writes:
>     ...
>     The linker gives me the following warning when I link with the shared
>     image:
> 
> %LINK-I-BASDUERRS, basing image due to errors in relocatable references
> %LINK-W-SHRSYMREF, reference to symbol G_WATCHDOG_EXIT is not position independent
> 	in psect SUBRTNS offset %X00000018
> 	in module SUBRTNS file NAS_BUILD:[NAS.PUBLIC.V41I_A_DEVL]SUBRTNS.OBJ;2
> 
>     The macro statment in question is:
> 
> 	    cmpl    g_watchdog_exit,r0

Martin,

Change it to:

        cmpl    G^g_watchdog_exit,r0

And the problem will go away (I'm pretty sure, anyway).
-- 
Dick Munroe				Internet: munroe@dmc.com
Doyle Munroe Consultants, Inc.		UUCP: ...uunet!thehulk!munroe
267 Cox St.				Office: (508) 568-1618
Hudson, Ma.				FAX: (508) 562-1133

GET CONNECTED!!! Send mail to info@dmc.com to find out about DMConnection.
Technical Details
Message-ID: <1992Aug29.072640.4480@dmc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dmc.com!munroe
References: <l9t8nqINNodn@news.bbn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dmc.com!munroe
From: munroe@dmc.com (Dick Munroe)
Newsgroups: vmsnet.misc,vmsnet.internals
Subject: Re: Referencing a globaldef'd variable thru macro rtn
Message-ID: <1992Aug29.072640.4480@dmc.com>
Date: 29 Aug 92 07:26:40 EDT
References: <l9t8nqINNodn@news.bbn.com>
Distribution: na
Organization: Doyle, Munroe Consultants, Inc., Hudson, MA
Lines: 28