My new gcc 3.1 uses old header files...
Carlos Rubio Nievas
crubion@cirsa.com
Mon Nov 25 06:19:00 GMT 2002
I have successfully built and installed GCC. I have some compilation errors
that I hadn't with the 2.96 version so now I can't compile my program having
done no changes. Here's the output:
========================================================================
gcc -g -Werror -Werror -I- -I. -I/usr/local/include -I/usr/local/include/SDL
-I/work/development/bola/interface -I/usr/local/include/freetype
-I/work/development/bola/sys -I/work/development/bcs4/sys
-I/work/development/bcs4/tcp -I/work/development/bcs4/core
-I/work/development/utils/video -c ../../sys/TInterface.cc -o
../../sys/TInterface.o
cc1plus: cambiando el orden de búsqueda para el directorio del sistema
"/usr/local/include"
cc1plus: porque ya ha sido especificado cmo un directorio que no es del
sistema
En el fichero incluÃdo de /usr/local/include/g++-v3/backward/list.h:59,
de /work/development/bola/sys/TInterface.h:4,
de ../../sys/TInterface.cc:37:
/usr/local/include/g++-v3/backward/backward_warning.h:32:2: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
Program terminated by SIGKILL
=========================================================================
Here is some information that might be usefull for you to find a solution
for my problem:
>Â Â -Output from running srcdir/config.guess.
>
>Â i686-pc-linux-gnu
>
>Â Â -The output of gcc -v for your newly installed gcc.
>
Leyendo especificaciones de
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configurado con: ../configure
Modelo de hilos: single
gcc versión 3.1
>Â
>
>Â Â - Distribution name and version:
>Â Red Hat Linux release 7.2 (Enigma)
>Â Â - The version of the Linux kernel:
>Â Linux morpheo 2.4.7-10 Thu Sep 17:27:27 EDT 2001 i686 unknown
>
>Â Â - The version of glibc I used:
>Â glibc-2.2.4-13
>
>Â I hope this is enought information to solve the problem. I'm looking
forward
>Â to your response. Thanks a lot,
>
>Â Carlos
>
>
More information about the Gcc
mailing list