Problem in make

Satya satya@ittc.ku.edu
Wed Oct 30 11:53:00 GMT 2002


Hi,
 I am getting the following error when i do a make for gcc-2.95.2

  /projects/BERT/gcc-2.95.2/gcc/xgcc -B/projects/BERT/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
/projects/BERT/gcc-2.95.2/gcc/xgcc -B/projects/BERT/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'
requestedmake[1]: *** [indstream.o] Error 1
make[1]: Leaving directory
`/projects/BERT/gcc-2.95.2/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2

Couls anyone help me figure out why this is happening.

Thanks,
Satya



More information about the Gcc-help mailing list