EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Installing epics on Sun Solaris
From: "John A. Priller" <[email protected]>
To: "'john sinclair'" <[email protected]>, "'tech talk'" <[email protected]>
Date: Wed, 10 Mar 1999 07:38:53 -0500
I'm using EPICS R3.13.1 on Sun Solaris 2.6 w/gcc 2.8.1, and I had that same
"internal compiler error" message in exactly the same place.  I got around
it by manually compiling gdd.cc without optimization (that long string of
arguments, minus the -O flag) and moving the resultant gdd.o file to my
O.solaris subdirectory.  I haven't actually tried using gdd on the Sun, so I
don't know if that's a completely valid work-around, but I was able to
finish the build.

If anyone's curious, I did a little tinkering with the gdd code while I was
trying to find the problem, and it seems to result from gdd::init (and
gdd::setDimension) casting a pointer to gddBounds1D (or 2D, 3D) to a pointer
to gddBounds.  At least commenting out those lines kept the error from
occuring.

--
John A. Priller            | Phone : (517) 333-6375
MSU Cyclotron Laboratory   | Fax   : (517) 353-5967
South Shaw Lane            | Email : [email protected]
East Lansing, MI 48824     | Web   : http://prille.nscl.msu.edu/jp.html

> -----Original Message-----
> From: john sinclair [mailto:[email protected]]
> Sent: Tuesday, March 09, 1999 6:05 PM
> To: tech talk
> Subject: Installing epics on Sun Solaris
>
>
> I just got my new Solaris machine going and attempted the
> EPICS R3.13.1
> install.
>
> All my GNU tools were downloaded in binary form from a Sun site.
>
> Environment vars:
>
> EPICS_BASE=/epics/base
> HOST_ARCH=solaris
>
> I do this:
>
>   cd /epics/base
>   make
>
> I get this:
>
>   make -C src  inc
>   make[1]: Entering directory `/space/epics/base/src'
>   make -C tools  inc
>   make[2]: Entering directory `/space/epics/base/src/tools'
>   /usr/bin/perl  ../../bin/solaris/makeMakefile.pl O.solaris Host
>   Can't open perl script "../../bin/solaris/makeMakefile.pl":
> No such file or directory
>   make[2]: *** [O.solaris] Error 2
>   make[2]: Leaving directory `/space/epics/base/src/tools'
>   make[1]: *** [tools.inc] Error 2
>   make[1]: Leaving directory `/space/epics/base/src'
>   make: *** [src.inc] Error 2
>
> This must be a simple problem. Any suggestions?
>
>
>
> To get things to go a little farther, I manually created
> bin/solaris and copied the perl scripts.
>
> Then I do this:
>
>   cd /epics/base
>   make
>
> I get this:
>
>     .
>     .
>     .
>
> Entering directory `/space/epics/base/src/gdd/O.solaris'
> ../../../config/RULES.Host:461: target `../../../javalib'
> given more than once in the same rule.
> /usr/local/bin/g++ -ansi -pedantic -Wtraditional -O  -Wall
> -Wmissing-prototypes -Woverloaded-virtual -Wwrite-strings
> -Wconversion -Wstrict-prototypes -Wpointer-arith -Winline
> -DSOLARIS   -DUNIX  -DEXPL_TEMPL -I. -I..
> -I../../../include -I../../../incl
> ude/os/solaris  -fPIC   -c   ../genApps.cc
> /usr/local/bin/g++ -ansi -pedantic -Wtraditional -O  -Wall
> -Wmissing-prototypes -Woverloaded-virtual -Wwrite-strings
> -Wconversion -Wstrict-prototypes -Wpointer-arith -Winline
> -DSOLARIS   -DUNIX  -DEXPL_TEMPL -I. -I..
> -I../../../include -I../../../incl
> ude/os/solaris  -fPIC   -c   ../gdd.cc
> ../gdd.cc: In method `void gdd::init(int, enum aitEnum, int)':
> ../gdd.cc:189: Internal compiler error.
> ../gdd.cc:189: Please submit a full bug report to
> `[email protected]'.
> make[3]: *** [gdd.o] Error 1
> make[3]: Leaving directory `/space/epics/base/src/gdd/O.solaris'
> make[2]: *** [inc.solaris] Error 2
> make[2]: Leaving directory `/space/epics/base/src/gdd'
> make[1]: *** [gdd.inc] Error 2
> make[1]: Leaving directory `/space/epics/base/src'
> make: *** [src.inc] Error 2
>
>
> So is my g++ compiler version not compatible?
>
> g++ -v gives:
>
> Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1/specs
> gcc version 2.8.1
>
>
> John Sinclair
> [email protected]
> Oak Ridge National Lab
> 423-576-6362   423-574-1268 (fax)
>
>


Replies:
Re: Installing epics on Sun Solaris Guy Jennings
References:
Installing epics on Sun Solaris john sinclair

Navigate by Date:
Prev: Installing epics on Sun Solaris john sinclair
Next: Re: Installing epics on Sun Solaris Guy Jennings
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Installing epics on Sun Solaris john sinclair
Next: Re: Installing epics on Sun Solaris Guy Jennings
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·