This is the mail archive of the gcc-bugs@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]

Error in building


GCC version: gcc-2.95.2
System type: Sparc Solaris 2.6

I am trying to install gcc. The configuration went without a hitch but when
I tried to build it, it stopped with errors. I have followed the
instructions on the Installation web site and I couldn't find the same
problem in the FAQ so attached is the output from the building process.
Thanks.

 <<error.txt>> 
bash-2.03# make bootstrap-lean
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/argv.c -o pic/argv.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/argv.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/choose-temp.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/concat.c -o pic/concat.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/concat.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/cplus-dem.c -o pic/cplus-dem.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/cplus-dem.c
"../../gcc-2.95.2/libiberty/cplus-dem.c", line 2484: warning: non-constant initializer: op "++"
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/fdmatch.c -o pic/fdmatch.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/fdmatch.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/fnmatch.c -o pic/fnmatch.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/fnmatch.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/getopt.c -o pic/getopt.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/getopt.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/getopt1.c -o pic/getopt1.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/getopt1.c
test x"no" != xyes || \

  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/getruntime.c -o pic/getruntime.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/getruntime.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/hex.c -o pic/hex.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/hex.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/floatformat.c -o pic/floatformat.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/floatformat.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/objalloc.c -o pic/objalloc.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/objalloc.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/obstack.c -o pic/obstack.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/obstack.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/pexecute.c -o pic/pexecute.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/pexecute.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/spaces.c -o pic/spaces.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/spaces.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/splay-tree.c -o pic/splay-tree.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/splay-tree.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/strerror.c -o pic/strerror.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/strerror.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/strsignal.c -o pic/strsignal.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/strsignal.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/xatexit.c -o pic/xatexit.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/xatexit.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/xexit.c -o pic/xexit.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/xexit.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/xmalloc.c -o pic/xmalloc.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/xmalloc.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/xstrdup.c -o pic/xstrdup.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/xstrdup.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/xstrerror.c -o pic/xstrerror.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/xstrerror.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/asprintf.c -o pic/asprintf.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/asprintf.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/mkstemps.c -o pic/mkstemps.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/mkstemps.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/setenv.c -o pic/setenv.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/setenv.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/sigsetmask.c -o pic/sigsetmask.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/sigsetmask.c
test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2/libiberty/vasprintf.c -o pic/vasprintf.o
cc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/libiberty/vasprintf.c
rm -f libiberty.a
ar rc libiberty.a \
  argv.o choose-temp.o concat.o cplus-dem.o  fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o  floatformat.o objalloc.o obstack.o pexecute.o spaces.o  splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o  xstrdup.o xstrerror.o  asprintf.o mkstemps.o setenv.o sigsetmask.o vasprintf.o 
true libiberty.a
rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr  strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf  vfork waitpid bcmp bcopy bzero; do \
  for g in asprintf.o mkstemps.o setenv.o sigsetmask.o vasprintf.o ; do \
    case "$g" in \
      *$f*) echo $g >> needed-list ;; \
    esac; \
  done; \
done
echo argv.o choose-temp.o concat.o cplus-dem.o  fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o  floatformat.o objalloc.o obstack.o pexecute.o spaces.o  splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o  xstrdup.o xstrerror.o > required-list
make all-recursive
Making all in intl
Making all in lib
cc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl  -g -c ../../../gcc-2.95.2/texinfo/lib/getopt.c
cc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl  -g -c ../../../gcc-2.95.2/texinfo/lib/getopt1.c
cc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl  -g -c ../../../gcc-2.95.2/texinfo/lib/xmalloc.c
cc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl  -g -c ../../../gcc-2.95.2/texinfo/lib/xstrdup.c
rm -f libtxi.a
ar cru libtxi.a getopt.o getopt1.o xmalloc.o xstrdup.o 
ranlib libtxi.a
Making all in makeinfo
make: Fatal error: Don't know how to make target `../lib/system.h'
Current working directory /opt/gcc/gcc/texinfo/makeinfo
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/gcc/gcc/texinfo
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory /opt/gcc/gcc/texinfo
*** Error code 1
make: Fatal error: Command failed for target `all-texinfo'

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