From: hofmann@cs.uiuc.edu (J. Scott Hofmann)
Subject: I can't make gdb 4.6 on my Sparc IPC/SunOS 4.1.2
Reply-To: hofmann@cs.uiuc.edu (J. Scott Hofmann)
Organization: Delta group, Dept. of Comp. Sci., University of Illinois at U-C
Distribution: gnu
Date: Wed, 19 Aug 1992 21:38:40 GMT

   Here is the transcript of my trying to make gdb 4.6:

birch> zcat gdb-4.6.tar.Z | tar xf -
birch> cd gdb-4.6
birch> ls
Makefile.in      config.sub*      glob/            readline/
README           configure*       include/         texinfo/
bfd/             configure.in     libiberty/
cfg-paper.texi   configure.man    mmalloc/
config/          gdb/             move-if-change*
birch> ./configure sun4os4
Created "Makefile" in /home/kaplan/hofmann/gdb-4.6
birch> make
echo "# !Automatically generated from ./functions.def"\
  "- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
 | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf \"#ifndef NEED_\1\\n#defin
e NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
 | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf \"#ifndef NEED_\1\\n#def
ine NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
cc -c -g -I. -I./../include  ./dummy.c
(cc  dummy.o  ) >errors 2>&1 || true
rm -f a.out dummy.o
echo "/* !Automatically generated from ./functions.def"\
  "- DO NOT EDIT! */" >config.h
awk -f needed2.awk <errors >>config.h
cc -c -g -I. -I./../include  basename.c
cc -c -g -I. -I./../include  getopt.c
cc -c -g -I. -I./../include  getopt1.c
cc -c -g -I. -I./../include  obstack.c
cc -c -g -I. -I./../include  spaces.c
cc -c -g -I. -I./../include  concat.c
cc -c -g -I. -I./../include  fdmatch.c
cc -c -g -I. -I./../include  argv.c
cc -c -g -I. -I./../include  strerror.c
cc -c -g -I. -I./../include  strsignal.c
echo "# !Automatically generated from ./functions.def"\
  "- DO NOT EDIT!" >needed.awk
grep '^DEF(' < ./functions.def \
    | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { printf \"\1\.o " }|' \
    >>needed.awk
awk -f needed.awk <errors >needed-list
echo  >>needed-list
cc -c -g -I. -I./../include  memmove.c
cc -c -g -I. -I./../include  strtoul.c
cc -c -g -I. -I./../include  alloca.c
rm -rf libiberty.a
ar qc libiberty.a \
  basename.o getopt.o getopt1.o obstack.o spaces.o concat.o fdmatch.o argv.o str
