[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

612.0. "Link looks for library not object, dnf??" by KERNEL::PULLEY (Come! while living waters flow) Mon May 19 1997 12:55

    Hi,
    
    I've a customer using OpenVMS v6.2 Alpha.
    He's trying to link a suite of programs & is having trouble.
    If he links a single object file, it doesn't complain.
    If he links with an object file & library like:-
    $ link the_object,util/lib
    He gets:-
    rms-?-fnd,... directory not found sys$sysdevice:[res.apps.g94] ...
    (I think there was another message indicating it was looking for an
    object library called the_object).
    
    I've no real idea what further to look for.
    When he links, he is at a default directory res:[res.apps.g94] so it's
    like it takes his directory path & stuffs it on sys$sysdevice.
    The logical res is system, exec, concealed no alias & translates to
    disk03, which in turn becomes dka300, (not sure what attributes).
    He's tryed using physical file path names without success.
    Also tryed setting default to the device name rather than logical, &
    show def seemed to ignore the logical.
    (By the way util is a logical also don't know what like through).
    He has some kind of large script which he's using.
    
    Thanks for any suggestions on what I can go for next,
    Steve.
    
T.RTitleUserPersonal
Name
DateLines
612.1We Need Specifics...XDELTA::HOFFMANSteve, OpenVMS EngineeringMon May 19 1997 13:058
    We need the full LINK command, any and all options files used, the
    full error message text, and a SHOW LOGICAL/FULL of any logical names
    in use, and a DIRECTORY showing all input object modules, libraries,
    or shareable images...  (We also need a SHOW LOGICAL of any filenames
    used as LINKER input, filenames that lack any logical logical name
    prefix -- "the_object" would be one such filename that would be
    translated as a logical name, in the case shown.)
612.2MILORD::BISHOPThe punishment that brought us peace was upon HimMon May 19 1997 13:458
    I think you'll find that the logical name 'util' is the cause of this.
    I'll bet it translates to 'sys$sysdevice'.
    
    Change the link to: $ link the_object,util.olb/lib
    
    If I'm right, that'll fix it.
    
    - Richard.