./bit sparc-elf failed
efren serra
efren.serra at Sun.COM
Sun May 21 21:02:23 UTC 2000
Folks,
While trying to build the cross-compiler tools I got the following:
-----------------------------------------------------------------------------------------
gcc -c -DCROSS_COMPILE -DIN_GCC -DHAIFA -DSVR4 -O2 -g
-DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/gcc
-I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include \
-DGCC_INCLUDE_DIR=\"/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself/lib/gcc-lib/sparc-rtemself/2.95.2/include\"
\
-DGPLUSPLUS_INCLUDE_DIR=\"/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself/lib/gcc-lib/sparc-rtemself/2.95.2/../../../..`echo
/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself
| sed -e
's|^/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself||'
-e 's|/[^/]*|/..|g'`/include/g++-3\" \
-DCROSS_INCLUDE_DIR=\"/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself/lib/gcc-lib/sparc-rtemself/2.95.2/../../../../sparc-rtemself/sys-include\"
\
-DTOOL_INCLUDE_DIR=\"/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself/lib/gcc-lib/sparc-rtemself/2.95.2/../../../../sparc-rtemself/include\"
\
-DLOCAL_INCLUDE_DIR=\"/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself/include\"
\
-DSTD_PROTO_DIR=\"/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself/lib/gcc-lib/sparc-rtemself/2.95.2\"
\
../../gcc-2.95.2/gcc/protoize.c
In file included from ../../gcc-2.95.2/gcc/system.h:428,
from ../../gcc-2.95.2/gcc/protoize.c:60:
/net/suntools/export/tools/external/gnu/sparc/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/stat.h:164:
parse error before `timestruc_t'
/net/suntools/export/tools/external/gnu/sparc/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/stat.h:164:
warning: no semicolon at end of struct or union
/net/suntools/export/tools/external/gnu/sparc/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/stat.h:165:
warning: data definition has no type or storage class
/net/suntools/export/tools/external/gnu/sparc/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/stat.h:166:
parse error before `st_ctim'
/net/suntools/export/tools/external/gnu/sparc/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/stat.h:166:
warning: data definition has no type or storage class
/net/suntools/export/tools/external/gnu/sparc/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/stat.h:171:
parse error before `}'
../../gcc-2.95.2/gcc/protoize.c: In function `find_file':
../../gcc-2.95.2/gcc/protoize.c:1463: storage size of `stat_buf' isn't
known
../../gcc-2.95.2/gcc/protoize.c: In function `process_aux_info_file':
../../gcc-2.95.2/gcc/protoize.c:2208: storage size of `stat_buf' isn't
known
../../gcc-2.95.2/gcc/protoize.c: In function `edit_file':
../../gcc-2.95.2/gcc/protoize.c:4116: storage size of `stat_buf' isn't
known
gmake[1]: *** [protoize.o] Error 1
gmake: *** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)
Started: Sat May 20 16:04:30 PDT 2000
Finished: Sat May 20 17:17:38 PDT 2000
Directory size information:
19458 build-sparc-elf-tools
29712
/home/es106239/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/sparc-rtemself
The build-sparc-elf-tools subdirectory has NOT been removed.
samana$
-----------------------------------------------------------------------------------------
How can I fix it? Thanks.
-efren-
More information about the users
mailing list