error.o strsignal.o memmove.o strtoul.o alloca.o
ranlib libiberty.a
cc -c -g -I. -I./../include -DHAVE_MMAP mcalloc.c
cc -c -g -I. -I./../include -DHAVE_MMAP mfree.c
cc -c -g -I. -I./../include -DHAVE_MMAP mmalloc.c
cc -c -g -I. -I./../include -DHAVE_MMAP mmcheck.c
cc -c -g -I. -I./../include -DHAVE_MMAP mmemalign.c
cc -c -g -I. -I./../include -DHAVE_MMAP mmstats.c
cc -c -g -I. -I./../include -DHAVE_MMAP mmtrace.c
cc -c -g -I. -I./../include -DHAVE_MMAP mrealloc.c
cc -c -g -I. -I./../include -DHAVE_MMAP mvalloc.c
cc -c -g -I. -I./../include -DHAVE_MMAP mmap-sup.c
cc -c -g -I. -I./../include -DHAVE_MMAP attach.c
cc -c -g -I. -I./../include -DHAVE_MMAP detach.c
cc -c -g -I. -I./../include -DHAVE_MMAP keys.c
cc -c -g -I. -I./../include -DHAVE_MMAP sbrk-sup.c
rm -rf libmmalloc.a
ar qc libmmalloc.a mcalloc.o mfree.o mmalloc.o mmcheck.o mmemalign.o mmstats.o m
mtrace.o mrealloc.o mvalloc.o mmap-sup.o attach.o detach.o keys.o sbrk-sup.o
ranlib libmmalloc.a
cc -c -g   -I. -I. -I./../include  libbfd.c
cc -c -g   -I. -I. -I./../include  opncls.c
cc -c -g   -I. -I. -I./../include  bfd.c
cc -c -g   -I. -I. -I./../include  archive.c
cc -g -c   -I. -I. -I./../include  -DMINIMIZE=0 -DDEFAULT_VECTOR=sunos_big_vec t
argets.c
cc -c -g   -I. -I. -I./../include  cache.c
cc -c -g   -I. -I. -I./../include  archures.c
cc -c -g   -I. -I. -I./../include  core.c
cc -c -g   -I. -I. -I./../include  section.c
cc -c -g   -I. -I. -I./../include  format.c
cc -c -g   -I. -I. -I./../include  syms.c
cc -c -g   -I. -I. -I./../include  reloc.c
cc -c -g   -I. -I. -I./../include  init.c
cc -c -g   -I. -I. -I./../include  ctor.c
cc -c -g   -I. -I. -I./../include  seclet.c
cc -c -g   -I. -I. -I./../include  oasys.c
cc -c -g   -I. -I. -I./../include  ieee.c
cc -c -g   -I. -I. -I./../include  srec.c
cc -c -g   -I. -I. -I./../include  elf.c
cc -c -g   -I. -I. -I./../include  stab-syms.c
cc -c -g   -I. -I. -I./../include  aout64.c
cc -c -g   -I. -I. -I./../include  aout32.c
cc -c -g   -I. -I. -I./../include  demo64.c
cc -c -g   -I. -I. -I./../include  sunos.c
cc -c -g   -I. -I. -I./../include  newsos3.c
cc -c -g   -I. -I. -I./../include  i386aout.c
cc -c -g   -I. -I. -I./../include  bout.c
cc -c -g   -I. -I. -I./../include  coff-i960.c
cc -c -g   -I. -I. -I./../include  coff-a29k.c
cc -c -g   -I. -I. -I./../include  coff-m68k.c
cc -c -g   -I. -I. -I./../include  coff-i386.c
cc -c -g   -I. -I. -I./../include  coff-m88k.c
cc -c -g   -I. -I. -I./../include  coff-mips.c
cc -c -g   -I. -I. -I./../include  coff-rs6000.c
cc -c -g   -I. -I. -I./../include  coff-h8300.c
cc -c -g   -I. -I. -I./../include  coff-msym.c
cc -c -g   -I. -I. -I./../include  hppa.c
cc -c -g   -I. -I. -I./../include  i386linux.c
cc -c -g   -I. -I. -I./../include  cpu-h8300.c
cc -c -g   -I. -I. -I./../include  cpu-i960.c
cc -c -g   -I. -I. -I./../include  cpu-sparc.c
cc -c -g   -I. -I. -I./../include  cpu-m68k.c
cc -c -g   -I. -I. -I./../include  cpu-m88k.c
cc -c -g   -I. -I. -I./../include  cpu-vax.c
cc -c -g   -I. -I. -I./../include  cpu-mips.c
cc -c -g   -I. -I. -I./../include  cpu-a29k.c
cc -c -g   -I. -I. -I./../include  cpu-i386.c
cc -c -g   -I. -I. -I./../include  cpu-rs6000.c
cc -c -g   -I. -I. -I./../include  cpu-hppa.c
rm -f libbfd.a
ar qc libbfd.a libbfd.o opncls.o bfd.o archive.o targets.o cache.o archures.o co
re.o section.o format.o syms.o reloc.o init.o ctor.o seclet.o oasys.o ieee.o sre
c.o elf.o stab-syms.o aout64.o aout32.o demo64.o sunos.o newsos3.o i386aout.o bo
ut.o coff-i960.o coff-a29k.o coff-m68k.o coff-i386.o coff-m88k.o coff-mips.o cof
f-rs6000.o coff-h8300.o coff-msym.o hppa.o i386linux.o cpu-h8300.o cpu-i960.o cp
u-sparc.o cpu-m68k.o cpu-m88k.o cpu-vax.o cpu-mips.o cpu-a29k.o cpu-i386.o cpu-r
s6000.o cpu-hppa.o
ranlib libbfd.a
make[3]: *** No way to make target `config/sparc-aout.mt'.  Stop.
make[2]: *** [subdir_do] Error 1
make[1]: *** [all] Error 1
make: *** [all-bfd] Error 1
birch>

   I know next to nothing about what is going in during this make. Can some
kind soul please tell me what is going wrong? thanx in advance,

                                                    scott

-- 
-------------------------------------------------------------------------------
J. Scott Hofmann                        | "When asked what he thought about
hofmann@cs.uiuc.edu (NeXTmail accepted) |  Roe vs. Wade, Quayle replied, 'I'd
Epoch development team, UIUC            |  rather float'." -Robin Williams

Newsgroups: gnu.gdb.bug