[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile problems on SCO Unix
I have been struggling to get AKCL to compile under SCO Unix for some
time now. Can anyone help?
Senario is as follows
AKCL 1.615
SCO Unix 3.2
80486
I made the following changes to get this far.
o Changed mygcc to gcc in mp/makefile
o Turned off optimisations
o changed (with-open-file (st "/u/babraham/akcl/h/cmpinclude.h") in
akcl/unixport/init_kcl.lsp. Is was "../h/cmpinclude".
I did "add-defs mp386"
What follows is the output from "make -f Smakefile"
;;; ============= Make output follows ====================
xbin/if-exists xbin/mp386-fixes "sh xbin/mp386-fixes"
xbin/relink-files /u/babraham/kcl
make -f Smakefile merge
`merge' is up to date.
make -f Smakefile sources
make -f Vmakefile
rm -f c/num_include.h c/include.h
make -f Smakefile cmpinclude
for v in c lsp o cmpnew unixport; do \
rm -f $v/cmpinclude.h ; \
ln h/cmpinclude.h $v/cmpinclude.h ; \
done
make -f makefile all "CC=gcc -fwritable-strings -msoft-float -DVOL=volatile -I/u/babraham/akcl/o " "SU="
make sources
make -f Smakefile sources
make -f Vmakefile
rm -f c/num_include.h c/include.h
make command
(cd unixport; rm -f ../xbin/akcl ; echo "#!/bin/sh" > ../xbin/akcl; \
echo "`pwd`/saved_kcl `pwd`/" >> ../xbin/akcl)
chmod 755 xbin/akcl
rm -f xbin/kcl ; ln xbin/akcl xbin/kcl
(cd bin; make all)
(cd mp ; make all)
make all1 "MPFILES=./mpi-386.o ./libmport.a"
(cd o; make all)
(cd lsp; make all)
(cd cmpnew; make all)
(cd unixport; make saved_kcl)
../xbin/if-exists /usr/u9/wfs/schelter "../xbin/inc-version"
../xbin/if-exists saved_kcl "rm -f saved_kcl"
cat init_kcl.lsp | \
sed -e "s"DATE"Version(`cat ../majvers`.`cat ../minvers`) `date`g" \
-e 'ssaved_kclsaved_kclg' \
-e 'slinks t)links t)(setq compiler::*cc* "gcc -fwritable-strings -msoft-float -DVOL=volatile -I/u/babraham/akcl/o ")(si::build-symbol-table)g' \
-e "sAKCLDIR/u/babraham/akclg" \
-e "s(defun lisp-imp(setq si::*akcl-version* '`cat ../minvers`)(defun lisp-imp'g" | \
./raw_kcl ../unixport/
KCl (Kyoto Common Lisp) June 1987 7000 pages
loading ../lsp/export.lsp
loading ../lsp/defmacro.lsp
Initializing ../lsp/evalmacros.o
Initializing ../lsp/top.o
Initializing ../lsp/module.o
loading ../lsp/autoload.lsp
>#<"COMPILER" package>
COMPILER>#<"SYSTEM" package>
SYSTEM>#<"USER" package>
>#<"LISP" package>
LISP>#<"SLOOP" package>
SLOOP>6
SLOOP>#<"USER" package>
>loading ../lsp/predlib.lsp
loading ../lsp/setf.lsp
loading ../lsp/arraylib.lsp
Initializing ../lsp/assert.o
loading ../lsp/defstruct.lsp
Initializing ../lsp/describe.o
Initializing ../lsp/iolib.o
Initializing ../lsp/listlib.o
Initializing ../lsp/mislib.o
Initializing ../lsp/numlib.o
loading ../lsp/packlib.lsp
Initializing ../lsp/seq.o
Initializing ../lsp/seqlib.o
Initializing ../lsp/trace.o
loading ../lsp/sloop.lsp
loading ../cmpnew/cmpinline.lsp
loading ../cmpnew/cmputil.lsp
loading ../lsp/debug.lsp
loading ../cmpnew/cmptype.lsp
Initializing ../cmpnew/cmpbind.o
loading ../cmpnew/cmpblock.lsp
loading ../cmpnew/cmpcall.lsp
Initializing ../cmpnew/cmpcatch.o
loading ../cmpnew/cmpenv.lsp
Warning: PROCLAIM is being redefined.
Warning: PROCLAMATION is being redefined.loading ../cmpnew/cmpeval.lsp
loading ../cmpnew/cmpflet.lsp
loading ../cmpnew/cmpfun.lsp
Initializing ../cmpnew/cmpif.o
loading ../cmpnew/cmplabel.lsp
loading ../cmpnew/cmplam.lsp
Initializing ../cmpnew/cmplet.o
loading ../cmpnew/cmploc.lsp
Initializing ../cmpnew/cmpmap.o
Initializing ../cmpnew/cmpmulti.o
loading ../cmpnew/cmpspecial.lsp
loading ../cmpnew/cmptag.lsp
loading ../cmpnew/cmptop.lsp
loading ../cmpnew/cmpvar.lsp
loading ../cmpnew/cmpvs.lsp
loading ../cmpnew/cmpwt.lsp
Loading ../cmpnew/fasdmacros.lsp
Finished loading ../cmpnew/fasdmacros.lsp
Building symbol table for ./raw_kcl ..
Loading ../cmpnew/cmpmain.lsp
Warning: COMPILE-FILE is being redefined.
Warning: COMPILE is being redefined.
Warning: DISASSEMBLE is being redefined.
Finished loading ../cmpnew/cmpmain.lsp
Loading ../cmpnew/lfun_list.lsp
Finished loading ../cmpnew/lfun_list.lsp
Loading ../cmpnew/cmpopt.lsp
Finished loading ../cmpnew/cmpopt.lsp
Loading ../lsp/auto.lsp
Finished loading ../lsp/auto.lsp
*** Error code 1
*** Error code 1
*** Error code 1
--
Bobby Abraham
Computer Science
University of Natal, Pietermaritzburg
email: babraham@unpcs1.cs.unp.ac.za