home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14131 < prev    next >
Encoding:
Text File  |  1993-01-23  |  3.3 KB  |  81 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!pmafire!mica.inel.gov!lcy
  3. From: lcy@inel.gov (Jeffrey Lacy)
  4. Subject: Compiling Xpaint2 on DECstation
  5. Message-ID: <1993Jan22.231740.20808@inel.gov>
  6. Keywords: Xpaint
  7. Sender: (null)@(null) ((null))
  8. Organization: Idaho National Engineering Laboratory, Idaho Falls, Idaho
  9. Date: Fri, 22 Jan 93 23:17:40 GMT
  10. Lines: 69
  11.  
  12. Hi--
  13. I'm having a bit of a problem compiling xpaint.
  14. I got xpaint2pl2.tar.Z from export.lcs.mit.edu and tried to compile it
  15. on my DECstation 5000 running ultrix.  My only edits to the makefile were
  16. to change the BINDIR AND MANDIR.  Any ideas what I need to do?  I was really
  17. exited to to see a paint program, since I've been looking for one for quite
  18. a while.  I hope we can get this to work.  As a data point, I have already
  19. loaded and used xv-2.21 and the pbmplus utilities.  They compiled ok.
  20.  
  21.  
  22.  
  23.  
  24. wcd511.60 ~/X_stuff/xpaint => make
  25. cc -O -c main.c
  26. ccom: Error: ./xpaint.h, line 95: syntax error
  27.       extern void       StdSaveFile(Widget, XtPointer, XtPointer);
  28.       ----------------------------------------------^
  29. ccom: Error: ./xpaint.h, line 95: function declaration in bad context
  30.       extern void       StdSaveFile(Widget, XtPointer, XtPointer);
  31.       -----------------------------------------------------------^
  32. ccom: Error: ./xpaint.h, line 96: illegal storage class, only register permitted
  33.       extern void       StdSaveRegionFile(Widget, XtPointer, XtPointer);
  34.       -----^
  35. ccom: Error: ./xpaint.h, line 96: syntax error
  36.       extern void       StdSaveRegionFile(Widget, XtPointer, XtPointer);
  37.       ----------------------------------------------------^
  38. ccom: Error: ./xpaint.h, line 96: function declaration in bad context
  39.       extern void       StdSaveRegionFile(Widget, XtPointer, XtPointer);
  40.       -----------------------------------------------------------------^
  41. ccom: Error: main.c, line 25: illegal storage class, only register permitted
  42.       static char *appDefaults[] = {
  43.       -----^
  44. ccom: Error: main.c, line 25: redeclaration of (null)
  45.       static char *appDefaults[] = {
  46.       ---------------------------^
  47. ccom: Warning: ./XPaint.ad.h, line 1: illegal pointer combination
  48.       "XPaint*Font:  *times-bold-r-normal--14*",
  49.       -----------------------------------------^
  50. (ccom): ./XPaint.ad.h, line 2: cannot recover from earlier errors: goodbye!
  51.       "XPaint*paint.undoSize:           1",
  52.       ------------------------------------^
  53. *** Error code 1
  54.  
  55. Stop.
  56.  
  57.  
  58.  
  59. If anyone has compiled this on a DECstation, or knows what my problem is,
  60. I'd sure be greatful for a tip!!
  61.  
  62. PS:  The author is out of town and will not be for a while.
  63.  
  64.  
  65. Jeff Lacy
  66. lcy@inel.gov
  67.  
  68.  
  69. ========== long legal disclaimer follows, press n to skip ===========
  70.  
  71. Neither the United States Government or the Idaho National Engineering
  72. Laboratory or any of their employees, makes any warranty, whatsoever,
  73. implied, or assumes any legal liability or responsibility regarding any
  74. information, disclosed, or represents that its use would not infringe
  75. privately owned rights.  No specific reference constitutes or implies
  76. endorsement, recommendation, or favoring by the United States
  77. Government or the Idaho National Engineering Laboratory.  The views and
  78. opinions expressed herein do not necessarily reflect those of the
  79. United States Government or the Idaho National Engineering Laboratory,
  80. and shall not be used for advertising or product endorsement purposes.
  81.