This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
problem with 3.2 at 20020528 on solaris 2.8
- From: George dot R dot Goffe at seagate dot com
- To: gcc at gcc dot gnu dot org
- Date: Tue, 28 May 2002 11:04:07 -0700
- Subject: problem with 3.2 at 20020528 on solaris 2.8
Howdy,
I'm trying to build the "latest" gcc-3.2 on my solaris 2.8 system and am
having the following problem. Does anyone know what the problem is and how
to solve it? I'm using gcc-3.0.4.
Regards and thanks for the help.
George...
gcc -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -o cc1obj objc-lang.o objc-parse.o objc-act.o attribs.o
c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
c-common.o c-format.o c-semantics.o c-objc-common.o libcpp.a main.o
libbackend.a -lintl -L/usr/lsd/SunOS.5.8/lib -liconv
../libiberty/libiberty.a
/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/xgcc
-B/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/
-B/usr/lsd/SunOS.5.8/sparc64-sun-solaris2.8/bin/
-B/usr/lsd/SunOS.5.8/sparc64-sun-solaris2.8/lib/ -isystem
/usr/lsd/SunOS.5.8/sparc64-sun-solaris2.8/include -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include
-g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fPIC \
-c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from tconfig.h:16,
from ../../gcc/crtstuff.c:61:
../../gcc/config/sparc/sparc.h:190: parse error before "value"
In file included from /usr/include/iso/stdio_iso.h:35,
from
/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/include/stdio.h:36,
from ../../gcc/tsystem.h:64,
from ../../gcc/crtstuff.c:62:
/usr/include/sys/feature_tests.h:99:2: #error "invalid _FILE_OFFSET_BITS
value specified"
In file included from
/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/include/stdio.h:36,
from ../../gcc/tsystem.h:64,
from ../../gcc/crtstuff.c:62:
/usr/include/iso/stdio_iso.h:83: conflicting types for `size_t'
/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/include/stddef.h:201:
previous declaration of `size_t'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory
`/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc'
make: *** [all-gcc] Error 2