home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!pmafire!mica.inel.gov!lcy
- From: lcy@inel.gov (Jeffrey Lacy)
- Subject: Compiling Xpaint2 on DECstation
- Message-ID: <1993Jan22.231740.20808@inel.gov>
- Keywords: Xpaint
- Sender: (null)@(null) ((null))
- Organization: Idaho National Engineering Laboratory, Idaho Falls, Idaho
- Date: Fri, 22 Jan 93 23:17:40 GMT
- Lines: 69
-
- Hi--
- I'm having a bit of a problem compiling xpaint.
- I got xpaint2pl2.tar.Z from export.lcs.mit.edu and tried to compile it
- on my DECstation 5000 running ultrix. My only edits to the makefile were
- to change the BINDIR AND MANDIR. Any ideas what I need to do? I was really
- exited to to see a paint program, since I've been looking for one for quite
- a while. I hope we can get this to work. As a data point, I have already
- loaded and used xv-2.21 and the pbmplus utilities. They compiled ok.
-
-
-
-
- wcd511.60 ~/X_stuff/xpaint => make
- cc -O -c main.c
- ccom: Error: ./xpaint.h, line 95: syntax error
- extern void StdSaveFile(Widget, XtPointer, XtPointer);
- ----------------------------------------------^
- ccom: Error: ./xpaint.h, line 95: function declaration in bad context
- extern void StdSaveFile(Widget, XtPointer, XtPointer);
- -----------------------------------------------------------^
- ccom: Error: ./xpaint.h, line 96: illegal storage class, only register permitted
- extern void StdSaveRegionFile(Widget, XtPointer, XtPointer);
- -----^
- ccom: Error: ./xpaint.h, line 96: syntax error
- extern void StdSaveRegionFile(Widget, XtPointer, XtPointer);
- ----------------------------------------------------^
- ccom: Error: ./xpaint.h, line 96: function declaration in bad context
- extern void StdSaveRegionFile(Widget, XtPointer, XtPointer);
- -----------------------------------------------------------------^
- ccom: Error: main.c, line 25: illegal storage class, only register permitted
- static char *appDefaults[] = {
- -----^
- ccom: Error: main.c, line 25: redeclaration of (null)
- static char *appDefaults[] = {
- ---------------------------^
- ccom: Warning: ./XPaint.ad.h, line 1: illegal pointer combination
- "XPaint*Font: *times-bold-r-normal--14*",
- -----------------------------------------^
- (ccom): ./XPaint.ad.h, line 2: cannot recover from earlier errors: goodbye!
- "XPaint*paint.undoSize: 1",
- ------------------------------------^
- *** Error code 1
-
- Stop.
-
-
-
- If anyone has compiled this on a DECstation, or knows what my problem is,
- I'd sure be greatful for a tip!!
-
- PS: The author is out of town and will not be for a while.
-
-
- Jeff Lacy
- lcy@inel.gov
-
-
- ========== long legal disclaimer follows, press n to skip ===========
-
- Neither the United States Government or the Idaho National Engineering
- Laboratory or any of their employees, makes any warranty, whatsoever,
- implied, or assumes any legal liability or responsibility regarding any
- information, disclosed, or represents that its use would not infringe
- privately owned rights. No specific reference constitutes or implies
- endorsement, recommendation, or favoring by the United States
- Government or the Idaho National Engineering Laboratory. The views and
- opinions expressed herein do not necessarily reflect those of the
- United States Government or the Idaho National Engineering Laboratory,
- and shall not be used for advertising or product endorsement purposes.
-