This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs install - solaris2.5.1 keeps bombing
- To: egcs-bugs at cygnus dot com
- Subject: egcs install - solaris2.5.1 keeps bombing
- From: jaffe at cpthree dot unl dot edu
- Date: Wed, 6 Jan 1999 12:55:09 -0600
Yesterday I succesfully installed egcs-1.1.1 on a linux laptop with no
problems. Unfortunately, I'm also trying to install under
sparc-sun-solaris2.5.1 (Sun Ultra 1), where I encounter one problem after
another. Here they are. Can anyone suggest what should be done?
I put the source in /usr/local as egcs-1.1.1. I also put the libg++ stuff
in there too (as per the instructions if you want libg++.)
I created a directory egcs-1.1.1-build and cd'ed to it. Then I
configured.
PROBLEM 1. I did "make bootstrap". The make file bombed when it couldn't find
math.h. Here is the tail end of the make output.
/usr/local/egcs-1.1.1/libiberty/floatformat.c:21: math.h: No such file or directory
make[2]: *** [floatformat.o] Error 1
make[2]: Leaving directory `/usr/local/egcs-1.1.1-build/sparc-sun-solaris2.5.1/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/usr/local/egcs-1.1.1-build'
make: *** [bootstrap] Error 2
After that happened, I decided that each time I tried, I would clear the
build directory, configure, and edit Makefile, adding
-I/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include to CFLAGS.
This makes sure that the compiler will find math.h.
I don't think this is "correct", but I couldn't figure out how else to work
around the problem.
PROBLEM 2. This time I did make again (actually "make bootstrap-lean"), and
encountered another problem. Here is the tail end of the make output:
/usr/local/egcs-1.1.1/gcc/objc/sarray.c:492: request for member `version' in som
ething not a structure or union
make[2]: *** [objc/sarray.o] Error 1
make[2]: Leaving directory `/usr/local/egcs-1.1.1-build/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/local/egcs-1.1.1-build/gcc'
make: *** [bootstrap-lean] Error 2
Note that this is a problem in the compilation of objective C, which as it
happens, I don't care about.
PROBLEM 3. This time I did make again (actually "make LANGUAGES="c c++") and
encountered another problem. Here is the tail end of the make output:
/usr/local/egcs-1.1.1/libio/isscan.cc:34: no matching function for call to `streambuf::vscan (const char *&, void *&, istream *)'
/usr/local/egcs-1.1.1/libio/streambuf.h:403: candidates are: streambuf::vscan(const char *, char *, ios *)
make[1]: *** [isscan.o] Error 1
make[1]: Leaving directory `/usr/local/egcs-1.1.1-build/sparc-sun-solaris2.5.1/libio'
make: *** [all-target-libio] Error 2
---------------
HELP!!!!!
David Jaffe
Dept. of Math. and Stat.
University of Nebraska - Lincoln
e-mail: jaffe@cpthree.unl.edu