HP OpenVMS Systems

ask the wizard
Content starts here

Missing C routines?

» close window

The Question is:

 
Hi,
 
I am working on an DEC ALPHA 433 using OVMS 7.1
porting a software package that was written
under UNIX. Unfortunatlly my customer is using
OVMS 6.2 and the c++ compiler the I was using
is not compatiable. The Port wend fine with
that compiler.
So we aquired a C compiler version 5.5-0003 to  do
the job. I am getting massive problems while
using simple calls like chmod, open, opendir,
bind, ioctl, fileno, etc.
My questions is must I uninstall the C++ compiler
before I can continue? I noticed that in the
header files that the 5.5 compiler is accessing
a version check for 7000000 is done.
If so How do I do this?
I am not an expert on the OVMS system.
 
Please help
Thanks in advance
 
Bahram Djavidan
ZING/SOFT Berlin Germany
 
 


The Answer is :

 
  Please be cautious when indicating the system -- the OpenVMS Wizard
  is not aware of any "DEC ALPHA 433" system sold by DIGITAL or Compaq.
 
  You will want to use the backport library available in DEC C V5.6 and
  later, or you will want to upgrade to OpenVMS Alpha V7.1 or later, to
  gain access to the largest set of C routines.  (The current DEC C
  release is V6.0, and the current OpenVMS Alpha release is V7.2.)
 
  You will want to use the /PREFIX=ALL qualifier on the DEC C compilation,
  to allow the LINKER to automatically locate the routines in the DEC C
  run-time library.  (Routines such as "open" could not be included in
  the default library as there are many user programs containing routines
  with this name that would encounter duplicate symbol errors.  As a result
  of this, DEC C can add a prefix of "decc$" to the C library routine calls
  and thus routines such as decc$open can be located by the LINKER.)
 
  Note that ioctl and certain other calls can be specific to a platform
  or to a particular device driver.

answer written or last revised on ( 29-APR-1999 )

» close window