home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18012 < prev    next >
Encoding:
Text File  |  1992-11-15  |  2.1 KB  |  60 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!YOGI.HSC.UCALGARY.CA!byron
  2. From: byron@YOGI.HSC.UCALGARY.CA (Byron Draudson)
  3. Newsgroups: comp.os.vms
  4. Subject: Compiling Ghostscript (help needed)
  5. Message-ID: <00963A01.045424C0.18719@yogi.hsc.ucalgary.ca>
  6. Date: 15 Nov 92 06:57:34 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 48
  11.  
  12. Hi all.  I'm trying to build Ghostscript 2.4 on VMS 5.3/Decwindows using
  13. GNU C 1.36.  Most of the package has compiled with no problems.  I do have
  14. two problems.  Warning - I'm a non-C person...  %}   Hopefully, my questions
  15. aren't too dumb.
  16.  
  17. 1.  When compiling GDEVXINI.C and GDEVX.C, the following error occurs:
  18.  
  19. YOGI$DUA0:[SYS0.SYSCOMMON.][decw$include]Intrinsic.h:84: #include expects
  20. "fname" or <fname>
  21.  
  22. So, after tracking down the problem, I find the following line in
  23. decw$include:intrinsic.h:
  24.  
  25. #include     types
  26.  
  27. What should this line be?  There is no "types" file in decw$include.
  28.  
  29. 2.  When compiling GP_VMS.C, the following error(s) occur:
  30.  
  31. gp_vms.c: In function gp_file_name_is_absolute:
  32. gp_vms.c:197: warning: assignment of non-const * pointer from const *
  33. gp_vms.c:198: invalid lvalue in unary `&'
  34. gp_vms.c:198: warning: argument passing between incompatible pointer types
  35. gp_vms.c: In function gp_enumerate_files_init:
  36. gp_vms.c:276: conflicting types for `gp_enumerate_files_init'
  37. gp.h:125: previous declaration of `gp_enumerate_files_init'
  38.  
  39. Looking at the two routines, gp_file_name_is_absolute and
  40. gp_enumerate_files_init, I find them defined as follows:
  41.  
  42. int
  43. gp_file_name_is_absolute(const char *fname, uint len)
  44.  
  45. file_enum *
  46. gp_enumerate_files_init(const char *pat, uint patlen)
  47.  
  48. Whats wrong with these?
  49.  
  50. Sorry for the dumb questions.  I have tried to the best of my abilites to get
  51. this to work but I'm unable to get any further without some help.  Like I said
  52. before, I'm not familiar with C.  Thanks in advance for any help.
  53.  
  54. :byron
  55. ________________________________________________________________________
  56. Byron Draudson, Systems Manager               byron@yogi.hsc.ucalgary.ca
  57. Radiology, Foothills Hospital, Calgary, Alberta, Canada   (403) 670-2442
  58.  
  59.  
  60.