From: roberts@studguppy.lanl.gov (Doug Roberts)
Subject: IV3.1 beta3 build problems, Sun SPARC & gcc2.2.2
Organization: Technology Modeling and Analysis, LANL-A7
Date: Wed, 30 Sep 1992 19:17:56 GMT

Hello, all.

System: Sun SPARC, SunOS4.1.1, X11R5PL17, gcc2.2.2

There are a number of errors & warnings when building this version;

Ex:

making all for SUN4 in ./src/lib/IV/SUN4
g++     -Dcplusplus_2_1  -DNOSTDHDRS -DX_WCHAR -DX_LOCALE   -I../../../.././src/include   -pipe -c ../../InterViews/align.c
In file included from ../../../.././src/include/InterViews/layout.h:35, from ../../../.././src/include/InterViews/align.h:32, from ../../InterViews/align.c:29:
../../../.././src/include/InterViews/scrbox.h:80: request for member `impl_' is ambiguous
*** Error code 1

And:

g++     -Dcplusplus_2_1  -DNOSTDHDRS -DX_WCHAR -DX_LOCALE   -I../../../.././src/include   -pipe -c ../viewer.c
make: Warning: Target `all' not remade because of errors
Current working directory /site/src/Interviews3.1b3/iv/src/lib/Unidraw/SUN4
making all for SUN4 in ./src/lib/app-defaults
making all for SUN4 in ./src/lib/doc-samples
making all for SUN4 in ./src/lib/drawings
making all for SUN4 in ./src/lib/ibuild-samples
making all for SUN4 in ./src/lib/ibuild-samples/Clock
making all for SUN4 in ./src/lib/ibuild-samples/Grapher
making all for SUN4 in ./src/lib/ibuild-samples/Meter
making all for SUN4 in ./src/lib/ibuild-samples/Pie
making all for SUN4 in ./src/lib/ibuild-samples/Punidraw
making all for SUN4 in ./src/lib/ibuild-samples/Sted
making all for SUN4 in ./src/lib/ibuild-samples/VMouse
making all for SUN4 in ./src/lib/ibuild-samples/VWork
making all for SUN4 in ./src/lib/images
making all for SUN4 in ./src/lib/logos
making all for SUN4 in ./src/lib/styles
making all for SUN4 in ./src/bin
making all for SUN4 in ./src/bin/alert
making all for SUN4 in ./src/bin/alert/SUN4
make: Warning: Don't know how to make target `../../../.././src/lib/IV/SUN4/libIV.a'
Current working directory /site/src/Interviews3.1b3/iv/src/bin/alert/SUN4
g++     -Dcplusplus_2_1  -DNOSTDHDRS -DX_WCHAR -DX_LOCALE   -I../../../.././src/include   -pipe -c ../main.c
In file included from ../../../.././src/include/InterViews/layout.h:35, from ../main.c:32:
../../../.././src/include/InterViews/scrbox.h:80: request for member `impl_' is ambiguous
*** Error code 1
make: Warning: Target `all' not remade because of errors


Here is the pertainent part of my local.def file (X is in the standard place):

 */
#ifndef KitFlags
#define KitFlags \
-Dmotif_kit \
-Dsgi_motif_kit \
-Dopenlook_kit \
-Dbw_kit \
-Ddefault_kit=SMFKit
#endif

/*
 * If you are using g++, define BuildRPCClasses to NO.
 */
#if defined(SGIArchitecture) || defined(SunArchitecture)
#undef BuildRPCClasses
#define BuildRPCClasses NO
#endif

/*
 * Delete this definition if your /tmp space is less than five megabytes.
 */
#undef HasLargeTmp
#define HasLargeTmp YES

/*
 * If you do not want to create a symbolic link called "/interviews"
 * that points at /..../iv/installed, you should replace /interviews
 * below with the name of the symbolic link you do want to use (say,
 * /usr/local/interviews).  If you don't want to create a symbolic
 * link at all, replace /interviews with the absolute pathname of
 * /..../iv/installed so InterViews applications still can find the
 * installed data files.
 */
#undef InstalledRoot
#define InstalledRoot /interviews

/*
 * If the X11 config files are not in /usr/lib/X11/config, the X11
 * includes are not in /usr/include, or the X11 libraries are not in
 * /lib, /usr/lib, or /usr/local/lib, then you should specify their
 * actual locations here.
 *
 * If you have to set XConfigDir, don't forget to override XCONFIGDIR
 * on the command line when saying "make World" for the first time.
 */

#define DependCCFlags $(CCDEFINES) $(CCINCLUDES) -I/usr/local/lib/g++-include



Any suggestions?

--Doug
--

==================================================================
Douglas Roberts                |
Los Alamos National Laboratory | All good work is done in defiance
dzzr@lanl.gov                  |  of management. -- Bob Woodward
(505)667-4569                  |
==================================================================
Newsgroups: comp.windows.interviews