This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems with building gcc2.95.3 on Solaris 2.6


Hello

I let me to write again, I don't known if my previously sent
mail has been arrived.

I will compile gcc 2.95.3 on Solaris 2.6 (Sparc) using previously
installed gcc 2.95.2 (directly binaria). After command make bootstrap
(-enable-thread=solaris) I have achieved error, which as visible
occures includes (stat.h)?

Neverless I don't known Solaris (I'm physycian) so well to
solve this problem myself. I will ask you help me at them
I'm waiting for your letter and hope, that this problem (as others)
is possible to solve

-----

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]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]