[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Missing C __UTC_STAT declaration in stat.h?

» close window

The Question is:

 
We have just upgraded our Alpha 7600 from OpenVMS 6.2 to version 7.1-2. We
deleted all of our object files and started to recompile all our source code
(Using DEC C V5.5-002). I
came across one executable which would not link due to the
undefined symbol __UTC_STAT.  I traced this to a module which included the
system file "stat.h" and was using the runtime function stat(). I ended up
defining a do-nothing function named __utc_stat () to resolve the reference,
but that doesn't strike me a
s the correct fix. What is the real problem here and how should it be
corrected?
 
 


The Answer is :

 
  Please reinstall DEC C V5.5 or (better) install Compaq C V6.0,
  request that the libraries be fully processed, and try the
  compilation again.
 
  Ensure that you are compiling the code with /PREFIX=ALL.
 
  If this fails, please contact the Compaq Customer Support Center.
  Expect to be asked for a reproducer.
 

answer written or last revised on ( 6-AUG-1999 )

» close window