[comp.os.vms] Problems with C-compiler

purdy@skat.usc.edu (Tim Purdy) (02/22/88)

 Hello Fellow VMSers,
   I've been currently appointed to the post of system manager for our
 Astronomy department's vax (runnning VMS 4.3).  I have a bunch of C
 programs that I would like to compile, but I've discovered that in my
 non-privileged account (and for all non-privied accounts) that I cannot
 compile any C-programs, but I can from the managers account.  I get the
 following error message:

 $cc test.c
 %DCL-W-ACTIMAGE, error activating image CDDSHR
 -CLI-E-IMGNAME, image file DRA0:[SYS0.][SYSLIB]CDDSHR.EXE;3
 -SYSTEM-F-PRIVINSTALL, shareable images must be installed to run privileged
 image

   Mind now that I did not install the accounts for the system, and I checked
 the protection of the file and it was ok.  Is there something that must be
 done in the UAF program?  I tried looking in the orange bibles but I'm not
 terribly familiar enough to locate the right sections.  Help!?

                                            -- Tim Purdy


*:^)

Arpa: purdy%skat.usc.edu@usc-oberon.arpa
Uucp: ihnp4!sdcrdcf!usc-oberon!skat!purdy

tsf@arizona.edu (Ted Frohling) (02/22/88)

The VMS error message says it.  The CDDSHR image must be installed at least
open/shared.  Have the system manager invoke the proper CDD startup file.
And then make sure that it is invoked at each subsequent startup.  VAX C 
has hooks for the Common Data Dictionary and that is why this image is 
being looked at.  Should be a simple 2 second fix.  A CDD startup file
should have been placed in sys$manager when the product was installed.

dave@wsccs.UUCP (Dave E Martin "VAX Headroom") (03/02/88)

In article <7122@oberon.USC.EDU>, purdy@skat.usc.edu (Tim Purdy) writes:
> 
>  $cc test.c
>  %DCL-W-ACTIMAGE, error activating image CDDSHR
>  -CLI-E-IMGNAME, image file DRA0:[SYS0.][SYSLIB]CDDSHR.EXE;3
>  -SYSTEM-F-PRIVINSTALL, shareable images must be installed to run privileged
>  image
> 
Your C compiler thinks that the CDD (common data dictionary) exists
on your system.  You need to get cdd installed properly
(A line like  @cddstartup   needs to appear in sys$manager:systartup.com)
The C compiler can interface to the CDD (see #dictionary directive) and
if the CDD is on your system will try to use it (even if your program
isn't).

Alternatively, you could remove the cdd entirely.

+-----------------------------------------------------------------------------+ 
|		    |	     Dave E Martin       | DISCLAIMER: Been Cancelled |
|    /\		    | "...between the streets of | $ opinion/mine/noUinTech   |
|   /  \  .    /\   | Dallas, and the beaches of |----------------------------|
|  /    \/ \/\/  \  | Miami ...  THIS  was   Max | ...!ihnp4!utah-cs!utah-gr! |
| / U i n T e c h \ | Headroom's  finest  hour." | uplherc!sp7040!obie!       |
|		    |	          --Max Headroom | wsccs!net23.dnet!dave      |
+-----------------------------------------------------------------------------+