This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trying to "downgrade" under RedHat 7.1


You need to apply Jakub Jelinek's patch to the 2.95.2 source tree before
compiling it.  See http://gcc.gnu.org/ml/gcc-patches/1999-12/msg00436.html


On Fri, Jul 06, 2001 at 09:20:37PM -0400, Benjamin Scherrey wrote:
> 	I know that this is unlikely to be a gcc fault since I've built gcc-2.95.2 
> countless times without incident but I'm asking here in hopes that someone 
> else has encountered the same problem. I just installed RedHat 7.1 on my new 
> Sony laptop (runs great) but I need to get binary/c++ source compatible gcc & 
> g++ running on it which means getting rid of the 2.95.6 creature that RedHat 
> provides and getting 2.95.2 on it which is what I run on my other boxes. (Its 
> gonna be a few months before we can move to 3.x.)
> 
> 	I do the normal ./<srcdir>/configure --enable-shared;make bootstrap from a 
> build directory but the build process breaks with the following messages:
> 
> ../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos 
> indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
> ../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where a 
> `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where a 
> `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where a 
> `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to 
> non-scalar type `streampos' requested
> ../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos 
> indirectbuf::seekpos(_G_fpos64_t, int = 3)':
> ../../../gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where a 
> `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used where a 
> `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used where a 
> `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to 
> non-scalar type `streampos' requested
> make[2]: *** [indstream.o] Error 1
> make[1]: *** [all-target-libio] Error 2
> make: *** [bootstrap] Error 2
> 
> 	Any ideas on what I should do? FWIW - RedHat 7.1 uname -a reports "Linux 
> bonzo.innoverse.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown"
> 
> 	thanx & later,
> 
> 		Ben Scherrey

-- 
Carlo Wood <carlo@alinoe.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]