This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC 4.3.0 compilation error
- From: "Wirawan Purwanto" <wirawan0 at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Cc: "Wirawan Purwanto" <wxpurw at wm dot edu>
- Date: Sat, 29 Mar 2008 22:52:28 -0400
- Subject: GCC 4.3.0 compilation error
I tried to compile GCC 4.3.0 on a Red Hat Linux 9.0 box, it stopped at stage 1:
$ gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc-4.3.0/gcc -I../../gcc-4.3.0/gcc/.
-I../../gcc-4.3.0/gcc/../include
-I../../gcc-4.3.0/gcc/../libcpp/include -I/usr/local/gmp-4.2.2/include
-I/usr/local/mpfr-2.3.1/include -I../../gcc-4.3.0/gcc/../libdecnumber
-I../../gcc-4.3.0/gcc/../libdecnumber/bid -I../libdecnumber -I. -I.
-I../../gcc-4.3.0/gcc -I../../gcc-4.3.0/gcc/.
-I../../gcc-4.3.0/gcc/../include
-I../../gcc-4.3.0/gcc/../libcpp/include -I/usr/local/gmp-4.2.2/include
-I/usr/local/mpfr-2.3.1/include -I../../gcc-4.3.0/gcc/../libdecnumber
-I../../gcc-4.3.0/gcc/../libdecnumber/bid -I../libdecnumber \
../../gcc-4.3.0/gcc/config/host-linux.c
../../gcc-4.3.0/gcc/config/host-linux.c: In function `linux_gt_pch_use_address':
../../gcc-4.3.0/gcc/config/host-linux.c:207: `SSIZE_MAX' undeclared
(first use in this function)
../../gcc-4.3.0/gcc/config/host-linux.c:207: (Each undeclared
identifier is reported only once
../../gcc-4.3.0/gcc/config/host-linux.c:207: for each function it appears in.)
make[3]: *** [host-linux.o] Error 1
make[3]: Leaving directory `/home/wirawan/tmp/gcc-4.3.0-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/wirawan/tmp/gcc-4.3.0-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/wirawan/tmp/gcc-4.3.0-build'
make: *** [all] Error 2
Mind you, RH 9 is an old OS---archaic by now. The `uname -a' command yields:
[wirawan@strange wirawan]$ uname -a
Linux strange.physics.wm.edu 2.4.20-20.9smp #1 SMP Mon Aug 18 11:32:15
EDT 2003 i686 i686 i386 GNU/Linux
Anyone has idea on this error? I tried to use google, it did not yield
anything useful at this point.
--
Wirawan Purwanto
College of William and Mary
Physics Department
Williamsburg, VA 23187