home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!YOGI.HSC.UCALGARY.CA!byron
- From: byron@YOGI.HSC.UCALGARY.CA (Byron Draudson)
- Newsgroups: comp.os.vms
- Subject: Compiling Ghostscript (help needed)
- Message-ID: <00963A01.045424C0.18719@yogi.hsc.ucalgary.ca>
- Date: 15 Nov 92 06:57:34 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 48
-
- Hi all. I'm trying to build Ghostscript 2.4 on VMS 5.3/Decwindows using
- GNU C 1.36. Most of the package has compiled with no problems. I do have
- two problems. Warning - I'm a non-C person... %} Hopefully, my questions
- aren't too dumb.
-
- 1. When compiling GDEVXINI.C and GDEVX.C, the following error occurs:
-
- YOGI$DUA0:[SYS0.SYSCOMMON.][decw$include]Intrinsic.h:84: #include expects
- "fname" or <fname>
-
- So, after tracking down the problem, I find the following line in
- decw$include:intrinsic.h:
-
- #include types
-
- What should this line be? There is no "types" file in decw$include.
-
- 2. When compiling GP_VMS.C, the following error(s) occur:
-
- gp_vms.c: In function gp_file_name_is_absolute:
- gp_vms.c:197: warning: assignment of non-const * pointer from const *
- gp_vms.c:198: invalid lvalue in unary `&'
- gp_vms.c:198: warning: argument passing between incompatible pointer types
- gp_vms.c: In function gp_enumerate_files_init:
- gp_vms.c:276: conflicting types for `gp_enumerate_files_init'
- gp.h:125: previous declaration of `gp_enumerate_files_init'
-
- Looking at the two routines, gp_file_name_is_absolute and
- gp_enumerate_files_init, I find them defined as follows:
-
- int
- gp_file_name_is_absolute(const char *fname, uint len)
-
- file_enum *
- gp_enumerate_files_init(const char *pat, uint patlen)
-
- Whats wrong with these?
-
- Sorry for the dumb questions. I have tried to the best of my abilites to get
- this to work but I'm unable to get any further without some help. Like I said
- before, I'm not familiar with C. Thanks in advance for any help.
-
- :byron
- ________________________________________________________________________
- Byron Draudson, Systems Manager byron@yogi.hsc.ucalgary.ca
- Radiology, Foothills Hospital, Calgary, Alberta, Canada (403) 670-2442
-
-
-