Problem compiling egcs-1.1.2

Lee-Thorp, Andrew ALee-Thorp@ndsuk.com
Fri Sep 24 15:14:00 GMT 2004


Using,

Linux 2.4.21-4
(Red Hat Linux Version 3.2.3-20)
glibc-2.3.2-95.3
gcc version 3.2.3
(compat-glibc-6.2-2.1.3.2 not sure if this is what I needed)

After running make bootstrap I get several errors (below).

I've seen a thread on this topic (http://gcc.gnu.org/ml/gcc-help/2001-05/msg00223.html) and reference to GCC 2.95.3 being earlier being incompatible with glibc 2.2.

I gather this refers to http://gcc.gnu.org/install/specific.html#*-*-linux-gnu

I've run configure with and without --with-gxx-include-dir=/usr/i386-glibc21-linux/include (location where compat-glibc-6.2-2.1.3.2 installed).

Is this an error building the libraries or the compiler ? Can somebody help me out. Thanks in advance.

Andrew


  /home/andrew/obj/egcs-1.2.2/gcc/xgcc -B/home/andrew/obj/egcs-1.2.2/gcc/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../../src/egcs-1.1.2/libio -nostdinc++ -D_IO_MTSAFE_IO  ../../../../src/egcs-1.1.2/libio/indstream.cc -o pic/indstream.o
/home/andrew/obj/egcs-1.2.2/gcc/xgcc -B/home/andrew/obj/egcs-1.2.2/gcc/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../../src/egcs-1.1.2/libio -nostdinc++ -D_IO_MTSAFE_IO ../../../../src/egcs-1.1.2/libio/indstream.cc
../../../../src/egcs-1.1.2/libio/indstream.cc: In method `struct streampos indirectbuf::seekoff(streamoff, enum _seek_dir, int = 3)':
../../../../src/egcs-1.1.2/libio/indstream.cc:82: `struct streampos' used where a `int' was expected
../../../../src/egcs-1.1.2/libio/indstream.cc:85: `struct streampos' used where a `int' was expected
../../../../src/egcs-1.1.2/libio/indstream.cc:87: `struct streampos' used where a `int' was expected
../../../../src/egcs-1.1.2/libio/indstream.cc:89: conversion from `int' to non-scalar type `streampos' requested
../../../../src/egcs-1.1.2/libio/indstream.cc: In method `struct streampos indirectbuf::seekpos(struct streampos, int = 3)':
../../../../src/egcs-1.1.2/libio/indstream.cc:99: `struct streampos' used where a `int' was expected
../../../../src/egcs-1.1.2/libio/indstream.cc:102: `struct streampos' used where a `int' was expected
../../../../src/egcs-1.1.2/libio/indstream.cc:104: `struct streampos' used where a `int' was expected
../../../../src/egcs-1.1.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/andrew/obj/egcs-1.2.2/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/home/andrew/obj/egcs-1.2.2'
make: *** [bootstrap-lean] Error 2
=======================================================
 Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by email to postmaster@ndsuk.com and destroy the original message.



More information about the Gcc-help mailing list