Article View: comp.windows.interviews
Article #747Re: IV3.1 beta3 build problems, Sun SPARC & gcc2.2.2
From: mrs
Date: Mon, 05 Oct 1992 23:36
Date: Mon, 05 Oct 1992 23:36
110 lines
4943 bytes
4943 bytes
Yes, there are two different solutions. See pub/contrib/g++@interviews.stanford.edu for both of them. If you don't have ftp access, you will have to wait for the next release of gcc. In article <ROBERTS.92Sep30121756@studguppy.lanl.gov> you write: >System: Sun SPARC, SunOS4.1.1, X11R5PL17, gcc2.2.2 > >There are a number of errors & warnings when building this version; > >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 | >==================================================================
Technical Details
Message-ID:
<9210051636.aa22574@kithrup.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!KITHRUP.COM!mrsReferences:
<ROBERTS.92Sep30121756@studguppy.lanl.gov>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!KITHRUP.COM!mrs From: mrs@KITHRUP.COM Subject: Re: IV3.1 beta3 build problems, Sun SPARC & gcc2.2.2 Message-ID: <9210051636.aa22574@kithrup.com> Sender: mrs@kithrup.com Reply-To: Mike Stump <mrs@cygnus.com> Organization: Kithrup Enterprises, Ltd. References: <ROBERTS.92Sep30121756@studguppy.lanl.gov> Date: Mon, 5 Oct 1992 23:36:32 GMT Lines: 112