This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
compiling gcc-2.95.2
- To: gcc-help at gcc dot gnu dot org
- Subject: compiling gcc-2.95.2
- From: Agung Yogaswara <azung at trabas dot com>
- Date: Tue, 20 Feb 2001 13:47:05 +0700
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