This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compile gcc-2.95.2 faile


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]