Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: skerr@herma.ucsd.edu (Dr. Stephen S. Kerr)
Subject: How to get RCS 5.6 on VMS 6.2?
Date: 1998/08/14	[thread overview]
Message-ID: <6r03a9$fig$1@news1.ucsd.edu> (raw)


I am trying, without much luck, to install RCS version 5.6 on VMS 6.2.
I have read some recent posts on dejanews that discuss some problems
that are similar to mine, and although this has helped, I still can't
create working versions of the executables.  I'd be grateful for any
help!

Here are the details of the tools I'm using:

C compiler:    DEC C V5.2-003 on OpenVMS Alpha V6.2
make:          GNU Make version 3.74vms
diff, diff3:   GNU diffutils version 2.7

The make executable was from www.openvms.digital.com/cd/RCS/.
The diff executables were from www.openvms.digital.com/cd/CVS_VMS/.

My first attempt to compile RCS in the source directory yielded
many error messages similar to the following:

   $ make -f makefile.vms
   cc  /debug/noopt /nowarn   /obj=ci.obj ci.c

   typedef unsigned long u_long;
   ......................^
   %CC-E-NOLINKAGE, In this declaration, "u_long" has no linkage and has
   a prior declaration in this scope at line number 306 in file
   SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1.
   at line number 22 in file UD1:[KERR.LOCAL.RCS.RCS-5-6.SRC]VMSDIR.H;1

   [...remaining messages deleted...]

These messages resembled those reported by Dave Boyd on 1998/6/29.
Klaus Kaempf's reply suggested removing the redundant typedefs from
conf.h.  I did this, and also removed the offending typedefs from
vmsdir.h.  I tried to make again, and things went fine until make
tried to compile the rcsutil.c file:

   cc  /debug/noopt /nowarn   /obj=rcsutil.obj rcsutil.c

                       signal(sig[i], SIG_IGN) != catchsig
   ....................^
   %CC-E-NOEQUALITY, In this statement, "signal(...)" and "catchsig"
   may not be compared for equality or inequality.
   at line number 497 in file UD1:[KERR.LOCAL.RCS.RCS-5-6.SRC]RCSUTIL.C;1
   make-3_74-19951218.axp_exe;4: *** [rcsutil.obj] Error 0x10b91262

I wasn't sure what to do about this.  In desperation I cast both
of these values to (signal_type), just to get rcsutil.c to compile.
Again, make proceeded without trouble until until it tried to compile
vmsfunctions.c:

   cc  /debug/noopt /nowarn   /obj=vmsfunctions.obj vmsfunctions.c

           u_long  d_fileno;                       /* file number of entry */
   ........^
   %CC-E-MISSINGTYPE, Missing type specifier or type qualifier.
   at line number 27 in file UD1:[KERR.LOCAL.RCS.RCS-5-6.SRC]VMSDIR.H;2

   [...and a couple of similar error messages...]

So it appeared vmsfunctions.c needed the typedefs in vmsdir.h after all.
I restored the old vmsdir.h and tried again.  vmsfunctions.c compiled,
but the first link failed:

   link  ci.obj,rcslex.obj,rcssyn.obj,rcsgen.obj,rcsedit.obj,rcskeys.obj,
   rcsmap.obj,rcsrev.obj,rcsutil.obj,rcsfnms.obj,partime.obj,maketime.obj,
   rcskeep.obj,rcsfcmp.obj,vmsfunctions.obj ,com:c/opt /exe=ci.exe
   %LINK-F-OPENIN, error opening COM:[KERR.LOCAL.RCS.RCS-5-6.SRC]C.OPT; as
      input
   -RMS-F-DEV, error in device name or inappropriate device type for operation
   make-3_74-19951218.axp_exe;4: *** [ci.exe] Error 0x1064109c

At this point, I gave up.

Can anybody tell me what I need to do to get RCS 5.6 to compile and link
on my system?

Regards,
Stephen Kerr



             reply	other threads:[~1998-08-14  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-14  4:00 Dr. Stephen S. Kerr [this message]
1998-08-14  4:00 ` How to get RCS 5.6 on VMS 6.2? Arne Vajh�j
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox