public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compile gcc-2.95.2 faile
@ 2001-01-03 23:36 liutx
  0 siblings, 0 replies; 3+ messages in thread
From: liutx @ 2001-01-03 23:36 UTC (permalink / raw)
  To: gcc-help




When I try to compile the gcc compiler I got the following 
error:
/root/gcc-2.95.2/./libio/indstream.cc:82: 'struct strampos' 
used where a 'int' was expected
/root/gcc-2.95.2/./libio/indstream.cc:85:'struct streampos' 
used where a 'int' was expectd
/root/gcc-2.95.2/./libio/indstream.cc:87: 'struct streampos' 
used where a 'int' was expected
/root/gcc-2.95.2/./libio/indstream.cc:89: conversion from 
'int' to non-scalar type 'streampos' requested
/root/gcc-2.95.2/./libio/indstream.cc: In method 'struct 
streampos' indirectbuf::seekpos(_G_fpos64_t,int = 3)':
/root/gcc-2.95.2/./libio/indstream.cc:99: 'struct streampos' 
used where a 'int' was expected
/root/gcc-2.95.2/./libio/indstream.cc:102: 'struct streampos' 
used where a 'int' was expected

/root/gcc-2.95.2/./libio/indstream.cc:104: 'struct streampos' 
used where a 'int' was expected

/root/gcc-2.95.2/./libio/indstream.cc:106: 'struct streampos' 
used where a 'int' was expected
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory '/gcccompile/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory '/gcccompile'
make: *** [bootstrap] Error 2
Please tell me solution. I used gcc-2.96 for 
redhat7.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile gcc-2.95.2 faile
  2001-01-03 21:15 liutx
@ 2001-01-04 11:15 ` Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2001-01-04 11:15 UTC (permalink / raw)
  To: liutx; +Cc: gcc-help

On Jan  4, 2001, "liutx" <liutx@mail.yestock.com> wrote:

> When I try to compile the gcc compiler I got the following error:

GCC 2.95.2 is incompatible with glibc 2.2.  You may download a patch
from the platform-specific installation instructions that is supposed
to fix this compatibility problem.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 3+ messages in thread

* compile gcc-2.95.2 faile
@ 2001-01-03 21:15 liutx
  2001-01-04 11:15 ` Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: liutx @ 2001-01-03 21:15 UTC (permalink / raw)
  To: gcc-help




When I try to compile the gcc compiler I got the following 
error:
/root/gcc-2.95.2/./libio/indstream.cc:82: 'struct strampos' 
used where a 'int' was expected
/root/gcc-2.95.2/./libio/indstream.cc:85:'struct streampos' 
used where a 'int' was expectd
/root/gcc-2.95.2/./libio/indstream.cc:87: 'struct streampos' 
used where a 'int' was expected
/root/gcc-2.95.2/./libio/indstream.cc:89: conversion from 
'int' to non-scalar type 'streampos' requested
/root/gcc-2.95.2/./libio/indstream.cc: In method 'struct 
streampos' indirectbuf::seekpos(_G_fpos64_t,int = 3)':
/root/gcc-2.95.2/./libio/indstream.cc:99: 'struct streampos' 
used where a 'int' was expected
/root/gcc-2.95.2/./libio/indstream.cc:102: 'struct streampos' 
used where a 'int' was expected

/root/gcc-2.95.2/./libio/indstream.cc:104: 'struct streampos' 
used where a 'int' was expected

/root/gcc-2.95.2/./libio/indstream.cc:106: 'struct streampos' 
used where a 'int' was expected
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory '/gcccompile/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory '/gcccompile'
make: *** [bootstrap] Error 2
Please tell me solution.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-04 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-03 23:36 compile gcc-2.95.2 faile liutx
  -- strict thread matches above, loose matches on Subject: below --
2001-01-03 21:15 liutx
2001-01-04 11:15 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).