This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error with c++ libs on make
- To: gcc-help at gcc dot gnu dot org
- Subject: error with c++ libs on make
- From: edscott <edscott at imp dot mx>
- Date: Wed, 11 Oct 2000 12:41:23 -0500
- Reply-To: edscott at imp dot mx
system: redhat-7.0 linux
gcc version: 2.95.2
configured with --host=i686-pc-linux-gnu --enable-languages=c++
Problem:
Though I can get a working gcc when I compile without the c++ part, when I
try to get a gcc with c++ it will terminate without constructing the necesary
libraries. Any clues? This is what I get:
makefile command:
$/home/edscott/Desktop/gccobj/gcc/xgcc -B/home/edscott/Desktop/gccobj/gcc/
-B/usr/local/i686-glibc21-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -I. -I../../../gcc-2.95.2/libio
-nostdinc++ -D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/indstream.cc
result:
../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to
non-scalar type `streampos' requested
../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used where a
`int' was expected
../../../gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used where a
`int' was expected
../../../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
`/home/edscott/Desktop/gccobj/i686-glibc21-linux-gnu/libio'
-----------
Thanks for any help you may send my way.
edscott@imp.mx