[Info-vax] Linking error after successfully compiling with lib_c.tlb/library

Richard B. Gilbert rgilbert88 at comcast.net
Mon Nov 28 20:49:46 EST 2011


On 11/28/2011 7:42 AM, VAXman- @SendSpamHere.ORG wrote:
> In article<68af4256-6507-44c3-9687-9ff8725dd22f at o1g2000vbe.googlegroups.com>, kevinyuan<kevin.a.yuan at gmail.com>  writes:
>> Thanks Vaxman.
>>
>> I put SYS$LIBRARY:VMS$VOLATILE_PRIVATE_INTERFACES.OLB to the option.
>
> Welcome.
>
>
>> Only one undefined symbol here:
>>
>> %LINK-W-NUDFSYMS, 1 undefined symbol:
>> %LINK-I-UDFSYM,         ISR_STUB
>> %LINK-W-USEUNDEF, undefined symbol ISR_STUB referenced
>>         in psect $LINK$ offset %X000008A8
>>
>>
>> I think I need one more OLB.
>
> I don't think that's a sumbol from any VMS supplied library.  Take a look
> in your code to see where that's referenced.  The .MAP and .LISting files
> are your friends here.
>

It's a very good idea to use /LIST and /CROSS_REFERENCE qualifiers for 
your your compiler.  The cross reference will show you where each 
variable is defined and used or that some are never used or never defined.

It's amazing the amount of cruft you can find in a program that has been 
in use for many years.



More information about the Info-vax mailing list