[ba.windows.x] HELP in getting INTERVIEWS to work on Sparc

rsi@esl.ESL.COM (Rich S. Ishikawa) (12/08/90)

I'm having problems building Interviews on X11R4 on a sparc.  I've tried to
compile Interviews using both g++-1.37.1 and g++-.135, and both compiles
result in similar error.  The errors are as follows:

-------------------------------------

g++ -w -fchar-charconst -fstrength-reduce -fsave-memoized -c  -O   -I.. -I../Generated -I../../.././src -I../../.././src/InterViews/Std   ../X11.c
../../.././src/InterViews/X11/Xlib.h:212: conflicting types for `void XCloseDisplay (struct _XDisplay *)'
../../.././src/InterViews/X11/Xlib.h:221: conflicting types for `void XSetScreenSaver (struct _XDisplay *, int, int, int, int)'
../../.././src/InterViews/X11/Xlib.h:222: conflicting types for `void XForceScreenSaver (struct _XDisplay *, int)'
../../.././src/InterViews/X11/Xlib.h:223: conflicting types for `void XActivateScreenSaver (struct _XDisplay *)'
../../.././src/InterViews/X11/Xlib.h:224: conflicting types for `void XResetScreenSaver (struct _XDisplay *)'
../../.././src/InterViews/X11/Xlib.h:227: conflicting types for `void XGetScreenSaver (struct _XDisplay *, int *, int *, int *, int *)'
../../.././src/InterViews/X11/Xlib.h:229: conflicting types for `void XAddHost (struct _XDisplay *, struct $_9 *)'
../../.././src/InterViews/X11/Xlib.h:230: conflicting types for `void XAddHosts (struct _XDisplay *, struct $_9 *, int)'
../../.././src/InterViews/X11/Xlib.h:232: conflicting types for `void XRemoveHost (struct _XDisplay *, struct $_9 *)'

........ etc .......


../../.././src/InterViews/X11/Xutil.h:60: conflicting types for `void XSetWMHints (struct _XDisplay *, long unsigned int, struct $_62 *)'
../../.././src/InterViews/X11/Xutil.h:101: conflicting types for `int XReadBitmapFile (struct _XDisplay *, long unsigned int, const char *, int *, int *, long unsigned int *, int *, int *)'
../../.././src/InterViews/X11/Xutil.h:104: conflicting types for `void XSetErrorHandler (auto void (*)(struct _XDisplay *,struct $_51 *))'
../../.././src/InterViews/X11/Xutil.h:105: conflicting types for `void XGetErrorText (struct _XDisplay *, int, char *, int)'
In method void Painter::Clip (struct Canvas *, int, int, int, int):
../X11.c:1143: storage size of `r' isn't known
../X11.c:1147: `r' was not declared (first use this function)
../X11.c:1147: (Each undeclared identifier is reported only once
../X11.c:1147: for each function it appears in.)
In method void World::FinishInit ():
../X11.c:3260: structure has no member named `CC_class'
*** Error code 1
make: Warning: Target `all' not remade because of errors
Current working directory /usr/dcsa/tae_plus/IV_2.5/iv/src/libInterViews/sparc
making all in libgraphic
making all in sparc
making all in libtext
making all in sparc
making all in bin
making all in idraw
making all in sparc
make: Fatal error: Don't know how to make target `../../../.././src/libgraphic/SUN4/libgraphic.a'
Current working directory /usr/dcsa/tae_plus/IV_2.5/iv/src/bin/idraw/sparc

Fri Dec  7 18:41:57 PST 1990

Build of InterViews 2.5 complete.


--- cut -----------------------------------


If any of you have any clues on how to fix this please let me know.
This build is for actually preliminary for the installation of TAE.
I pretty sure the environment is configured properly for the Sparc.
I have a path the Sun4 imake, did a setenv CPU sparc, after I
did a "make bootstrap".  After doing the "make World", I've been getting
these errors.  


                                  Thanks,

                                   Rich


-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
-*-*-* Richard S. Ishikawa -*-*-*-*-*-\    "Don't have a cow man!"    /*-*-*-*-
-*-*-*-*-*-* rsi@esl.ESL.COM -*-*-*-*-*-\         -Bart Simpson     /*-*-*-*-*-
-* ESL Incorporated, 495 Java Drive, Sunnyvale, CA 94088 (408)738-2888 x4530 *-
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-