I have been hit very badly with this thing too. Just a guess: you can't
compile gcc 2.95.x anymore with glibc 2.2 . And even if you don't upgrade
gcc, you can never compile c++ programs using gcc 2.95.x .... better stick
to 2.96 for now.




On Fri, 6 Apr 2001, Jan Vicherek wrote:

> cd /tmp ; tar -xf gcc-2.95.2.tar.gz ; cd gcc-2.95.2 ; ./configure ; make
> ...
> /tmp/gcc-2.95.2/gcc/xgcc -B/tmp/gcc-2.95.2/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ 
>-c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ 
>-D_IO_MTSAFE_IO fstream.cc
> test x"no" != xyes || \
>   /tmp/gcc-2.95.2/gcc/xgcc -B/tmp/gcc-2.95.2/gcc/ 
>-B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE 
>-fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO  indstream.cc -o 
>pic/indstream.o
> /tmp/gcc-2.95.2/gcc/xgcc -B/tmp/gcc-2.95.2/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ 
>-c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ 
>-D_IO_MTSAFE_IO indstream.cc
> indstream.cc: In method `struct streampos indirectbuf::seekoff(long long int, 
>ios::seek_dir, int = 3)':
> indstream.cc:82: `struct streampos' used where a `int' was expected
> indstream.cc:85: `struct streampos' used where a `int' was expected
> indstream.cc:87: `struct streampos' used where a `int' was expected
> indstream.cc:89: conversion from `int' to non-scalar type `streampos' requested
> indstream.cc: In method `struct streampos indirectbuf::seekpos(_G_fpos64_t, int = 
>3)':
> indstream.cc:99: `struct streampos' used where a `int' was expected
> indstream.cc:102: `struct streampos' used where a `int' was expected
> indstream.cc:104: `struct streampos' used where a `int' was expected
> indstream.cc:106: conversion from `int' to non-scalar type `streampos' requested
> make[1]: *** [indstream.o] Error 1
> make[1]: Leaving directory `/tmp/gcc-2.95.2/i686-pc-linux-gnu/libio'
> make: *** [all-target-libio] Error 2


Reply via email to