public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling gcc-2.95.2
@ 2001-02-19 22:47 Agung Yogaswara
  0 siblings, 0 replies; 3+ messages in thread
From: Agung Yogaswara @ 2001-02-19 22:47 UTC (permalink / raw)
  To: gcc-help

Dear all,

I encounter this error while compiling gcc-2.95.2 on my system:
- Red Hat 7.0 with kernel version 2.3.4
- gcc 2.95.2 installed (i would like to enable threads option)
- configure with: configure --enable-threads

here the error messages:
/usr/local/src/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
/usr/local/src/gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to
non-scalar type `streampos' requested
/usr/local/src/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
/usr/local/src/gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to
non-scalar type `streampos' requested
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory `/tmp/i586-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/tmp'
make: *** [bootstrap-lean] Error 2

I have no problem when compiling on other system:
Red Hat 6.0 with kernel 2.2.15 and egcs-2.95.x installed

Any help would be appreciated.
Thanks


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

* Re: compiling gcc-2.95.2
  2001-02-18 20:09 Agung Yogaswara
@ 2001-02-19 22:20 ` Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2001-02-19 22:20 UTC (permalink / raw)
  To: Agung Yogaswara; +Cc: gcc-help

On Feb 19, 2001, Agung Yogaswara <azung@xerxes.intern.trabas.com> wrote:

> I encounter this error while compiling gcc-2.95.2 on my system:
> - Red Hat 7.0 with kernel version 2.3.4

Red Hat 7 comes with glibc 2.2 (actually, it comes with a pre-release
of glibc 2.2, but I hope you've already installed the updates for 2.2
:-)

This version of glibc is incompatible with some header files in gcc
2.95.2.  There's a patch for GCC in the platform-specific installation
instructions that enables compatibility with glibc 2.2.  Look for it
at gcc.gnu.org.

-- 
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

* compiling gcc-2.95.2
@ 2001-02-18 20:09 Agung Yogaswara
  2001-02-19 22:20 ` Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Agung Yogaswara @ 2001-02-18 20:09 UTC (permalink / raw)
  To: gcc-help

Dear all,

I encounter this error while compiling gcc-2.95.2 on my system:
- Red Hat 7.0 with kernel version 2.3.4
- gcc 2.95.2 installed (i would like to enable threads option)
- configure with: configure --enable-threads

here the error messages:
/usr/local/src/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
/usr/local/src/gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to
non-scalar type `streampos' requested
/usr/local/src/gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
/usr/local/src/gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used
where a `int' was expected
/usr/local/src/gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to
non-scalar type `streampos' requested
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory `/tmp/i586-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/tmp'
make: *** [bootstrap-lean] Error 2

I have no problem when compiling on other system:
Red Hat 6.0 with kernel 2.2.15 and egcs-2.95.x installed

Any help would be appreciated.
Thanks


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

end of thread, other threads:[~2001-02-19 22:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-19 22:47 compiling gcc-2.95.2 Agung Yogaswara
  -- strict thread matches above, loose matches on Subject: below --
2001-02-18 20:09 Agung Yogaswara
2001-02-19 22:20 ` 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).