swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble building swarm on solaris


From: Paul Box
Subject: Re: trouble building swarm on solaris
Date: Fri, 15 Jan 1999 23:55:44 -0700

Hi Marcus, thanks for the reply.

Your suggestion got rid of the warning message, but now I get a new
set of errors:

After incorporating the changes and typing "make":

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../collections -I./../defobj
-I./../objectbase -I.. -I./.. -I./../gui -I./../misc -I./../activity
-I./../tclobjc -I/usr/local/include -I/usr/local/include
-I/auto/d2/gnu/include -I/auto/d2/gnu/include -g -O2
-I/usr/openwin/include -Wno-import -c -fPIC -DPIC
ArchivedGeometryWidget.m
In file included from /usr/openwin/include/X11/Intrinsic.h:167,
                 from /usr/local/include/X11/xpm.h:20,
                 from internal.h:17,
                 from ArchivedGeometryWidget.m:6:
/usr/openwin/include/X11/Object.h:30: parse error before `Object'
In file included from internal.h:32,
                 from ArchivedGeometryWidget.m:6:
../tkobjc/Pixmap.h:23: parse error before `XpmImage'
make[3]: *** [ArchivedGeometryWidget.lo] Error 1
make[3]: Leaving directory `/auto/sanduku/swarm-1.3.1/src/tkobjc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/auto/sanduku/swarm-1.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/auto/sanduku/swarm-1.3.1'
make: *** [all-recursive-am] Error 2



Marcus G. Daniels writes:
 > >>>>> "PB" == Paul Box <address@hidden> writes:
 > 
 > PB> /usr/openwin/include/X11/Intrinsic.h:77: `String' redeclared as
 > PB> different kind of symbol
 > 
 > Does this fix it?
 > 
 > diff -c -r1.27 internal.h
 > *** internal.h       1998/12/12 05:35:03     1.27
 > --- internal.h       1999/01/16 00:31:10
 > ***************
 > *** 7,12 ****
 > --- 7,15 ----
 >   
 >   #define Colormap X11Colormap
 >   #define Pixmap X11Pixmap
 > + #define String X11String
 > + #define Widget X11Widget
 > + 
 >   #include <tk.h>
 >   #include <X11/Xlib.h>    // XColormap
 >   #include <X11/Xutil.h>  // ZoomRaster
 > ***************
 > *** 15,20 ****
 > --- 18,25 ----
 >   #endif
 >   #undef Pixmap
 >   #undef Colormap
 > + #undef String
 > + #undef Widget
 >   
 >   #include <png.h>
 >   
 > 
 >                   ==================================
 >    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.
 > 
 > 
-- 
//////////////////////////////////////////////////
// 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]