[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: installation problems on sun network
From: |
Paul Box |
Subject: |
Re: installation problems on sun network |
Date: |
Thu, 29 Apr 1999 13:21:40 -0600 (MDT) |
Marcus G. Daniels writes:
> >>>>> "PB" == Paul Box <address@hidden> writes:
>
> PB> ../tkobjc/Pixmap.h:23: parse error before `XpmImage'
>
> Huh. Can you find XpmImage in your xpm.h? For that matter, where
> do you have Xpm installed? (The only explicit include paths are
> /usr/openwin/include and /auto/d2/gnu/include.)
>
I have xpm.h installed at /auto/d2/gnu/include/xpm.h
In xpm.h I have the following definition:
typedef struct {
unsigned int width; /* image width */
unsigned int height; /* image height */
unsigned int cpp; /* number of characters per pixel */
unsigned int ncolors; /* number of colors */
XpmColor *colorTable; /* list of related colors */
unsigned int *data; /* image data */
} XpmImage;
> If you compile with "make CPPFLAGS=-E ArchivedGeometryWidget.lo"
> (after deleting ArchivedGeometryWidget.lo), the data in the .lo
> file with be preprocessor output, and from that you can see
> where XpmImage is defined or not.
>
Here is the output of that command:
torridon{sanduku}215: make CPPFLAGS="-E ArchivedGeometryWidget.lo" | grep
XpmImage
gcc: ArchivedGeometryWidget.lo: No such file or directory
XpmImage xpmimage;
make[4]: *** [ArchivedGeometryWidget.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
So apparantly, XpmImage is declared in xpm.h, and recognized in
ArchivedGeometryWidget.h (through its inclusion of Pixmap.h).
So, I'm stumped. Any ideas?
--
//////////////////////////////////////////////////
// Dr. Paul Box
// Dept of Geography and Earth Resources
// UMC 5240
// Utah State University http://www.nr.usu.edu/~sanduku
// Logan, UT 84321 Phone: 435-797-2546
//////////////////////////////////////////////////
* If Elvis was so great, why was he buried in the back yard like a
* hamster?
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.