This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems with building gcc2.95.3 on Solaris 2.6
- To: Karl Vogel <vogelke at dnaco dot net>
- Subject: Problems with building gcc2.95.3 on Solaris 2.6
- From: Piotr Kasztelowicz <pekasz at am dot torun dot pl>
- Date: Thu, 14 Jun 2001 11:10:10 +0200 (MET DST)
- cc: <gnu at gnu dot org>, <gcc at gcc dot gnu dot org>
Hello
I let me to ask you for help
I will compile gcc 2.95.3 on Solaris 2.95.2 using GNUmake
and gcc 2.95.2.
The error has been followed during compilation:
map.o resource.o hash.o c-parse.o c-lang.o c-lex.o c-pragma.o c-decl.o
c-typeck.
o c-convert.o c-aux-info.o c-common.o c-iterate.o obstack.o alloca.o
../l
ibiberty/libiberty.a
stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-solaris2.6/bin/ -c -DIN_GCC
-DHAIF
A -DSVR4 -O2 -g -DHAVE_CONFIG_H -I. -I. -I./config -I./../include \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/.
./../../..`echo /usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/inclu
de/g++-3\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/../..
/../../sparc-sun-solaris2.6/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/../../
../../sparc-sun-solaris2.6/include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DSTD_PROTO_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3\" \
./protoize.c
In file included from system.h:433,
from ./protoize.c:60:
/usr/include/sys/stat.h:164: parse error before `timestruc_t'
/usr/include/sys/stat.h:164: warning: no semicolon at end of struct or
union
/usr/include/sys/stat.h:165: warning: data definition has no type or
storage cla
ss
/usr/include/sys/stat.h:166: parse error before `st_ctim'
/usr/include/sys/stat.h:166: warning: data definition has no type or
storage cla
ss
/usr/include/sys/stat.h:171: parse error before `}'
./protoize.c: In function `find_file':
./protoize.c:1463: storage size of `stat_buf' isn't known
./protoize.c: In function `process_aux_info_file':
./protoize.c:2208: storage size of `stat_buf' isn't known
./protoize.c: In function `edit_file':
./protoize.c:4116: storage size of `stat_buf' isn't known
*** Error code 1
make: Fatal error: Command failed for target `protoize.o'
Current working directory /export/home/pekasz/src/gcc-2.95.3/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
Current working directory /export/home/pekasz/src/gcc-2.95.3/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
Please help to fix it, if possible
Best Wishes
Piotr
----
Piotr Kasztelowicz <Piotr.Kasztelowicz@am.torun.pl>
[http://www.am.torun.pl/~pekasz]