From: rhr@clio.rice.edu (Rush Record 713-864-1574)
Subject: cannot build on sparc w/sunos4.1.1
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 2 Sep 1992 17:20:06 GMT

I tried to build epoch on my sparc, running sunos 4.1.1
and using the standard sun C compiler. I used the config.h-dist
files in both src and ascii directories, since they appeared to
already be configured for my environment. The build failed as
shown below.

I have never built emacs; note the complaint about missing lisp
libraries. Is this the peculiarity that caused the hangup?

====================================================================
cd etc; make  all
cc -o test-distrib test-distrib.c
./test-distrib
cc -o etags -g -DETAGS etags.c 
cc -o ctags -g -DCTAGS etags.c 
cc -o wakeup -g wakeup.c 
cc -o make-docfile -g make-docfile.c 
cc -o digest-doc -g digest-doc.c 
cc -o sorted-doc -g sorted-doc.c 
cc -o movemail -g movemail.c 
cc -o cvtmail -g cvtmail.c 
cc -o fakemail -g fakemail.c 
cc -o yow -g yow.c 
cc -o env -DEMACS -g env.c 
cc -o server -g server.c 
cc -o emacsclient -g emacsclient.c 
cd src; make  all
rm -f xmakefile junk.c
cp ymakefile junk.c
cc -E junk.c | sed -e 's/^#.*//' -e 's/^[ 	][ 	]*$//' -e 's/^ /	/' | \
sed -n -e '/^..*$/p' > xmakefile
rm -f junk.c
make  -f xmakefile  all
cc -c -g -Demacs   -I/usr/openwin/include  crt0.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  window.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  term.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  x11term.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  x11fns.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  xevent.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  screen.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  xdefault.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  xresource.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  property.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  selection.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  xutil.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  mouse.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  button.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  xdispepoch.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  dispepoch.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  emacs.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  keyboard.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  macros.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  keymap.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  sysdep.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  buffer.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  filelock.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  insdel.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  marker.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  minibuf.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  fileio.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  dired.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  filemode.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  cmds.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  casefiddle.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  indent.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  search.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  regex.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  undo.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  alloc.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  data.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  doc.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  editfns.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  callint.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  eval.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  fns.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  print.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  lread.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  abbrev.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  syntax.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  unexec.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  mocklisp.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  bytecode.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  process.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  callproc.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  doprnt.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  lastfile.c
cc -g -Demacs   -I/usr/openwin/include  -target sun4 -c  malloc.c
ld  -e __start -Bstatic -L/usr/openwin/lib -o temacs crt0.o window.o  term.o x11term.o x11fns.o xevent.o screen.o xdefault.o xresource.o property.o selection.o xutil.o mouse.o button.o xdispepoch.o dispepoch.o  emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o fns.o print.o lread.o  abbrev.o syntax.o unexec.o mocklisp.o bytecode.o 
 
