compile gcc-2.95.2 faile

liutx liutx@mail.yestock.com
Wed Jan 3 21:15:00 GMT 2001




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.



More information about the Gcc-help mailing list