🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188992

Installing Emacs

#188992
From: Mark-Rene Uchida
Date: Thu, 16 May 1991 14:37
131 lines
6148 bytes
I have a problem installing gnu-emacs-18.57 on a SUN-3 running SunOS-4.0.3.
I compiled with gcc and used gcc-ld as the linker, however the problem also
arises using Sun's cc and ld. Output from the make-command follows.
Thanks in advance for any help.
                                                           Robert Fritz

---------------------------------------------------------------------------
circe# make CC='gcc -traditional'
cd etc; make  all
cd src; make  all
make    -f xmakefile  all
gcc -traditional -c -g -Demacs     crt0.c
gcc -traditional -g -Demacs     -sun3 -c  dispnew.c
gcc -traditional -g -Demacs     -sun3 -c  scroll.c
gcc -traditional -g -Demacs     -sun3 -c  xdisp.c
gcc -traditional -g -Demacs     -sun3 -c  window.c
gcc -traditional -g -Demacs     -sun3 -c  term.c
gcc -traditional -g -Demacs     -sun3 -c  cm.c
gcc -traditional -g -Demacs     -sun3 -c  emacs.c
gcc -traditional -g -Demacs     -sun3 -c  keyboard.c
gcc -traditional -g -Demacs     -sun3 -c  macros.c
gcc -traditional -g -Demacs     -sun3 -c  keymap.c
gcc -traditional -g -Demacs     -sun3 -c  sysdep.c
gcc -traditional -g -Demacs     -sun3 -c  buffer.c
gcc -traditional -g -Demacs     -sun3 -c  filelock.c
gcc -traditional -g -Demacs     -sun3 -c  insdel.c
gcc -traditional -g -Demacs     -sun3 -c  marker.c
gcc -traditional -g -Demacs     -sun3 -c  minibuf.c
gcc -traditional -g -Demacs     -sun3 -c  fileio.c
gcc -traditional -g -Demacs     -sun3 -c  dired.c
gcc -traditional -g -Demacs     -sun3 -c  filemode.c
gcc -traditional -g -Demacs     -sun3 -c  cmds.c
gcc -traditional -g -Demacs     -sun3 -c  casefiddle.c
gcc -traditional -g -Demacs     -sun3 -c  indent.c
gcc -traditional -g -Demacs     -sun3 -c  search.c
gcc -traditional -g -Demacs     -sun3 -c  regex.c
gcc -traditional -g -Demacs     -sun3 -c  undo.c
gcc -traditional -g -Demacs     -sun3 -c  alloc.c
gcc -traditional -g -Demacs     -sun3 -c  data.c
gcc -traditional -g -Demacs     -sun3 -c  doc.c
gcc -traditional -g -Demacs     -sun3 -c  editfns.c
gcc -traditional -g -Demacs     -sun3 -c  callint.c
gcc -traditional -g -Demacs     -sun3 -c  eval.c
gcc -traditional -g -Demacs     -sun3 -c  fns.c
gcc -traditional -g -Demacs     -sun3 -c  print.c
gcc -traditional -g -Demacs     -sun3 -c  lread.c
gcc -traditional -g -Demacs     -sun3 -c  abbrev.c
gcc -traditional -g -Demacs     -sun3 -c  syntax.c
gcc -traditional -g -Demacs     -sun3 -c  unexec.c
gcc -traditional -g -Demacs     -sun3 -c  mocklisp.c
gcc -traditional -g -Demacs     -sun3 -c  bytecode.c
gcc -traditional -g -Demacs     -sun3 -c  process.c
gcc -traditional -g -Demacs     -sun3 -c  callproc.c
gcc -traditional -g -Demacs     -sun3 -c  doprnt.c
gcc -traditional -g -Demacs     -sun3 -c  tparam.c
gcc -traditional -g -Demacs     -sun3 -c  lastfile.c
cp alloca.s allocatem.c
gcc -traditional -E allocatem.c | 	sed -e 's///' -e 's/^#.*//' | 	sed -n -e '/^..*$/p' > allocatem.s
rm -f alloca.o
cc -c allocatem.s
mv allocatem.o alloca.o
rm allocatem.s allocatem.c
gcc -traditional -g -Demacs     -sun3 -c  sunfns.c
sunfns.c:75: parse error before `#'
sunfns.c:75: parse error before `#'
sunfns.c:83: parse error before `#'
sunfns.c:83: parse error before `#'
*** Error code 1
make: Fatal error: Command failed for target `sunfns.o'
Current working directory /usr/local/emacs-18.57/src
*** Error code 1
make: Fatal error: Command failed for target `doall'
Current working directory /usr/local/emacs-18.57/src
*** Error code 1
make: Fatal error: Command failed for target `src'

/* Comment */

I got around this error by compiling sunfns.c without the traditional flag.
I don't believe that this causes the next error.
Then i started make again.

/* end */

circe# cd /usr/local/emacs-18.57/src
/usr/local/emacs-18.57/src
circe# gcc -c -g -sun3 -Demacs sunfns.c
sunfns.c: In function make_menu_label:
sunfns.c:394: warning: ordered comparison of pointer with integer zero
circe# cd .. 
/usr/local/emacs-18.57
circe# make CC='gcc -traditional'
cd etc; make  all
cd src; make  all
make    -f xmakefile  all
/usr/local/lib/gcc-ld  -e __start -Bstatic  -o temacs crt0.o dispnew.o scroll.o xdisp.o window.o 	term.o cm.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 tparam.o lastfile.o alloca.o  sunfns.o -ltermcap   -lsuntool -lsun





window -lpixrect -lg -lc `if [ -f /usr/local/lib/gcc-gnulib ] ; then echo /usr/local/lib/gcc-gnulib; else echo; fi`
_divdf3.o: Undefined symbol Fdivd referenced from text segment
_muldf3.o: Undefined symbol Fmuld referenced from text segment
_fixdfsi.o: Undefined symbol Fintd referenced from text segment
_floatsidf.o: Undefined symbol Ffltd referenced from text segment
*** Error code 1
make: Fatal error: Command failed for target `temacs'
Current working directory /usr/local/emacs-18.57/src
*** Error code 1
make: Fatal error: Command failed for target `doall'
Current working directory /usr/local/emacs-18.57/src
*** Error code 1
make: Fatal error: Command failed for target `src'
circe# 

/* Comment */

At this point I have no idea what to do !
Anyone can give me an advice.




Robert Fritz
Dept. of Mathematics and Computer Science
University of Vienna

Internet: robert@circe.smc.univie.ac.at
Bitnet:   a4421dab@awiuni11.bitnet
Technical Details
Message-ID: <1991May16.143750.19324@lezvax.oeaw.ac.at>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!email!swdsrv.edvz.univie.ac.at!lezvax.oeaw.ac.at!uchida

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,e95358f367e698cc,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-16 14:40:11 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!email!swdsrv.edvz.univie.ac.at!lezvax.oeaw.ac.at!uchida
From: uchida@lezvax.oeaw.ac.at (Mark-Rene Uchida)
Newsgroups: gnu.emacs.help
Subject: Installing Emacs
Keywords: build install make
Message-ID: <1991May16.143750.19324@lezvax.oeaw.ac.at>
Date: 16 May 91 14:37:50 GMT
Organization: Academy of Sciences
Lines: 129