process.o callproc.o   doprnt.o lastfile.o malloc.o   -lX11   -lg  -lc
rm -f ../etc/DOC
../etc/make-docfile window.o  term.o x11term.o x11fns.o xevent.o screen.o xdefault.o xresource.o property.o selection.o xutil.o mouse.o button.o xdispepoch.o dispepoch.o  emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o fns.o print.o lread.o  abbrev.o syntax.o unexec.o mocklisp.o bytecode.o  process.o callproc.o   doprnt.o ../lis
p/
simple.elc ../lisp/help.elc  ../epoch-lisp/files.elc ../lisp/window.elc  ../lisp/indent.elc ../epoch-lisp/loaddefs.el ../lisp/paths.el  ../epoch-lisp/startup.elc ../lisp/lisp.elc  ../lisp/page.elc ../lisp/register.elc  ../lisp/paragraphs.elc ../lisp/lisp-mode.elc  ../lisp/text-mode.elc ../lisp/fill.elc  ../lisp/c-mode.elc ../lisp/isearch.elc  ../lisp/replace.elc ../lisp/abbrev.elc  ../lisp/buff-menu.elc ../lisp/subr.elc  ../epoch-lisp/mini-cl.elc ../epoch-lisp/event.elc  ../epoch-lisp/wrapper.elc ../epoch-
l
isp/mouse.elc  ../epoch-lisp/epoch-util.elc ../epoch-lisp/epoch.elc  ../epoch-lisp/motion.elc ../epoch-lisp/property.elc  ../epoch-lisp/message.elc ../epoch-lisp/zone.elc  ../epoch-lisp/selection.elc ../epoch-lisp/version.el > ../etc/DOC
./temacs -batch -l ../epoch-lisp/inc-vers
Warning: lisp library (/usr/local/lib/epoch/epoch-lisp) does not exist.
Warning: lisp library (/usr/local/lib/epoch/lisp) does not exist.
Warning: executable/documentation dir (/usr/local/lib/epoch/etc/) does not exist.
Loading ../epoch-lisp/inc-vers...
New Epoch version will be 4.2.3
./temacs -batch -l ../epoch-lisp/loadup.el dump
Warning: lisp library (/usr/local/lib/epoch/epoch-lisp) does not exist.
Warning: lisp library (/usr/local/lib/epoch/lisp) does not exist.
Warning: executable/documentation dir (/usr/local/lib/epoch/etc/) does not exist.
Loading ../epoch-lisp/loadup.el...
Loading subr...
Loading loaddefs.el...
Loading simple...
Loading help...
Loading files...
Loading indent...
Loading window...
Loading paths.el...
Loading startup...
Loading lisp...
Loading page...
Loading register...
Loading paragraphs...
Loading lisp-mode...
Loading text-mode...
Loading fill...
Loading c-mode...
Loading isearch...
Loading replace...
Loading abbrev...
Loading buff-menu...
Loading mini-cl...
Loading wrapper...
Loading epoch-util...
Loading epoch...
Loading event...
Loading zone...
Loading property...
Loading selection...
Loading mouse...
Loading motion...
Loading message...
Loading version.el...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names epoch and epoch-4.2.3
cd ascii ; make  all
rm -f xmakefile junk.c
cp ymakefile junk.c
cc -E junk.c | sed -e 's/^#.*//' -e 's/^[ 	][ 	]*$//' -e 's/^ /	/' | \
sed -n -e '/^..*$/p' > xmakefile
rm -f junk.c
make  -f xmakefile  all
/bin/sh -c 'test -f emacssignal.h || ln -s ../src/emacssignal.h .'
/bin/sh -c 'test -f gettime.h || ln -s ../src/gettime.h .'
/bin/sh -c 'test -f crt0.c || ln -s ../src/crt0.c .'
/bin/sh -c 'test -f pre-crt0.c || ln -s ../src/pre-crt0.c .'
/bin/sh -c 'test -f abbrev.c || ln -s ../src/abbrev.c .'
/bin/sh -c 'test -f callint.c || ln -s ../src/callint.c .'
/bin/sh -c 'test -f callproc.c || ln -s ../src/callproc.c .'
/bin/sh -c 'test -f dired.c || ln -s ../src/dired.c .'
/bin/sh -c 'test -f doc.c || ln -s ../src/doc.c .'
/bin/sh -c 'test -f doprnt.c || ln -s ../src/doprnt.c .'
/bin/sh -c 'test -f filelock.c || ln -s ../src/filelock.c .'
/bin/sh -c 'test -f filemode.c || ln -s ../src/filemode.c .'
/bin/sh -c 'test -f keymap.c || ln -s ../src/keymap.c .'
/bin/sh -c 'test -f lastfile.c || ln -s ../src/lastfile.c .'
/bin/sh -c 'test -f macros.c || ln -s ../src/macros.c .'
/bin/sh -c 'test -f marker.c || ln -s ../src/marker.c .'
/bin/sh -c 'test -f mocklisp.c || ln -s ../src/mocklisp.c .'
/bin/sh -c 'test -f regex.c || ln -s ../src/regex.c .'
/bin/sh -c 'test -f search.c || ln -s ../src/search.c .'
/bin/sh -c 'test -f syntax.c || ln -s ../src/syntax.c .'
/bin/sh -c 'test -f sunfns.c || ln -s ../src/sunfns.c .'
/bin/sh -c 'test -f bytecode.c || ln -s ../src/bytecode.c .'
/bin/sh -c 'test -f data.c || ln -s ../src/data.c .'
/bin/sh -c 'test -f macros.h || ln -s ../src/macros.h .'
/bin/sh -c 'test -f dir.h || ln -s ../src/dir.h .'
/bin/sh -c 'test -f getpagesize.h || ln -s ../src/getpagesize.h .'
/bin/sh -c 'test -f ndir.h || ln -s ../src/ndir.h .'
/bin/sh -c 'test -f regex.h || ln -s ../src/regex.h .'
/bin/sh -c 'test -f syntax.h || ln -s ../src/syntax.h .'
/bin/sh -c 'test -f acldef.h || ln -s ../src/acldef.h .'
/bin/sh -c 'test -f chpdef.h || ln -s ../src/chpdef.h .'
/bin/sh -c 'test -f termopts.h || ln -s ../src/termopts.h .'
/bin/sh -c 'test -f unexapollo.c || ln -s ../src/unexapollo.c .'
/bin/sh -c 'test -f unextitan.c || ln -s ../src/unextitan.c .'
/bin/sh -c 'test -f unexaix.c || ln -s ../src/unexaix.c .'
/bin/sh -c 'test -f unexconvex.c || ln -s ../src/unexconvex.c .'
/bin/sh -c 'test -f unexec.c || ln -s ../src/unexec.c .'
/bin/sh -c 'test -f unexelf.c || ln -s ../src/unexelf.c .'
/bin/sh -c 'test -f unexenix.c || ln -s ../src/unexenix.c .'
/bin/sh -c 'test -f unexhp9k800.c || ln -s ../src/unexhp9k800.c .'
/bin/sh -c 'test -f unexmips.c || ln -s ../src/unexmips.c .'
/bin/sh -c 'test -f unexshm.c || ln -s ../src/unexshm.c .'
/bin/sh -c 'test -f unexNeXT.c || ln -s ../src/unexNeXT.c .'
/bin/sh -c 'test -f unexfx2800.c || ln -s ../src/unexfx2800.c .'
cc -c -g -Demacs   crt0.c
as: "/tmp/ccom.05679.1.s", line 221: error: redefinition of symbol "__start"
*** Error code 1
make: Fatal error: Command failed for target `crt0.o'
Current working directory /a/gnu/epoch-4.2/ascii
*** Error code 1
make: Fatal error: Command failed for target `doall'
Current working directory /a/gnu/epoch-4.2/ascii
*** Error code 1
make: Fatal error: Command failed for target `ascii-emacs'