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

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Fri Nov 25 12:48:06 EST 2011


In article <N5SdnQCnBbCKUFLTnZ2dnUVZ_oGdnZ2d at giganews.com>, "Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
>On 11/25/2011 3:12 AM, kevinyuan wrote:
>> On Nov 25, 2:28 pm, Volker Halle<volker_ha... at hotmail.com>  wrote:
>>> Kevin,
>>>
>>> these symbols are defined in module VMS_DRIVERS in SYS$LIBRARY:SYS
>>> $LIB_C.TLB
>>>
>>> You may need to add an include statement in your C source code (see SYS
>>> $EXAMPLES:LRDRIVER.C):
>>>
>>> #include<vms_drivers.h>          /* Device driver support macros,
>>> including */
>>>
>>> Volker.
>>
>> Thanks for your support! But the result is the same. The code can be
>> compiled as before while linking errors are still there.
>
>Why are you crying about it instead of posting some hard information?
>
>Try posting the output of the linker!

The symbol his link wants to resolve is found in module DRIVER_TABLE_INIT
in VMS$VOLATILE_PRIVATE_INTERFACES.OLB.  If he doesn't want to create the
driver, then he shouldn't define this in his linker options file.  ;)

C coders...

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.



More information about the Info-vax mailing list