This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Installation problem with gcc 2.95
- To: "'Pipin, Janusz'" <Janusz dot Pipin at nrc dot ca>, "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: RE: Installation problem with gcc 2.95
- From: David Korn <dkorn at pixelpower dot com>
- Date: Wed, 14 Mar 2001 17:10:30 -0000
>-----Original Message-----
>From: Pipin, Janusz [mailto:Janusz.Pipin@nrc.ca]
>Sent: 14 March 2001 16:11
>On my workstation I've installed Linux version 7.0 and gcc installed is
>2.96-54, however what I need is gcc version 2.95. I am getting
>the following error messages from make bootstrap:
>
>make[2]: *** [indstream.o] Error 1
>make[2]: Leaving directory
>`/home/jpipin/gcc/gcc_object/i686-pc-linux-gnu/libio'
>make[1]: *** [all-target-libio] Error 2
>make[1]: Leaving directory `/home/jpipin/gcc/gcc_object'
>make: *** [bootstrap] Error 2
Unfortunately you trimmed your output too soon, and haven't shown the
actual error. Something went wrong during the compilation of indstream.cc
but all you've shown us is the make process noticing that it went wrong
and aborting. We need a bit more context!
However I'll take a quick guess, because this looks like a FAQ: you are
trying to build gcc 2.95.2 on a system that has glibc 2.2 installed, and
the error message you are getting is something like
struct streampos used where a 'int' was expected
and you this is because glibc 2.2 is not quite backwardly compatible with
gcc 2.95.2; you will need to get the patch referred to here:
http://gcc.gnu.org/install/specific.html#*-*-linux-gnu
and apply it to the gcc / libio sources.
DaveK
--
All your base are belong to us!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************